MCMoveMolecular
, MCMoveStepDependent
public class MCMoveClusterRotateArm extends MCMoveClusterMolecule
Modifier and Type | Field | Description |
---|---|---|
protected int |
armLength |
|
protected Vector |
axis |
|
protected MeterPotentialEnergy |
energyMeter |
|
PotentialMaster |
potentialMaster |
|
protected Vector |
r0 |
|
protected RotationTensor3D |
rotationTensor |
|
protected Space |
space |
|
protected ISpecies |
species |
|
protected int |
startAtom |
|
protected double |
wNew |
|
protected double |
wOld |
|
protected Vector |
work1 |
|
protected Vector |
work2 |
|
protected Vector |
work3 |
moveTracker, nominalFrequency, potential
box, perParticleFrequency
stepSize, stepSizeMax, stepSizeMin
affectedAtomIterator, affectedMoleculeIterator, groupTranslationVector, molecule, moleculeSource, moveMoleculeAction, random, uNew, uOld
Constructor | Description |
---|---|
MCMoveClusterRotateArm(PotentialMaster potentialMaster,
IRandom random,
double stepSize,
int armLength,
Space _space) |
|
MCMoveClusterRotateArm(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, setTracker
affectedAtoms, energyChange, getBox, isNominallyPerParticleFrequency, toString
getStepSize, getStepSizeDimension, getStepSizeMax, getStepSizeMaxDimension, getStepSizeMin, getStepSizeMinDimension, setStepSize, setStepSizeMax, setStepSizeMin
affectedAtoms, affectedMolecules, energyChange, getAtomSource, setMoleculeSource
public PotentialMaster potentialMaster
protected 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 double wOld
protected double wNew
protected final int armLength
protected final RotationTensor3D rotationTensor
protected final Vector axis
public MCMoveClusterRotateArm(Simulation sim, PotentialMaster potentialMaster, int armLength, Space _space)
public MCMoveClusterRotateArm(PotentialMaster potentialMaster, IRandom random, double stepSize, int armLength, Space _space)
public void setBox(Box p)
MCMoveBox
setBox
in class MCMoveMolecule
public void setSpecies(ISpecies newSpecies)
public boolean doTrial()
MCMove
doTrial
in class MCMoveClusterMolecule
protected void doTransform()
public void acceptNotify()
MCMoveMolecule
acceptNotify
in class MCMoveClusterMolecule
public void rejectNotify()
MCMove
rejectNotify
in class MCMoveClusterMolecule
public double getChi(double temperature)
MCMove
getChi
in class MCMoveClusterMolecule
temperature
- used to compute chi