MCMoveStepDependentpublic class MCMoveBoxSize extends MCMoveBoxStep
| Modifier and Type | Field | Description |
|---|---|---|
protected AtomIteratorLeafAtoms |
affectedAtomIterator |
|
protected Vector |
boxScale |
|
protected BoxInflate |
inflate |
|
protected double |
pressure |
|
protected Space |
space |
moveTracker, nominalFrequency, potentialbox, perParticleFrequencystepSize, stepSizeMax, stepSizeMin| Constructor | Description |
|---|---|
MCMoveBoxSize(PotentialMaster potentialMaster,
IRandom random,
Space space) |
|
MCMoveBoxSize(Simulation sim,
PotentialMaster potentialMaster,
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.
|
void |
rejectNotify() |
Method called by IntegratorMC in the event that the most recent trial
move is rejected.
|
void |
setBox(Box p) |
Sets the box on which this move acts.
|
getNominalFrequency, getTracker, setTrackeraffectedAtoms, energyChange, getBox, isNominallyPerParticleFrequency, toStringgetStepSize, getStepSizeDimension, getStepSizeMax, getStepSizeMaxDimension, getStepSizeMin, getStepSizeMinDimension, setStepSize, setStepSizeMax, setStepSizeMinprotected double pressure
protected BoxInflate inflate
protected final Space space
protected final AtomIteratorLeafAtoms affectedAtomIterator
protected final Vector boxScale
public MCMoveBoxSize(Simulation sim, PotentialMaster potentialMaster, Space _space)
public MCMoveBoxSize(PotentialMaster potentialMaster, IRandom random, Space space)
potentialMaster - an appropriate PotentialMaster instance for calculating energiesspace - the governing space for the simulationpublic void setBox(Box p)
MCMoveBoxpublic boolean doTrial()
MCMovepublic double getChi(double temperature)
MCMovepublic void acceptNotify()
MCMoveacceptNotify in class MCMovepublic void rejectNotify()
MCMoverejectNotify in class MCMovepublic double energyChange()
energyChange in class MCMoveBoxpublic AtomIterator affectedAtoms()
affectedAtoms in class MCMoveBox