MCMoveMolecular
, MCMoveStepDependent
public class MCMoveClusterRotateMoleculeMulti extends MCMoveRotateMolecule3D
Modifier and Type | Field | Description |
---|---|---|
protected int[] |
constraintMap |
|
protected int[] |
rotationAxis |
|
protected double[] |
theta |
moveTracker, nominalFrequency, potential
box, perParticleFrequency
stepSize, stepSizeMax, stepSizeMin
affectedAtomIterator, affectedMoleculeIterator, energyMeter, groupTranslationVector, molecule, moleculeSource, moveMoleculeAction, random, space, uNew, uOld
positionDefinition, r0, rotationTensor
Constructor | Description |
---|---|
MCMoveClusterRotateMoleculeMulti(IRandom random,
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 |
setRelaxAction(MoleculeAction action) |
getNominalFrequency, getTracker, setTracker
affectedAtoms, energyChange, getBox, isNominallyPerParticleFrequency, toString
getStepSize, getStepSizeDimension, getStepSizeMax, getStepSizeMaxDimension, getStepSizeMin, getStepSizeMinDimension, setStepSize, setStepSizeMax, setStepSizeMin
affectedAtoms, affectedMolecules, energyChange, getAtomSource, setMoleculeSource
doTransform, getPositionDefinition, setPositionDefinition
protected int[] constraintMap
protected int[] rotationAxis
protected double[] theta
public void setBox(Box p)
MCMoveBox
setBox
in class MCMoveMolecule
public void setConstraintMap(int[] newConstraintMap)
public boolean doTrial()
MCMove
doTrial
in class MCMoveRotateMolecule3D
public double getChi(double temperature)
MCMove
getChi
in class MCMoveMolecule
temperature
- used to compute chipublic void acceptNotify()
MCMoveMolecule
acceptNotify
in class MCMoveMolecule
public void rejectNotify()
MCMove
rejectNotify
in class MCMoveRotateMolecule3D
public void setRelaxAction(MoleculeAction action)