MCMoveMolecular
, MCMoveStepDependent
public class MCMoveClusterMoleculeMulti extends MCMoveMolecule
Modifier and Type | Field | Description |
---|---|---|
protected int[] |
constraintMap |
|
protected int |
startMolecule |
|
protected Vector[] |
translationVectors |
moveTracker, nominalFrequency, potential
box, perParticleFrequency
stepSize, stepSizeMax, stepSizeMin
affectedAtomIterator, 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, setTracker
affectedAtoms, energyChange, getBox, isNominallyPerParticleFrequency, toString
getStepSize, getStepSizeDimension, getStepSizeMax, getStepSizeMaxDimension, getStepSizeMin, getStepSizeMinDimension, setStepSize, setStepSizeMax, setStepSizeMin
affectedAtoms, affectedMolecules, energyChange, getAtomSource, setMoleculeSource
protected 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)
MCMoveBox
setBox
in class MCMoveMolecule
public void setConstraintMap(int[] newConstraintMap)
public void setStartMolecule(int newStartMolecule)
public boolean doTrial()
MCMove
doTrial
in class MCMoveMolecule
public void rejectNotify()
MCMove
rejectNotify
in class MCMoveMolecule
public void acceptNotify()
MCMoveMolecule
acceptNotify
in class MCMoveMolecule
public double getChi(double temperature)
MCMove
getChi
in class MCMoveMolecule
temperature
- used to compute chi