MCMoveStepDependentpublic 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, potentialbox, perParticleFrequencystepSize, 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, setTrackeraffectedAtoms, energyChange, getBox, isNominallyPerParticleFrequency, setBox, toStringgetStepSize, getStepSizeDimension, getStepSizeMax, getStepSizeMaxDimension, getStepSizeMin, getStepSizeMinDimension, setStepSize, setStepSizeMax, setStepSizeMinprotected 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()
MCMovepublic double getChi(double temperature)
MCMovepublic void acceptNotify()
MCMoveacceptNotify in class MCMovepublic void rejectNotify()
MCMoverejectNotify in class MCMovepublic AtomIterator affectedAtoms()
affectedAtoms in class MCMoveBoxpublic double energyChange()
energyChange in class MCMoveBox