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