public class MCMoveClusterRingScale extends MCMoveBox
| Modifier and Type | Field | Description |
|---|---|---|
protected IAtomList |
atoms |
|
protected Vector |
com |
|
protected MeterPotentialEnergy |
energyMeter |
|
protected double |
fac |
|
protected int |
iMolecule |
|
protected AtomIteratorLeafAtoms |
leafIterator |
|
protected AtomArrayList |
myAtoms |
|
protected IRandom |
random |
|
protected double |
scale |
|
protected Space |
space |
|
protected int[][] |
tangledMolecules |
|
protected double |
uNew |
|
protected double |
uOld |
|
protected double |
weightNew |
|
protected double |
weightOld |
|
protected double |
wRatio |
moveTracker, nominalFrequency, potentialbox, perParticleFrequency| Constructor | Description |
|---|---|
MCMoveClusterRingScale(PotentialMaster potentialMaster,
IRandom random,
Space _space) |
|
MCMoveClusterRingScale(PotentialMaster potentialMaster,
IRandom random,
Space _space,
int[][] tangledMolecules) |
| 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() |
|
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 |
setEnergyFactor(double factor) |
getNominalFrequency, getTracker, setTrackeraffectedAtoms, energyChange, getBox, isNominallyPerParticleFrequency, toStringprotected double scale
protected double wRatio
protected IAtomList atoms
protected final Space space
protected final IRandom random
protected double weightOld
protected double weightNew
protected double uOld
protected double uNew
protected final Vector com
protected final AtomIteratorLeafAtoms leafIterator
protected double fac
protected final int[][] tangledMolecules
protected final AtomArrayList myAtoms
protected int iMolecule
protected final MeterPotentialEnergy energyMeter
public MCMoveClusterRingScale(PotentialMaster potentialMaster, IRandom random, Space _space)
public MCMoveClusterRingScale(PotentialMaster potentialMaster, IRandom random, Space _space, int[][] tangledMolecules)
public void setEnergyFactor(double factor)
public void setBox(Box p)
MCMoveBoxpublic boolean doTrial()
MCMovepublic double getChi(double temperature)
MCMovepublic void rejectNotify()
MCMoverejectNotify in class MCMovepublic void acceptNotify()
MCMoveacceptNotify in class MCMovepublic double energyChange()
energyChange in class MCMoveBoxpublic AtomIterator affectedAtoms()
affectedAtoms in class MCMoveBox