MCMoveStepDependent
public class MCMoveWV extends MCMoveBoxStep
Modifier and Type | Field | Description |
---|---|---|
protected CoordinateDefinition |
coordinateDefinition |
|
protected double |
jNew |
|
protected double |
jOld |
|
protected MeterJacobian |
meterJacobian |
|
protected NormalModesVariable |
normalModes |
|
protected double[][] |
oldEigenVectors |
|
protected Vector[] |
oldWaveVectors |
|
protected IRandom |
random |
|
protected Space |
space |
moveTracker, nominalFrequency, potential
box, perParticleFrequency
stepSize, stepSizeMax, stepSizeMin
Constructor | Description |
---|---|
MCMoveWV(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.
|
void |
setBox(Box newBox) |
Sets the box on which this move acts.
|
getNominalFrequency, getTracker, setTracker
affectedAtoms, energyChange, getBox, isNominallyPerParticleFrequency, toString
getStepSize, getStepSizeDimension, getStepSizeMax, getStepSizeMaxDimension, getStepSizeMin, getStepSizeMinDimension, setStepSize, setStepSizeMax, setStepSizeMin
protected final Space space
protected final NormalModesVariable normalModes
protected Vector[] oldWaveVectors
protected double[][] oldEigenVectors
protected final CoordinateDefinition coordinateDefinition
protected final IRandom random
protected MeterJacobian meterJacobian
protected double jOld
protected double jNew
public MCMoveWV(Space space, NormalModesVariable normalModes, CoordinateDefinition coordinateDefinition, IRandom random)
protected void init()
public void setBox(Box newBox)
MCMoveBox
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