MCMoveStepDependentpublic class MCMoveClusterAngleBend extends MCMoveBoxStep
| Modifier and Type | Field | Description |
|---|---|---|
protected AtomIteratorArrayListSimple |
affectedAtomIterator |
|
protected double[] |
dTheta |
|
protected MeterPotentialEnergy |
energyMeter |
|
protected MoleculeSource |
moleculeSource |
|
protected IRandom |
random |
|
protected Space |
space |
|
protected ISpecies |
species |
|
protected double |
uNew |
|
protected double |
uOld |
|
protected double |
wNew |
|
protected double |
wOld |
|
protected Vector |
work1 |
|
protected Vector |
work2 |
|
protected Vector |
work3 |
moveTracker, nominalFrequency, potentialbox, perParticleFrequencystepSize, stepSizeMax, stepSizeMin| Constructor | Description |
|---|---|
MCMoveClusterAngleBend(PotentialMaster potentialMaster,
IRandom random,
double stepSize,
Space _space) |
|
MCMoveClusterAngleBend(Simulation sim,
PotentialMaster potentialMaster,
Space _space) |
| Modifier and Type | Method | Description |
|---|---|---|
void |
acceptNotify() |
Method called by IntegratorMC in the event that the most recent trial is
accepted.
|
AtomIterator |
affectedAtoms() |
|
boolean |
doTrial() |
Method to perform trial move.
|
double |
energyChange() |
|
MoleculeSource |
getAtomSource() |
|
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 |
setMoleculeSource(MoleculeSource source) |
|
void |
setSpecies(ISpecies newSpecies) |
|
protected void |
transform(IMolecule molecule,
double dt) |
getNominalFrequency, getTracker, setTrackeraffectedAtoms, energyChange, getBox, isNominallyPerParticleFrequency, toStringgetStepSize, getStepSizeDimension, getStepSizeMax, getStepSizeMaxDimension, getStepSizeMin, getStepSizeMinDimension, setStepSize, setStepSizeMax, setStepSizeMinprotected final AtomIteratorArrayListSimple affectedAtomIterator
protected final MeterPotentialEnergy energyMeter
protected final Vector work1
protected final Vector work2
protected final Vector work3
protected double[] dTheta
protected double wOld
protected double wNew
protected final Space space
protected ISpecies species
protected double uOld
protected double uNew
protected final IRandom random
protected MoleculeSource moleculeSource
public MCMoveClusterAngleBend(Simulation sim, PotentialMaster potentialMaster, Space _space)
public MCMoveClusterAngleBend(PotentialMaster potentialMaster, IRandom random, double stepSize, Space _space)
public void setBox(Box p)
MCMoveBoxpublic void setSpecies(ISpecies newSpecies)
public boolean doTrial()
MCMoveprotected void transform(IMolecule molecule, double dt)
public void acceptNotify()
MCMoveacceptNotify in class MCMovepublic void rejectNotify()
MCMoverejectNotify in class MCMovepublic double getChi(double temperature)
MCMovepublic double energyChange()
energyChange in class MCMoveBoxpublic AtomIterator affectedAtoms()
affectedAtoms in class MCMoveBoxpublic MoleculeSource getAtomSource()
public void setMoleculeSource(MoleculeSource source)
source - The atomSource to set.