public class MCMoveMultiHarmonic extends MCMoveBox
| Modifier and Type | Field | Description |
|---|---|---|
protected AtomIteratorLeafAtoms |
iterator |
|
protected P1Harmonic |
p1 |
|
protected IRandom |
random |
|
protected double |
uNew |
|
protected double |
uOld |
moveTracker, nominalFrequency, potentialbox, perParticleFrequency| Constructor | Description |
|---|---|
MCMoveMultiHarmonic(P1Harmonic p1,
IRandom random) |
| 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 newBox) |
Sets the box on which this move acts.
|
getNominalFrequency, getTracker, setTrackeraffectedAtoms, energyChange, getBox, isNominallyPerParticleFrequency, toStringprotected final P1Harmonic p1
protected final AtomIteratorLeafAtoms iterator
protected final IRandom random
protected double uOld
protected double uNew
public MCMoveMultiHarmonic(P1Harmonic p1, IRandom random)
public void setBox(Box newBox)
MCMoveBoxpublic AtomIterator affectedAtoms()
affectedAtoms in class MCMoveBoxpublic double energyChange()
energyChange in class MCMoveBoxpublic void acceptNotify()
MCMoveacceptNotify in class MCMovepublic boolean doTrial()
MCMovepublic double getChi(double temperature)
MCMovepublic void rejectNotify()
MCMoverejectNotify in class MCMove