MoleculeSource
public class MoleculeSourceRandomDimer extends java.lang.Object implements MoleculeSource
Modifier and Type | Field | Description |
---|---|---|
protected AssociationManagerMolecule |
associationManager |
|
protected IRandom |
random |
Constructor | Description |
---|---|
MoleculeSourceRandomDimer() |
Modifier and Type | Method | Description |
---|---|---|
IMolecule |
getMolecule() |
Returns an atom.
|
IRandom |
getRandomNumberGenerator() |
Returns the random number generator used to pick atoms
|
void |
setAssociationManager(AssociationManagerMolecule associationManager) |
|
void |
setBox(Box p) |
sets the Box the source should pull Atoms from.
|
void |
setRandomNumberGenerator(IRandom newRandom) |
protected IRandom random
protected AssociationManagerMolecule associationManager
public void setRandomNumberGenerator(IRandom newRandom)
public IRandom getRandomNumberGenerator()
public void setAssociationManager(AssociationManagerMolecule associationManager)
public IMolecule getMolecule()
MoleculeSource
getMolecule
in interface MoleculeSource
public void setBox(Box p)
MoleculeSource
setBox
in interface MoleculeSource