MCMoveMolecular, MCMoveStepDependentpublic 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, potentialbox, perParticleFrequencystepSize, stepSizeMax, stepSizeMinaffectedAtomIterator, affectedMoleculeIterator, energyMeter, groupTranslationVector, molecule, moleculeSource, moveMoleculeAction, random, space, uNew, uOldpositionDefinition, 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, setTrackeraffectedAtoms, energyChange, getBox, isNominallyPerParticleFrequencygetStepSize, getStepSizeDimension, getStepSizeMax, getStepSizeMaxDimension, getStepSizeMin, getStepSizeMinDimension, setStepSize, setStepSizeMax, setStepSizeMinaffectedAtoms, affectedMolecules, energyChange, getAtomSource, setMoleculeSourcedoTransform, getPositionDefinition, setPositionDefinitionprotected 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)
MCMoveBoxsetBox in class MCMoveMoleculepublic void setMaxPhi(double newMaxAngle)
public double getConstraint()
public boolean doTrial()
MCMovedoTrial in class MCMoveRotateMolecule3Dprotected void doRotationTransform(double a,
double b)
public double getChi(double temperature)
MCMovegetChi in class MCMoveMoleculetemperature - used to compute chipublic void acceptNotify()
MCMoveMoleculeacceptNotify in class MCMoveMoleculepublic void rejectNotify()
MCMoverejectNotify in class MCMoveRotateMolecule3D