public class MCMoveClusterRingRegrow extends MCMoveBox
| Modifier and Type | Field | Description |
|---|---|---|
protected Vector |
com |
|
protected Vector |
com0 |
|
protected double |
fac |
|
protected AtomIteratorLeafAtoms |
leafIterator |
|
protected AtomArrayList |
myAtoms |
|
protected int |
nTrial |
|
protected Vector[][] |
oldPositions |
|
protected double[] |
pkl |
|
protected IRandom |
random |
|
protected Vector[] |
rTrial |
|
protected Space |
space |
|
protected int[][] |
tangledMolecules |
|
protected double |
weightNew |
|
protected double |
weightOld |
|
protected double |
wNew |
|
protected double |
wOld |
moveTracker, nominalFrequency, potentialbox, perParticleFrequency| Constructor | Description |
|---|---|
MCMoveClusterRingRegrow(IRandom random,
Space _space) |
|
MCMoveClusterRingRegrow(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.
|
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) |
sets the harmonic bond "energy" factor
The probability of the bond have length x is proportional to exp(-factor*x^2)
(there is no temperature involved here)
|
void |
setNumTrial(int newNumTrial) |
Sets the number of configurational bias trials
|
getNominalFrequency, getTracker, setTrackeraffectedAtoms, energyChange, getBox, isNominallyPerParticleFrequency, toStringprotected 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 final Vector com
protected final Vector com0
protected final AtomIteratorLeafAtoms leafIterator
protected double fac
protected final int[][] tangledMolecules
protected final AtomArrayList myAtoms
public void setNumTrial(int newNumTrial)
public int getNumTrial()
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