MCMoveMolecular
, MCMoveStepDependent
public class MCMoveClusterTorsionAlkaneEH 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, potential
box, perParticleFrequency
stepSize, stepSizeMax, stepSizeMin
affectedAtomIterator, affectedMoleculeIterator, groupTranslationVector, molecule, moleculeSource, moveMoleculeAction, random, space, uNew, uOld
Constructor | Description |
---|---|
MCMoveClusterTorsionAlkaneEH(PotentialMaster potentialMaster,
Space space,
IRandom random,
double stepSize,
P4BondTorsion torsionPotential,
int nBins) |
|
MCMoveClusterTorsionAlkaneEH(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, setTracker
affectedAtoms, energyChange, getBox, isNominallyPerParticleFrequency, toString
getStepSize, getStepSizeDimension, getStepSizeMax, getStepSizeMaxDimension, getStepSizeMin, getStepSizeMinDimension, setStepSize, setStepSizeMax, setStepSizeMin
affectedAtoms, affectedMolecules, energyChange, getAtomSource, setMoleculeSource
protected 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 MCMoveClusterTorsionAlkaneEH(Simulation sim, PotentialMaster potentialMaster, Space space, P4BondTorsion torsionPotential)
public MCMoveClusterTorsionAlkaneEH(PotentialMaster potentialMaster, Space space, IRandom random, double stepSize, P4BondTorsion torsionPotential, int nBins)
public void setBox(Box p)
MCMoveBox
setBox
in class MCMoveMolecule
public void setTemperature(double temperature)
public void setSpecies(ISpecies newSpecies)
public boolean doTrial()
MCMove
doTrial
in class MCMoveMolecule
public void setBondLength(double b)
protected void selectMolecules()
public void acceptNotify()
MCMoveMolecule
acceptNotify
in class MCMoveMolecule
public void rejectNotify()
MCMove
rejectNotify
in class MCMoveMolecule
public double getChi(double temperature)
MCMove
getChi
in class MCMoveMolecule
temperature
- used to compute chi