MoleculeSourcepublic 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()
MoleculeSourcegetMolecule in interface MoleculeSourcepublic void setBox(Box p)
MoleculeSourcesetBox in interface MoleculeSource