MCMoveStepDependentpublic class MCMoveClusterAtomDiscrete extends MCMoveAtom
| Modifier and Type | Field | Description |
|---|---|---|
protected double |
dr |
|
protected double |
newR |
|
protected double |
oldR |
|
protected double |
rPow |
|
protected Vector[] |
translationVectors |
moveTracker, nominalFrequency, potentialaffectedAtomIterator, atom, atomSource, energyMeter, fixOverlap, random, space, translationVector, uNew, uOldbox, perParticleFrequencystepSize, stepSizeMax, stepSizeMin| Constructor | Description |
|---|---|
MCMoveClusterAtomDiscrete(IRandom random,
Space _space,
double dr) |
| Modifier and Type | Method | Description |
|---|---|---|
void |
acceptNotify() |
Method called by IntegratorMC in the event that the most recent trial is
accepted.
|
boolean |
doTrial() |
Method to perform trial move.
|
double |
getA() |
|
double |
getChi(double temperature) |
Chi is the parameter within standard Metropolis Monte Carlo.
|
double |
getRPow() |
|
void |
rejectNotify() |
Method called by IntegratorMC in the event that the most recent trial
move is rejected.
|
void |
setBox(Box p) |
Sets the box on which this move acts.
|
void |
setRPow(double newRPow) |
getNominalFrequency, getTracker, setTrackeraffectedAtoms, energyChange, getAtomSource, setAtomSourceaffectedAtoms, energyChange, getBox, isNominallyPerParticleFrequency, toStringgetStepSize, getStepSizeDimension, getStepSizeMax, getStepSizeMaxDimension, getStepSizeMin, getStepSizeMinDimension, setStepSize, setStepSizeMax, setStepSizeMinprotected Vector[] translationVectors
protected double dr
protected double oldR
protected double newR
protected double rPow
public void setBox(Box p)
MCMoveBoxsetBox in class MCMoveAtompublic void setRPow(double newRPow)
public double getRPow()
public boolean doTrial()
MCMovedoTrial in class MCMoveAtompublic double getA()
public double getChi(double temperature)
MCMovegetChi in class MCMoveAtomtemperature - used to compute chipublic void rejectNotify()
MCMoverejectNotify in class MCMoveAtompublic void acceptNotify()
MCMoveacceptNotify in class MCMoveAtom