MCMoveMolecular
, MCMoveStepDependent
public class MCMoveRotateMoleculePhiTheta extends MCMoveRotateMolecule3D
Modifier and Type | Field | Description |
---|---|---|
protected Vector |
com |
|
protected double |
delta |
|
protected Vector |
dr |
|
protected Vector[] |
drSum |
|
protected double |
maxAngle |
|
protected IMoleculePositionDefinition |
pos |
|
protected boolean |
rotatePhi |
moveTracker, nominalFrequency, potential
box, perParticleFrequency
stepSize, stepSizeMax, stepSizeMin
affectedAtomIterator, affectedMoleculeIterator, energyMeter, groupTranslationVector, molecule, moleculeSource, moveMoleculeAction, random, space, uNew, uOld
positionDefinition, r0, rotationTensor
Constructor | Description |
---|---|
MCMoveRotateMoleculePhiTheta(PotentialMaster potentialMaster,
IRandom random,
Space _space,
Vector[] drSum,
boolean doPhi) |
Modifier and Type | Method | Description |
---|---|---|
void |
acceptNotify() |
Method called by IntegratorMC in the event that the most recent trial is accepted.
|
protected void |
doRotationTransform(double a,
double b) |
|
boolean |
doTrial() |
Method to perform trial move.
|
double |
getChi(double temperature) |
Chi is the parameter within standard Metropolis Monte Carlo.
|
double |
getConstraint() |
|
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 |
setMaxPhi(double newMaxAngle) |
|
java.lang.String |
toString() |
getNominalFrequency, getTracker, setTracker
affectedAtoms, energyChange, getBox, isNominallyPerParticleFrequency
getStepSize, getStepSizeDimension, getStepSizeMax, getStepSizeMaxDimension, getStepSizeMin, getStepSizeMinDimension, setStepSize, setStepSizeMax, setStepSizeMin
affectedAtoms, affectedMolecules, energyChange, getAtomSource, setMoleculeSource
doTransform, getPositionDefinition, setPositionDefinition
protected final Vector[] drSum
protected double maxAngle
protected boolean rotatePhi
protected final Vector dr
protected final Vector com
protected IMoleculePositionDefinition pos
protected double delta
public MCMoveRotateMoleculePhiTheta(PotentialMaster potentialMaster, IRandom random, Space _space, Vector[] drSum, boolean doPhi)
public void setBox(Box p)
MCMoveBox
setBox
in class MCMoveMolecule
public void setMaxPhi(double newMaxAngle)
public double getConstraint()
public boolean doTrial()
MCMove
doTrial
in class MCMoveRotateMolecule3D
protected void doRotationTransform(double a, double b)
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