MCMoveMolecular, MCMoveStepDependentpublic class MCMoveRotateMolecule3DConstraint extends MCMoveMolecule
| Modifier and Type | Field | Description |
|---|---|---|
protected MoleculeChildAtomAction |
atomGroupAction |
|
protected double |
constraintAngle |
|
protected CoordinateDefinitionNitrogen |
coordinateDef |
|
protected Vector[][] |
initMolecOrientation |
|
protected Vector |
molecOrientation |
|
protected IMoleculePositionDefinition |
positionDefinition |
|
protected Vector |
r0 |
|
protected RotationTensor3D |
rotation |
|
protected Vector |
rotationAxis |
|
protected RotationTensor |
rotationTensor |
|
protected Tensor3D |
tensor |
|
protected Vector |
workVector |
moveTracker, nominalFrequency, potentialbox, perParticleFrequencystepSize, stepSizeMax, stepSizeMinaffectedAtomIterator, affectedMoleculeIterator, energyMeter, groupTranslationVector, molecule, moleculeSource, moveMoleculeAction, random, space, uNew, uOld| Constructor | Description |
|---|---|
MCMoveRotateMolecule3DConstraint(PotentialMaster potentialMaster,
IRandom random,
Space _space,
double angle,
CoordinateDefinitionNitrogen coordinateDef,
Box box) |
| Modifier and Type | Method | Description |
|---|---|---|
protected void |
doTransform() |
|
protected void |
doTransformMolec(int iMolecule,
double dTheta) |
|
protected void |
doTransformToInitial(int iMolecule,
double angleMol) |
|
boolean |
doTrial() |
Method to perform trial move.
|
double |
energyChange() |
|
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.
|
getNominalFrequency, getTracker, setTrackeraffectedAtoms, energyChange, getBox, isNominallyPerParticleFrequency, toStringgetStepSize, getStepSizeDimension, getStepSizeMax, getStepSizeMaxDimension, getStepSizeMin, getStepSizeMinDimension, setStepSize, setStepSizeMax, setStepSizeMinacceptNotify, affectedAtoms, affectedMolecules, getAtomSource, setBox, setMoleculeSourceprotected transient Vector r0
protected transient RotationTensor rotationTensor
protected IMoleculePositionDefinition positionDefinition
protected double constraintAngle
protected CoordinateDefinitionNitrogen coordinateDef
protected Vector[][] initMolecOrientation
protected Vector molecOrientation
protected Vector rotationAxis
protected Vector workVector
protected RotationTensor3D rotation
protected Tensor3D tensor
protected final MoleculeChildAtomAction atomGroupAction
public MCMoveRotateMolecule3DConstraint(PotentialMaster potentialMaster, IRandom random, Space _space, double angle, CoordinateDefinitionNitrogen coordinateDef, Box box)
public boolean doTrial()
MCMovedoTrial in class MCMoveMoleculeprotected void doTransform()
protected void doTransformMolec(int iMolecule,
double dTheta)
protected void doTransformToInitial(int iMolecule,
double angleMol)
public void rejectNotify()
MCMoverejectNotify in class MCMoveMoleculepublic double getChi(double temperature)
MCMovegetChi in class MCMoveMoleculetemperature - used to compute chipublic double energyChange()
energyChange in class MCMoveMolecule