MCMoveMolecular, MCMoveStepDependentpublic class MCMoveRotateMolecule3DN2AveCosThetaConstraint extends MCMoveMolecule
| Modifier and Type | Field | Description |
|---|---|---|
protected double |
aveCosTheta |
|
protected CoordinateDefinitionNitrogen |
coordinateDef |
|
protected double |
cosThetaConstraint |
|
protected Vector[] |
initMolecOrientation |
|
protected Vector |
molAxis |
|
protected double |
newTotalCosTheta |
|
protected int |
numMolecule |
|
protected double |
oldTotalCosTheta |
|
protected IMoleculePositionDefinition |
positionDefinition |
|
protected Vector |
r0 |
|
protected RotationTensor |
rotationTensor |
|
protected double |
workAveCosTheta |
moveTracker, nominalFrequency, potentialbox, perParticleFrequencystepSize, stepSizeMax, stepSizeMinaffectedAtomIterator, affectedMoleculeIterator, energyMeter, groupTranslationVector, molecule, moleculeSource, moveMoleculeAction, random, space, uNew, uOld| Constructor | Description |
|---|---|
MCMoveRotateMolecule3DN2AveCosThetaConstraint(PotentialMaster potentialMaster,
IRandom random,
Space _space,
CoordinateDefinitionNitrogen coordinateDef,
double cosThetaConstraint) |
| Modifier and Type | Method | Description |
|---|---|---|
void |
acceptNotify() |
Method called by IntegratorMC in the event that the most recent trial is accepted.
|
void |
calcAveCosThetaInitial() |
|
protected void |
doTransform() |
|
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.
|
getNominalFrequency, getTracker, setTrackeraffectedAtoms, energyChange, getBox, isNominallyPerParticleFrequency, toStringgetStepSize, getStepSizeDimension, getStepSizeMax, getStepSizeMaxDimension, getStepSizeMin, getStepSizeMinDimension, setStepSize, setStepSizeMax, setStepSizeMinaffectedAtoms, affectedMolecules, energyChange, getAtomSource, setBox, setMoleculeSourceprotected transient Vector r0
protected transient Vector molAxis
protected transient RotationTensor rotationTensor
protected IMoleculePositionDefinition positionDefinition
protected CoordinateDefinitionNitrogen coordinateDef
protected Vector[] initMolecOrientation
protected int numMolecule
protected double aveCosTheta
protected double newTotalCosTheta
protected double oldTotalCosTheta
protected double cosThetaConstraint
protected double workAveCosTheta
public MCMoveRotateMolecule3DN2AveCosThetaConstraint(PotentialMaster potentialMaster, IRandom random, Space _space, CoordinateDefinitionNitrogen coordinateDef, double cosThetaConstraint)
public boolean doTrial()
MCMovedoTrial in class MCMoveMoleculepublic double getChi(double temperature)
MCMovegetChi in class MCMoveMoleculetemperature - used to compute chiprotected void doTransform()
public void rejectNotify()
MCMoverejectNotify in class MCMoveMoleculepublic void acceptNotify()
MCMoveMoleculeacceptNotify in class MCMoveMoleculepublic void calcAveCosThetaInitial()