public class BoxCluster extends Box
Modifier and Type | Field | Description |
---|---|---|
protected AtomPairSet |
aPairSet |
|
protected long |
cPairID |
|
protected CoordinatePairSet |
cPairSet |
|
protected CoordinatePairSet |
cPairSetTmp |
|
protected CoordinatePairSet |
cPairTrialSet |
|
protected boolean |
isTrial |
|
protected IMoleculePositionDefinition |
positionDefinition |
|
protected ClusterWeight |
sampleCluster |
|
protected Space |
space |
allMoleculeList, leafList, moleculeLists
Constructor | Description |
---|---|
BoxCluster(ClusterWeight cluster,
Space _space) |
Constructor for BoxCluster.
|
BoxCluster(ClusterWeight cluster,
Space _space,
double L) |
Modifier and Type | Method | Description |
---|---|---|
void |
acceptNotify() |
Informs the box that the trial was accepted so it will keep the new
coordinate pairs.
|
AtomPairSet |
getAPairSet() |
|
long |
getCPairID() |
|
CoordinatePairSet |
getCPairSet() |
returns the current coordinate pair set
|
ClusterWeight |
getSampleCluster() |
returns the cluster used for sampling in this box
|
void |
rejectNotify() |
Informs the box that the trial was rejected so it will go back to
the old coordinate pairs.
|
void |
setPositionDefinition(IMoleculePositionDefinition positionDefinition) |
|
void |
trialNotify() |
Inform the box that a trial move has been made so it can update
the coordinate pairs.
|
addMolecule, addNewMolecule, addSpeciesNotify, getBoundary, getEventManager, getIndex, getLeafList, getMoleculeList, getMoleculeList, getNMolecules, getSpace, notifyNewMolecules, removeMolecule, removeSpeciesNotify, setDensity, setIndex, setNMolecules, toString
protected boolean isTrial
protected CoordinatePairSet cPairSet
protected CoordinatePairSet cPairTrialSet
protected CoordinatePairSet cPairSetTmp
protected AtomPairSet aPairSet
protected long cPairID
protected final ClusterWeight sampleCluster
protected final Space space
protected IMoleculePositionDefinition positionDefinition
public BoxCluster(ClusterWeight cluster, Space _space)
public BoxCluster(ClusterWeight cluster, Space _space, double L)
public void setPositionDefinition(IMoleculePositionDefinition positionDefinition)
public CoordinatePairSet getCPairSet()
public long getCPairID()
public AtomPairSet getAPairSet()
public ClusterWeight getSampleCluster()
public void trialNotify()
public void acceptNotify()
public void rejectNotify()