MCMoveMolecular, MCMoveStepDependentpublic class MCMoveRotateArm extends MCMoveMolecule
| Modifier and Type | Field | Description |
|---|---|---|
protected int |
armLength |
|
protected Vector |
axis |
|
protected MeterPotentialEnergy |
energyMeter |
|
protected Vector |
r0 |
|
protected RotationTensor3D |
rotationTensor |
|
protected Space |
space |
|
protected ISpecies |
species |
|
protected int |
startAtom |
|
protected Vector |
work1 |
|
protected Vector |
work2 |
|
protected Vector |
work3 |
moveTracker, nominalFrequency, potentialbox, perParticleFrequencystepSize, stepSizeMax, stepSizeMinaffectedAtomIterator, affectedMoleculeIterator, groupTranslationVector, molecule, moleculeSource, moveMoleculeAction, random, uNew, uOld| Constructor | Description |
|---|---|
MCMoveRotateArm(PotentialMaster potentialMaster,
IRandom random,
double stepSize,
int armLength,
Space _space) |
|
MCMoveRotateArm(Simulation sim,
PotentialMaster potentialMaster,
int armLength,
Space _space) |
| Modifier and Type | Method | Description |
|---|---|---|
void |
acceptNotify() |
Method called by IntegratorMC in the event that the most recent trial is accepted.
|
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.
|
void |
setBox(Box p) |
Sets the box on which this move acts.
|
void |
setSpecies(ISpecies newSpecies) |
getNominalFrequency, getTracker, setTrackeraffectedAtoms, energyChange, getBox, isNominallyPerParticleFrequency, toStringgetStepSize, getStepSizeDimension, getStepSizeMax, getStepSizeMaxDimension, getStepSizeMin, getStepSizeMinDimension, setStepSize, setStepSizeMax, setStepSizeMinaffectedAtoms, affectedMolecules, energyChange, getAtomSource, setMoleculeSourceprotected final MeterPotentialEnergy energyMeter
protected Vector r0
protected int startAtom
protected final Vector work1
protected final Vector work2
protected final Vector work3
protected final Space space
protected ISpecies species
protected final int armLength
protected final RotationTensor3D rotationTensor
protected final Vector axis
public MCMoveRotateArm(Simulation sim, PotentialMaster potentialMaster, int armLength, Space _space)
public MCMoveRotateArm(PotentialMaster potentialMaster, IRandom random, double stepSize, int armLength, Space _space)
public void setBox(Box p)
MCMoveBoxsetBox in class MCMoveMoleculepublic void setSpecies(ISpecies newSpecies)
public boolean doTrial()
MCMovedoTrial in class MCMoveMoleculeprotected void doTransform()
public void acceptNotify()
MCMoveMoleculeacceptNotify in class MCMoveMoleculepublic void rejectNotify()
MCMoverejectNotify in class MCMoveMoleculepublic double getChi(double temperature)
MCMovegetChi in class MCMoveMoleculetemperature - used to compute chi