MCMoveStepDependent
public class MCMovePhaseAngle extends MCMoveBoxStep
Modifier and Type | Field | Description |
---|---|---|
protected CoordinateDefinition |
coordinateDefinition |
|
protected double |
jNew |
|
protected double |
jOld |
|
protected MeterJacobian |
meterJacobian |
|
protected NormalModesVariable |
normalModes |
|
protected double[] |
oldPhaseAngles |
|
protected IRandom |
random |
|
protected Space |
space |
moveTracker, nominalFrequency, potential
box, perParticleFrequency
stepSize, stepSizeMax, stepSizeMin
Constructor | Description |
---|---|
MCMovePhaseAngle(Space space,
NormalModesVariable normalModes,
CoordinateDefinition coordinateDefinition,
IRandom random) |
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.
|
protected void |
init() |
|
void |
rejectNotify() |
Method called by IntegratorMC in the event that the most recent trial
move is rejected.
|
getNominalFrequency, getTracker, setTracker
affectedAtoms, energyChange, getBox, isNominallyPerParticleFrequency, setBox, toString
getStepSize, getStepSizeDimension, getStepSizeMax, getStepSizeMaxDimension, getStepSizeMin, getStepSizeMinDimension, setStepSize, setStepSizeMax, setStepSizeMin
protected final Space space
protected final NormalModesVariable normalModes
protected double[] oldPhaseAngles
protected final CoordinateDefinition coordinateDefinition
protected final IRandom random
protected MeterJacobian meterJacobian
protected double jOld
protected double jNew
public MCMovePhaseAngle(Space space, NormalModesVariable normalModes, CoordinateDefinition coordinateDefinition, IRandom random)
protected void init()
public boolean doTrial()
MCMove
public double getChi(double temperature)
MCMove
public void acceptNotify()
MCMove
acceptNotify
in class MCMove
public void rejectNotify()
MCMove
rejectNotify
in class MCMove
public AtomIterator affectedAtoms()
affectedAtoms
in class MCMoveBox
public double energyChange()
energyChange
in class MCMoveBox