MCMoveStepDependent
public 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, potential
box, perParticleFrequency
stepSize, 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, setTracker
affectedAtoms, energyChange, getBox, isNominallyPerParticleFrequency, toString
getStepSize, getStepSizeDimension, getStepSizeMax, getStepSizeMaxDimension, getStepSizeMin, getStepSizeMinDimension, setStepSize, setStepSizeMax, setStepSizeMin
protected 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)
MCMoveBox
public void setPotential(IPotentialMolecular newPotential)
public AtomIterator affectedAtoms()
affectedAtoms
in class MCMoveBox
public double energyChange()
energyChange
in class MCMoveBox
public void acceptNotify()
MCMove
acceptNotify
in class MCMove
public boolean doTrial()
MCMove
public double getChi(double temperature)
MCMove
public void rejectNotify()
MCMove
rejectNotify
in class MCMove
public void setDoExcludeNonNeighbors(boolean newDoExcludeNonNeighbors)
public boolean getDoExcludeNonNeighbors()