MCMoveStepDependent
public class MCMoveAtomCoupledBennet extends MCMoveBoxStep
Modifier and Type | Field | Description |
---|---|---|
protected AtomIteratorArrayListSimple |
affectedAtomIterator |
|
protected AtomArrayList |
affectedAtomList |
|
protected IAtom |
atom0 |
|
protected IAtom |
atom1 |
|
protected AtomSource |
atomSource |
|
CoordinateDefinition |
coordinateDefinition |
|
protected MeterPotentialEnergy |
energyMeter |
|
protected double |
gamma_New |
|
protected double |
gamma_Old |
|
protected MeterHarmonicEnergy |
harmonicEnergyMeter |
|
double |
latticeEnergy |
|
NormalModes |
normalModes |
|
protected AtomPair |
pair |
|
protected IRandom |
random |
|
double |
temperature |
|
protected Vector |
translationVector |
|
protected double |
uNew |
|
protected double |
uOld |
moveTracker, nominalFrequency, potential
box, perParticleFrequency
stepSize, stepSizeMax, stepSizeMin
Constructor | Description |
---|---|
MCMoveAtomCoupledBennet(PotentialMaster potentialMaster,
IRandom random,
CoordinateDefinition coordinateDef,
NormalModes normalMode,
double refpref,
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() |
|
AtomSource |
getAtomSource() |
|
double |
getChi(double temperature) |
Chi is the parameter within standard Metropolis Monte Carlo.
|
CoordinateDefinition |
getCoordinateDefinition() |
|
double |
getLatticeEnergy() |
|
NormalModes |
getNormalModes() |
|
double |
getTemperature() |
|
void |
rejectNotify() |
Method called by IntegratorMC in the event that the most recent trial move is
rejected.
|
void |
setAtomSource(AtomSource source) |
|
void |
setBox(Box p) |
Sets the box on which this move acts.
|
void |
setCoordinateDefinition(CoordinateDefinition coordinateDefinition) |
|
void |
setLatticeEnergy(double latticeEnergy) |
|
void |
setNormalModes(NormalModes normalModes) |
|
void |
setTemperature(double temperature) |
getNominalFrequency, getTracker, setTracker
affectedAtoms, energyChange, getBox, isNominallyPerParticleFrequency, toString
getStepSize, getStepSizeDimension, getStepSizeMax, getStepSizeMaxDimension, getStepSizeMin, getStepSizeMinDimension, setStepSize, setStepSizeMax, setStepSizeMin
protected final AtomIteratorArrayListSimple affectedAtomIterator
protected final AtomArrayList affectedAtomList
protected final MeterPotentialEnergy energyMeter
protected final MeterHarmonicEnergy harmonicEnergyMeter
protected final Vector translationVector
protected IAtom atom0
protected IAtom atom1
protected double uOld
protected double uNew
protected double gamma_Old
protected double gamma_New
protected AtomSource atomSource
protected final IRandom random
protected final AtomPair pair
public NormalModes normalModes
public CoordinateDefinition coordinateDefinition
public double temperature
public double latticeEnergy
public MCMoveAtomCoupledBennet(PotentialMaster potentialMaster, IRandom random, CoordinateDefinition coordinateDef, NormalModes normalMode, double refpref, Space _space)
public boolean doTrial()
public double getChi(double temperature)
MCMove
public double energyChange()
energyChange
in class MCMoveBox
public void acceptNotify()
acceptNotify
in class MCMove
public void rejectNotify()
rejectNotify
in class MCMove
public AtomIterator affectedAtoms()
affectedAtoms
in class MCMoveBox
public void setBox(Box p)
MCMoveBox
public AtomSource getAtomSource()
public void setAtomSource(AtomSource source)
atomSource
- The atomSource to set.public NormalModes getNormalModes()
public void setNormalModes(NormalModes normalModes)
public CoordinateDefinition getCoordinateDefinition()
public void setCoordinateDefinition(CoordinateDefinition coordinateDefinition)
public double getTemperature()
public void setTemperature(double temperature)
public double getLatticeEnergy()
public void setLatticeEnergy(double latticeEnergy)