MCMoveMolecular
, MCMoveStepDependent
public 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, potential
box, perParticleFrequency
stepSize, stepSizeMax, stepSizeMin
affectedAtomIterator, 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, setTracker
affectedAtoms, energyChange, getBox, isNominallyPerParticleFrequency, toString
getStepSize, getStepSizeDimension, getStepSizeMax, getStepSizeMaxDimension, getStepSizeMin, getStepSizeMinDimension, setStepSize, setStepSizeMax, setStepSizeMin
acceptNotify, affectedAtoms, affectedMolecules, getAtomSource, setBox, setMoleculeSource
protected 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()
MCMove
doTrial
in class MCMoveMolecule
protected void doTransform()
protected void doTransformMolec(int iMolecule, double dTheta)
protected void doTransformToInitial(int iMolecule, double angleMol)
public void rejectNotify()
MCMove
rejectNotify
in class MCMoveMolecule
public double getChi(double temperature)
MCMove
getChi
in class MCMoveMolecule
temperature
- used to compute chipublic double energyChange()
energyChange
in class MCMoveMolecule