IAssociationHelperMolecule
public class AssociationHelperMolecule extends java.lang.Object implements IAssociationHelperMolecule
Modifier and Type | Field | Description |
---|---|---|
protected AssociationManagerMolecule |
associationManager |
|
protected Boundary |
boundary |
|
protected Vector |
dr |
|
protected int |
maxBonds |
|
protected double |
minR2 |
Constructor | Description |
---|---|
AssociationHelperMolecule(Space space,
Box box,
AssociationManagerMolecule associationManager) |
Modifier and Type | Method | Description |
---|---|---|
int |
getMaxBonds() |
|
double |
getMinBondedMoleculeDistance() |
|
protected boolean |
populate(MoleculeArrayList smerList,
IMolecule molecule,
boolean mightBeBroken) |
|
boolean |
populateList(MoleculeArrayList smerList,
IMolecule molecule,
boolean mightBeBroken) |
Populates smerList with all molecules in the smer that contains molecule.
|
void |
setMaxBonds(int newMaxBonds) |
|
void |
setMinBondedMoleculeDistance(double newDistance) |
|
protected boolean |
validateBondList(IMolecule molecule,
IMoleculeList bondList,
boolean mightBeBroken) |
Returns false if invalid bonding is recognized
|
protected final AssociationManagerMolecule associationManager
protected int maxBonds
protected final Boundary boundary
protected double minR2
protected final Vector dr
public AssociationHelperMolecule(Space space, Box box, AssociationManagerMolecule associationManager)
public void setMaxBonds(int newMaxBonds)
public int getMaxBonds()
public void setMinBondedMoleculeDistance(double newDistance)
public double getMinBondedMoleculeDistance()
public boolean populateList(MoleculeArrayList smerList, IMolecule molecule, boolean mightBeBroken)
IAssociationHelperMolecule
populateList
in interface IAssociationHelperMolecule
protected boolean populate(MoleculeArrayList smerList, IMolecule molecule, boolean mightBeBroken)
protected boolean validateBondList(IMolecule molecule, IMoleculeList bondList, boolean mightBeBroken)