MCMoveStepDependentpublic class MCMoveMoleculeCoupled extends MCMoveBoxStep
| Modifier and Type | Field | Description |
|---|---|---|
protected AtomIteratorArrayListSimple |
affectedMoleculeIterator |
|
protected AtomArrayList |
affectedMoleculeList |
|
protected boolean |
doExcludeNonNeighbors |
|
protected boolean |
doIncludePair |
|
protected MeterPotentialEnergy |
energyMeter |
|
protected Vector |
groupTransVect |
|
protected IMolecule |
molecule0 |
|
protected IMolecule |
molecule1 |
|
protected MoleculeSource |
moleculeSource |
|
protected MoleculeChildAtomAction |
moveMoleculeAction |
|
protected MoleculePair |
pair |
|
protected IPotentialMolecular |
pairPotential |
|
protected IRandom |
random |
|
protected AtomActionTranslateBy |
singleAction |
|
protected double |
uNew |
|
protected double |
uOld |
moveTracker, nominalFrequency, potentialbox, perParticleFrequencystepSize, stepSizeMax, stepSizeMin| Constructor | Description |
|---|---|
MCMoveMoleculeCoupled(PotentialMaster potentialMaster,
IRandom nRandom,
Space _space) |
| Modifier and Type | Method | Description |
|---|---|---|
void |
acceptNotify() |
Method called by IntegratorMC in the event that the most recent trial is
accepted.
|
AtomIterator |
affectedAtoms() |
|
boolean |
doTrial() |
Method to perform trial move.
|
double |
energyChange() |
|
double |
getChi(double temperature) |
Chi is the parameter within standard Metropolis Monte Carlo.
|
boolean |
getDoExcludeNonNeighbors() |
Returns true if the move does not explicitly calculate the potential for
atom pairs that are not neighbors (as determined by the potentialMaster).
|
void |
rejectNotify() |
Method called by IntegratorMC in the event that the most recent trial
move is rejected.
|
void |
setBox(Box newBox) |
Sets the box on which this move acts.
|
void |
setDoExcludeNonNeighbors(boolean newDoExcludeNonNeighbors) |
Configures the move to not explicitly calculate the potential for atom
pairs that are not neighbors (as determined by the potentialMaster).
|
void |
setPotential(IPotentialMolecular newPotential) |
getNominalFrequency, getTracker, setTrackeraffectedAtoms, energyChange, getBox, isNominallyPerParticleFrequency, toStringgetStepSize, getStepSizeDimension, getStepSizeMax, getStepSizeMaxDimension, getStepSizeMin, getStepSizeMinDimension, setStepSize, setStepSizeMax, setStepSizeMinprotected final MoleculeChildAtomAction moveMoleculeAction
protected final Vector groupTransVect
protected IMolecule molecule0
protected IMolecule molecule1
protected final MeterPotentialEnergy energyMeter
protected MoleculeSource moleculeSource
protected double uOld
protected double uNew
protected final IRandom random
protected final AtomIteratorArrayListSimple affectedMoleculeIterator
protected final AtomArrayList affectedMoleculeList
protected final AtomActionTranslateBy singleAction
protected final MoleculePair pair
protected IPotentialMolecular pairPotential
protected boolean doExcludeNonNeighbors
protected boolean doIncludePair
public MCMoveMoleculeCoupled(PotentialMaster potentialMaster, IRandom nRandom, Space _space)
public void setBox(Box newBox)
MCMoveBoxpublic void setPotential(IPotentialMolecular newPotential)
public AtomIterator affectedAtoms()
affectedAtoms in class MCMoveBoxpublic double energyChange()
energyChange in class MCMoveBoxpublic void acceptNotify()
MCMoveacceptNotify in class MCMovepublic boolean doTrial()
MCMovepublic double getChi(double temperature)
MCMovepublic void rejectNotify()
MCMoverejectNotify in class MCMovepublic void setDoExcludeNonNeighbors(boolean newDoExcludeNonNeighbors)
public boolean getDoExcludeNonNeighbors()