MCMoveStepDependentpublic 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, potentialbox, perParticleFrequencystepSize, 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, setTrackeraffectedAtoms, energyChange, getBox, isNominallyPerParticleFrequency, toStringgetStepSize, getStepSizeDimension, getStepSizeMax, getStepSizeMaxDimension, getStepSizeMin, getStepSizeMinDimension, setStepSize, setStepSizeMax, setStepSizeMinprotected 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)
MCMoveBoxpublic 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