MCMoveStepDependentpublic class MCMoveVolumeN2 extends MCMoveBoxStep
| Modifier and Type | Field | Description |
|---|---|---|
protected AtomIteratorLeafAtoms |
affectedAtomIterator |
|
protected BoxInflate |
inflate |
|
protected double |
latticeCorrec |
|
protected int |
numMolec |
|
protected double |
pressure |
moveTracker, nominalFrequency, potentialbox, perParticleFrequencystepSize, stepSizeMax, stepSizeMin| Constructor | Description |
|---|---|
MCMoveVolumeN2(PotentialMaster potentialMaster,
IRandom random,
Space _space,
double pressure) |
|
MCMoveVolumeN2(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.
|
double |
getLatticeCorrec() |
|
double |
getPressure() |
|
Dimension |
getPressureDimension() |
|
ISpecies |
getSpecies() |
|
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.
|
void |
setLatticeCorrec(double latticeCorrec) |
|
void |
setPressure(double p) |
|
void |
setSpecies(ISpecies species) |
|
void |
setXYZChange() |
getNominalFrequency, getTracker, setTrackeraffectedAtoms, energyChange, getBox, isNominallyPerParticleFrequency, toStringgetStepSize, getStepSizeDimension, getStepSizeMax, getStepSizeMaxDimension, getStepSizeMin, getStepSizeMinDimension, setStepSize, setStepSizeMax, setStepSizeMinprotected int numMolec
protected double latticeCorrec
protected double pressure
protected final BoxInflate inflate
protected final AtomIteratorLeafAtoms affectedAtomIterator
public MCMoveVolumeN2(Simulation sim, PotentialMaster potentialMaster, Space _space)
public MCMoveVolumeN2(PotentialMaster potentialMaster, IRandom random, Space _space, double pressure)
potentialMaster - an appropriate PotentialMaster instance for calculating energies_space - 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 MCMoveBoxpublic ISpecies getSpecies()
public void setSpecies(ISpecies species)
public double getLatticeCorrec()
public void setLatticeCorrec(double latticeCorrec)
public void setXYZChange()
public void setPressure(double p)
public final double getPressure()
public Dimension getPressureDimension()