MCMoveStepDependent
public class MCMoveClusterAtomMulti extends MCMoveAtom
Modifier and Type | Field | Description |
---|---|---|
protected boolean |
imposePBC |
|
protected int |
startAtom |
|
protected Vector[] |
translationVectors |
moveTracker, nominalFrequency, potential
affectedAtomIterator, atom, atomSource, energyMeter, fixOverlap, random, space, translationVector, uNew, uOld
box, perParticleFrequency
stepSize, stepSizeMax, stepSizeMin
Constructor | Description |
---|---|
MCMoveClusterAtomMulti(IRandom random,
Space _space) |
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 |
getChi(double temperature) |
Chi is the parameter within standard Metropolis Monte Carlo.
|
int |
getStartAtom() |
|
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 |
setDoImposePBC(boolean doImposePBC) |
|
void |
setStartAtom(int newStartAtom) |
getNominalFrequency, getTracker, setTracker
affectedAtoms, energyChange, getAtomSource, setAtomSource
affectedAtoms, energyChange, getBox, isNominallyPerParticleFrequency, toString
getStepSize, getStepSizeDimension, getStepSizeMax, getStepSizeMaxDimension, getStepSizeMin, getStepSizeMinDimension, setStepSize, setStepSizeMax, setStepSizeMin
protected Vector[] translationVectors
protected int startAtom
protected boolean imposePBC
public void setBox(Box p)
MCMoveBox
setBox
in class MCMoveAtom
public void setStartAtom(int newStartAtom)
public int getStartAtom()
public void setDoImposePBC(boolean doImposePBC)
public boolean doTrial()
MCMove
doTrial
in class MCMoveAtom
public double getChi(double temperature)
MCMove
getChi
in class MCMoveAtom
temperature
- used to compute chipublic void rejectNotify()
MCMove
rejectNotify
in class MCMoveAtom
public void acceptNotify()
MCMove
acceptNotify
in class MCMoveAtom