MCMoveMolecular, MCMoveStepDependentpublic class MCMoveClusterMoleculeMulti extends MCMoveMolecule
| Modifier and Type | Field | Description |
|---|---|---|
protected int[] |
constraintMap |
|
protected int |
startMolecule |
|
protected Vector[] |
translationVectors |
moveTracker, nominalFrequency, potentialbox, perParticleFrequencystepSize, stepSizeMax, stepSizeMinaffectedAtomIterator, affectedMoleculeIterator, energyMeter, groupTranslationVector, molecule, moleculeSource, moveMoleculeAction, random, space, uNew, uOld| Constructor | Description |
|---|---|
MCMoveClusterMoleculeMulti(PotentialMaster potentialMaster,
IRandom random,
Space _space,
double stepSize) |
|
MCMoveClusterMoleculeMulti(Simulation sim,
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.
|
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 |
setConstraintMap(int[] newConstraintMap) |
|
void |
setStartMolecule(int newStartMolecule) |
getNominalFrequency, getTracker, setTrackeraffectedAtoms, energyChange, getBox, isNominallyPerParticleFrequency, toStringgetStepSize, getStepSizeDimension, getStepSizeMax, getStepSizeMaxDimension, getStepSizeMin, getStepSizeMinDimension, setStepSize, setStepSizeMax, setStepSizeMinaffectedAtoms, affectedMolecules, energyChange, getAtomSource, setMoleculeSourceprotected Vector[] translationVectors
protected int[] constraintMap
protected int startMolecule
public MCMoveClusterMoleculeMulti(Simulation sim, Space _space)
public MCMoveClusterMoleculeMulti(PotentialMaster potentialMaster, IRandom random, Space _space, double stepSize)
public void setBox(Box p)
MCMoveBoxsetBox in class MCMoveMoleculepublic void setConstraintMap(int[] newConstraintMap)
public void setStartMolecule(int newStartMolecule)
public boolean doTrial()
MCMovedoTrial in class MCMoveMoleculepublic void rejectNotify()
MCMoverejectNotify in class MCMoveMoleculepublic void acceptNotify()
MCMoveMoleculeacceptNotify in class MCMoveMoleculepublic double getChi(double temperature)
MCMovegetChi in class MCMoveMoleculetemperature - used to compute chi