MCMoveStepDependentpublic 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, potentialaffectedAtomIterator, atom, atomSource, energyMeter, fixOverlap, random, space, translationVector, uNew, uOldbox, perParticleFrequencystepSize, 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, setTrackeraffectedAtoms, energyChange, getAtomSource, setAtomSourceaffectedAtoms, energyChange, getBox, isNominallyPerParticleFrequency, toStringgetStepSize, getStepSizeDimension, getStepSizeMax, getStepSizeMaxDimension, getStepSizeMin, getStepSizeMinDimension, setStepSize, setStepSizeMax, setStepSizeMinprotected 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)
MCMoveBoxsetBox in class MCMoveAtomprotected void randomOrientation(Vector q)
public boolean doTrial()
MCMovedoTrial 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 MCMoveAtom