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, potential
box, 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, setTracker
affectedAtoms, energyChange, getBox, isNominallyPerParticleFrequency, toString
protected 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)
MCMoveBox
public boolean doTrial()
MCMove
public double getChi(double temperature)
MCMove
public void rejectNotify()
MCMove
rejectNotify
in class MCMove
public void acceptNotify()
MCMove
acceptNotify
in class MCMove
public double energyChange()
energyChange
in class MCMoveBox
public AtomIterator affectedAtoms()
affectedAtoms
in class MCMoveBox