IAssociationHelper
public class AssociationHelperBranched extends java.lang.Object implements IAssociationHelper
Modifier and Type | Field | Description |
---|---|---|
protected AssociationManager |
associationManager |
|
protected Boundary |
boundary |
|
protected Vector |
dr |
|
protected int |
maxBonds |
|
protected double |
minR2 |
Constructor | Description |
---|---|
AssociationHelperBranched(Space space,
Box box,
AssociationManager associationManager) |
Modifier and Type | Method | Description |
---|---|---|
int |
getMaxBonds() |
|
double |
getMinBondedAtomDistance() |
|
protected boolean |
populate(AtomArrayList smerList,
IAtom atom,
boolean mightBeBroken) |
|
boolean |
populateList(AtomArrayList smerList,
IAtom atom,
boolean mightBeBroken) |
Populates smerList with all atoms in the smer that contains atom.
|
void |
setMaxBonds(int newMaxBonds) |
|
void |
setMinBondedAtomDistance(double newDistance) |
|
protected boolean |
validateBondList(IAtom atom,
IAtomList bondList,
boolean mightBeBroken) |
Returns false if invalid bonding is recognized
|
protected final AssociationManager associationManager
protected int maxBonds
protected final Boundary boundary
protected double minR2
protected final Vector dr
public AssociationHelperBranched(Space space, Box box, AssociationManager associationManager)
public void setMaxBonds(int newMaxBonds)
public int getMaxBonds()
public void setMinBondedAtomDistance(double newDistance)
public double getMinBondedAtomDistance()
public boolean populateList(AtomArrayList smerList, IAtom atom, boolean mightBeBroken)
IAssociationHelper
populateList
in interface IAssociationHelper
protected boolean populate(AtomArrayList smerList, IAtom atom, boolean mightBeBroken)