MCMoveMolecular
, MCMoveStepDependent
public class MCMoveClusterRotateCH3 extends MCMoveMolecule
Modifier and Type | Field | Description |
---|---|---|
protected Vector |
axis |
|
protected MeterPotentialEnergy |
energyMeter |
|
protected RotationTensor3D |
rotateTensor |
|
protected IAtom[] |
selectedAtoms |
|
protected Space |
space |
|
protected ISpecies |
species |
|
protected Vector[] |
translationVectors |
|
protected double |
wNew |
|
protected double |
wOld |
moveTracker, nominalFrequency, potential
box, perParticleFrequency
stepSize, stepSizeMax, stepSizeMin
affectedAtomIterator, affectedMoleculeIterator, groupTranslationVector, molecule, moleculeSource, moveMoleculeAction, random, uNew, uOld
Constructor | Description |
---|---|
MCMoveClusterRotateCH3(PotentialMaster potentialMaster,
IRandom random,
double stepSize,
int nAtoms,
Space _space) |
|
MCMoveClusterRotateCH3(Simulation sim,
PotentialMaster potentialMaster,
int nAtoms,
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 |
setSpecies(ISpecies newSpecies) |
getNominalFrequency, getTracker, setTracker
affectedAtoms, energyChange, getBox, isNominallyPerParticleFrequency, toString
getStepSize, getStepSizeDimension, getStepSizeMax, getStepSizeMaxDimension, getStepSizeMin, getStepSizeMinDimension, setStepSize, setStepSizeMax, setStepSizeMin
affectedAtoms, affectedMolecules, energyChange, getAtomSource, setMoleculeSource
protected final MeterPotentialEnergy energyMeter
protected IAtom[] selectedAtoms
protected final Vector axis
protected Vector[] translationVectors
protected double wOld
protected double wNew
protected final Space space
protected ISpecies species
protected RotationTensor3D rotateTensor
public MCMoveClusterRotateCH3(Simulation sim, PotentialMaster potentialMaster, int nAtoms, Space _space)
public MCMoveClusterRotateCH3(PotentialMaster potentialMaster, IRandom random, double stepSize, int nAtoms, Space _space)
public void setBox(Box p)
MCMoveBox
setBox
in class MCMoveMolecule
public void setSpecies(ISpecies newSpecies)
public boolean doTrial()
MCMove
doTrial
in class MCMoveMolecule
public void acceptNotify()
MCMoveMolecule
acceptNotify
in class MCMoveMolecule
public void rejectNotify()
MCMove
rejectNotify
in class MCMoveMolecule
public double getChi(double temperature)
MCMove
getChi
in class MCMoveMolecule
temperature
- used to compute chi