MCMoveMolecular, MCMoveStepDependentpublic class MCMoveClusterTorsionMulti extends MCMoveMolecule
| Modifier and Type | Field | Description |
|---|---|---|
protected double |
bias |
|
protected double[] |
binSize |
|
protected double |
bondLength |
|
protected Vector |
dr21 |
|
protected Vector |
dr23 |
|
protected Vector |
dr34 |
|
protected MeterPotentialEnergy |
energyMeter |
|
protected Vector |
oldCenter |
|
protected Vector[][] |
oldPositions |
|
protected IMoleculePositionDefinition |
positionDefinition |
|
protected double[] |
probabilityBins |
|
protected int[] |
probabilityReverseMap |
|
protected MoleculeArrayList |
selectedMolecules |
|
protected ISpecies |
species |
|
protected P4BondTorsion |
torsionPotential |
|
protected double |
wNew |
|
protected double |
wOld |
|
protected Vector |
work1 |
|
protected Vector |
work2 |
|
protected Vector |
work3 |
moveTracker, nominalFrequency, potentialbox, perParticleFrequencystepSize, stepSizeMax, stepSizeMinaffectedAtomIterator, affectedMoleculeIterator, groupTranslationVector, molecule, moleculeSource, moveMoleculeAction, random, space, uNew, uOld| Constructor | Description |
|---|---|
MCMoveClusterTorsionMulti(PotentialMaster potentialMaster,
Space space,
IRandom random,
double stepSize,
P4BondTorsion torsionPotential,
int nBins) |
|
MCMoveClusterTorsionMulti(Simulation sim,
PotentialMaster potentialMaster,
Space space,
P4BondTorsion torsionPotential) |
| Modifier and Type | Method | Description |
|---|---|---|
void |
acceptNotify() |
Method called by IntegratorMC in the event that the most recent trial is accepted.
|
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.
|
protected void |
selectMolecules() |
|
void |
setBondLength(double b) |
|
void |
setBox(Box p) |
Sets the box on which this move acts.
|
void |
setSpecies(ISpecies newSpecies) |
|
void |
setTemperature(double temperature) |
getNominalFrequency, getTracker, setTrackeraffectedAtoms, energyChange, getBox, isNominallyPerParticleFrequency, toStringgetStepSize, getStepSizeDimension, getStepSizeMax, getStepSizeMaxDimension, getStepSizeMin, getStepSizeMinDimension, setStepSize, setStepSizeMax, setStepSizeMinaffectedAtoms, affectedMolecules, energyChange, getAtomSource, setMoleculeSourceprotected final MeterPotentialEnergy energyMeter
protected final P4BondTorsion torsionPotential
protected IMoleculePositionDefinition positionDefinition
protected final double[] probabilityBins
protected final double[] binSize
protected final int[] probabilityReverseMap
protected MoleculeArrayList selectedMolecules
protected double bondLength
protected final Vector work1
protected final Vector work2
protected final Vector work3
protected final Vector dr21
protected final Vector dr23
protected final Vector dr34
protected Vector[][] oldPositions
protected final Vector oldCenter
protected double wOld
protected double wNew
protected double bias
protected ISpecies species
public MCMoveClusterTorsionMulti(Simulation sim, PotentialMaster potentialMaster, Space space, P4BondTorsion torsionPotential)
public MCMoveClusterTorsionMulti(PotentialMaster potentialMaster, Space space, IRandom random, double stepSize, P4BondTorsion torsionPotential, int nBins)
public void setBox(Box p)
MCMoveBoxsetBox in class MCMoveMoleculepublic void setSpecies(ISpecies newSpecies)
public void setTemperature(double temperature)
public boolean doTrial()
MCMovedoTrial in class MCMoveMoleculepublic void setBondLength(double b)
protected void selectMolecules()
public void rejectNotify()
MCMoverejectNotify in class MCMoveMoleculepublic void acceptNotify()
MCMoveMoleculeacceptNotify in class MCMoveMoleculepublic double getChi(double temperature)
MCMovegetChi in class MCMoveMoleculetemperature - used to compute chi