public class MCMoveClusterRingPartialRegrow extends MCMoveBox
Modifier and Type | Field | Description |
---|---|---|
protected IAtomList |
atoms |
|
protected Vector |
dcom |
|
protected MeterPotentialEnergy |
energyMeter |
|
protected double |
fac |
|
HistogramExpanding[][] |
hist |
|
protected int |
iMolecule |
|
protected int |
kStart |
|
protected AtomIteratorLeafAtoms |
leafIterator |
|
protected int |
maxNumBeads |
|
protected AtomArrayList |
myAtoms |
|
protected int |
nTrial |
|
protected int |
numBeads |
|
protected Vector[] |
oldPositions |
|
protected double[] |
pkl |
|
protected IRandom |
random |
|
protected Vector[] |
rTrial |
|
protected Space |
space |
|
protected int[][] |
tangledMolecules |
|
protected double |
uNew |
|
protected double |
uOld |
|
protected double |
weightNew |
|
protected double |
weightOld |
|
protected double |
wNew |
|
protected double |
wOld |
moveTracker, nominalFrequency, potential
box, perParticleFrequency
Constructor | Description |
---|---|
MCMoveClusterRingPartialRegrow(PotentialMaster potentialMaster,
IRandom random,
Space _space) |
|
MCMoveClusterRingPartialRegrow(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() |
|
protected double |
calcWeight() |
|
boolean |
doTrial() |
Method to perform trial move.
|
double |
energyChange() |
|
double |
getChi(double temperature) |
Chi is the parameter within standard Metropolis Monte Carlo.
|
int |
getNumBeads() |
|
int |
getNumTrial() |
|
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) |
|
void |
setNumBeads(int newNumBeads) |
|
void |
setNumTrial(int newNumTrial) |
getNominalFrequency, getTracker, setTracker
affectedAtoms, energyChange, getBox, isNominallyPerParticleFrequency, toString
protected IAtomList atoms
protected final Space space
protected final IRandom random
protected Vector[] oldPositions
protected Vector[] rTrial
protected int nTrial
protected double[] pkl
protected double wOld
protected double wNew
protected double weightOld
protected double weightNew
protected double uOld
protected double uNew
protected final Vector dcom
protected final AtomIteratorLeafAtoms leafIterator
protected double fac
public HistogramExpanding[][] hist
protected final int[][] tangledMolecules
protected final AtomArrayList myAtoms
protected int numBeads
protected int maxNumBeads
protected int kStart
protected int iMolecule
protected final MeterPotentialEnergy energyMeter
public MCMoveClusterRingPartialRegrow(PotentialMaster potentialMaster, IRandom random, Space _space)
public MCMoveClusterRingPartialRegrow(PotentialMaster potentialMaster, IRandom random, Space _space, int[][] tangledMolecules)
public void setNumTrial(int newNumTrial)
public int getNumTrial()
public void setEnergyFactor(double factor)
public void setNumBeads(int newNumBeads)
public int getNumBeads()
public void setBox(Box p)
MCMoveBox
public boolean doTrial()
MCMove
protected double calcWeight()
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