MCMoveStepDependentpublic class MCMoveClusterAtomQ extends MCMoveAtom
| Modifier and Type | Field | Description |
|---|---|---|
protected MCMoveAtom |
mcMove |
moveTracker, nominalFrequency, potentialaffectedAtomIterator, atom, atomSource, energyMeter, fixOverlap, random, space, translationVector, uNew, uOldbox, perParticleFrequencystepSize, stepSizeMax, stepSizeMin| Constructor | Description |
|---|---|
MCMoveClusterAtomQ(IRandom random,
Space space,
MCMoveAtom mcMove) |
| Modifier and Type | Method | Description |
|---|---|---|
void |
acceptNotify() |
Method called by IntegratorMC in the event that the most recent trial is
accepted.
|
AtomIterator |
affectedAtoms() |
|
AtomIterator |
affectedAtoms(Box aBox) |
Returns an iterator that yields the atoms that were affected by the trial
move the last time doTrial was invoked (regardless of whether the move
was accepted).
|
boolean |
doTrial() |
Method to perform trial move.
|
double |
energyChange() |
|
double |
energyChange(Box aBox) |
Returns the change in the energy of the given box that results from the
trial move.
|
AtomSource |
getAtomSource() |
The AtomSource is used to select the atom at the beginning of the trial
|
Box |
getBox() |
|
double |
getChi(double temperature) |
Chi is the parameter within standard Metropolis Monte Carlo.
|
void |
rejectNotify() |
Method called by IntegratorMC in the event that the most recent trial
move is rejected.
|
void |
setAtomSource(AtomSource source) |
|
void |
setBox(Box p) |
Sets the box on which this move acts.
|
java.lang.String |
toString() |
getNominalFrequency, getTracker, setTrackerisNominallyPerParticleFrequencygetStepSize, getStepSizeDimension, getStepSizeMax, getStepSizeMaxDimension, getStepSizeMin, getStepSizeMinDimension, setStepSize, setStepSizeMax, setStepSizeMinprotected final MCMoveAtom mcMove
public MCMoveClusterAtomQ(IRandom random, Space space, MCMoveAtom mcMove)
public boolean doTrial()
MCMovedoTrial in class MCMoveAtompublic void setBox(Box p)
MCMoveBoxsetBox in class MCMoveAtompublic double getChi(double temperature)
MCMovegetChi in class MCMoveAtomtemperature - used to compute chipublic void rejectNotify()
MCMoverejectNotify in class MCMoveAtompublic void acceptNotify()
MCMoveacceptNotify in class MCMoveAtompublic double energyChange()
energyChange in class MCMoveAtompublic AtomIterator affectedAtoms()
affectedAtoms in class MCMoveAtompublic AtomSource getAtomSource()
MCMoveAtomgetAtomSource in class MCMoveAtompublic void setAtomSource(AtomSource source)
setAtomSource in class MCMoveAtomsource - The atomSource to set.public Box getBox()
public AtomIterator affectedAtoms(Box aBox)
MCMoveaffectedAtoms in class MCMoveBoxpublic double energyChange(Box aBox)
MCMoveenergyChange in class MCMoveBox