MCMoveMolecular, MCMoveStepDependentpublic class MCMoveClusterBondLength extends MCMoveClusterMolecule
| Modifier and Type | Field | Description |
|---|---|---|
protected int |
armLength |
|
protected double |
bl |
|
protected double |
dr |
|
protected MeterPotentialEnergy |
energyMeter |
|
protected Vector |
r0 |
|
protected Space |
space |
|
protected ISpecies |
species |
|
protected int |
startAtom |
|
protected Vector |
translateVector |
|
protected double |
wNew |
|
protected double |
wOld |
moveTracker, nominalFrequency, potentialbox, perParticleFrequencystepSize, stepSizeMax, stepSizeMinaffectedAtomIterator, affectedMoleculeIterator, groupTranslationVector, molecule, moleculeSource, moveMoleculeAction, random, uNew, uOld| Constructor | Description |
|---|---|
MCMoveClusterBondLength(PotentialMaster potentialMaster,
IRandom random,
double stepSize,
int armLength,
Space _space) |
|
MCMoveClusterBondLength(Simulation sim,
PotentialMaster potentialMaster,
int armLength,
Space _space) |
| Modifier and Type | Method | Description |
|---|---|---|
void |
acceptNotify() |
Method called by IntegratorMC in the event that the most recent trial is accepted.
|
protected void |
doTransform() |
|
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 |
setSpecies(ISpecies newSpecies) |
getNominalFrequency, getTracker, setTrackeraffectedAtoms, energyChange, getBox, isNominallyPerParticleFrequency, toStringgetStepSize, getStepSizeDimension, getStepSizeMax, getStepSizeMaxDimension, getStepSizeMin, getStepSizeMinDimension, setStepSize, setStepSizeMax, setStepSizeMinaffectedAtoms, affectedMolecules, energyChange, getAtomSource, setMoleculeSourceprotected final MeterPotentialEnergy energyMeter
protected Vector r0
protected double dr
protected int startAtom
protected final Space space
protected double wOld
protected double wNew
protected ISpecies species
protected final int armLength
protected final Vector translateVector
protected double bl
public MCMoveClusterBondLength(Simulation sim, PotentialMaster potentialMaster, int armLength, Space _space)
public MCMoveClusterBondLength(PotentialMaster potentialMaster, IRandom random, double stepSize, int armLength, Space _space)
public void setBox(Box p)
MCMoveBoxsetBox in class MCMoveMoleculepublic void setSpecies(ISpecies newSpecies)
public boolean doTrial()
MCMovedoTrial in class MCMoveClusterMoleculeprotected void doTransform()
public void acceptNotify()
MCMoveMoleculeacceptNotify in class MCMoveClusterMoleculepublic void rejectNotify()
MCMoverejectNotify in class MCMoveClusterMoleculepublic double getChi(double temperature)
MCMovegetChi in class MCMoveClusterMoleculetemperature - used to compute chi