CoordinatePairSet
public class CoordinatePairMoleculeSet extends java.lang.Object implements CoordinatePairSet
Modifier and Type | Field | Description |
---|---|---|
protected IMolecule[] |
atoms |
|
protected Vector |
dr |
|
protected long |
ID |
|
protected Vector |
iPosition |
|
protected int |
numAtoms |
|
protected IMoleculePositionDefinition |
positionDefinition |
|
protected double[] |
r2 |
Constructor | Description |
---|---|
CoordinatePairMoleculeSet(IMoleculeList list,
Space space) |
Constructor for CoordinatePairLeafSet.
|
Modifier and Type | Method | Description |
---|---|---|
void |
E(CoordinatePairLeafSet c) |
|
long |
getID() |
|
IMoleculePositionDefinition |
getPositionDefinition() |
|
double |
getr2(int i,
int j) |
Returns atom pair for ith and jth atoms in set.
|
void |
reset(long cPairID) |
Informs the CoordinatePairSet that the configuration has changed and that it
has a new ID
|
void |
setPositionDefinition(IMoleculePositionDefinition positionDefinition) |
protected final double[] r2
protected final IMolecule[] atoms
protected final int numAtoms
protected final Vector dr
protected final Vector iPosition
protected long ID
protected IMoleculePositionDefinition positionDefinition
public CoordinatePairMoleculeSet(IMoleculeList list, Space space)
list
- The list of atoms for which the set of pairs is formed.public IMoleculePositionDefinition getPositionDefinition()
public void setPositionDefinition(IMoleculePositionDefinition positionDefinition)
public double getr2(int i, int j)
getr2
in interface CoordinatePairSet
public void reset(long cPairID)
CoordinatePairSet
reset
in interface CoordinatePairSet
public void E(CoordinatePairLeafSet c)
public long getID()
getID
in interface CoordinatePairSet