MCMoveStepDependent
public class MCMoveClusterPolyhedraTree extends MCMoveAtom
Modifier and Type | Field | Description |
---|---|---|
protected int[] |
a |
|
protected int[][] |
bonds |
|
protected int[] |
degree |
|
protected int[] |
inserted |
|
protected IPotentialAtomic |
p2 |
|
protected AtomPair |
pair |
|
protected double |
sigma |
|
protected double[][] |
uValues |
moveTracker, nominalFrequency, potential
affectedAtomIterator, atom, atomSource, energyMeter, fixOverlap, random, space, translationVector, uNew, uOld
box, perParticleFrequency
stepSize, stepSizeMax, stepSizeMin
Constructor | Description |
---|---|
MCMoveClusterPolyhedraTree(IRandom random,
Space _space,
double sigma,
IPotentialAtomic p2,
double[][] uValues) |
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.
|
protected void |
randomOrientation(Vector q) |
|
void |
rejectNotify() |
Method called by IntegratorMC in the event that the most recent trial
move is rejected.
|
void |
setBox(Box box) |
Sets the box on which this move acts.
|
getNominalFrequency, getTracker, setTracker
affectedAtoms, energyChange, getAtomSource, setAtomSource
affectedAtoms, energyChange, getBox, isNominallyPerParticleFrequency, toString
getStepSize, getStepSizeDimension, getStepSizeMax, getStepSizeMaxDimension, getStepSizeMin, getStepSizeMinDimension, setStepSize, setStepSizeMax, setStepSizeMin
protected final double sigma
protected int[][] bonds
protected int[] degree
protected int[] a
protected int[] inserted
protected IPotentialAtomic p2
protected final AtomPair pair
protected final double[][] uValues
public MCMoveClusterPolyhedraTree(IRandom random, Space _space, double sigma, IPotentialAtomic p2, double[][] uValues)
public void setBox(Box box)
MCMoveBox
setBox
in class MCMoveAtom
protected void randomOrientation(Vector q)
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