MCMoveStepDependent
public class MCMoveAtomCoupled extends MCMoveBoxStep
Modifier and Type | Field | Description |
---|---|---|
protected AtomIteratorArrayListSimple |
affectedAtomIterator |
|
protected IAtom |
atom |
|
protected IAtom |
atom2 |
|
protected IAtomList |
atoms |
|
protected AtomSource |
atomSource |
|
protected MeterPotentialEnergy |
energyMeter |
|
protected boolean |
fixOverlap |
|
protected P1ImageHarmonic |
p1 |
|
protected IRandom |
random |
|
protected Space |
space |
|
protected Vector |
translationVector |
|
protected double |
uNew |
|
protected double |
uOld |
moveTracker, nominalFrequency, potential
box, perParticleFrequency
stepSize, stepSizeMax, stepSizeMin
Constructor | Description |
---|---|
MCMoveAtomCoupled(PotentialMaster potentialMaster,
MeterPotentialEnergy meterPE,
IRandom random,
Space _space,
double stepSize,
double stepSizeMax,
boolean fixOverlap) |
|
MCMoveAtomCoupled(PotentialMaster potentialMaster,
IRandom random,
Space _space,
double stepSize,
double stepSizeMax,
boolean fixOverlap) |
|
MCMoveAtomCoupled(IRandom random,
PotentialMaster potentialMaster,
Space _space) |
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() |
|
AtomSource |
getAtomSource() |
|
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 |
setAtomSource(AtomSource source) |
|
void |
setBox(Box p) |
Sets the box on which this move acts.
|
void |
setP1(P1ImageHarmonic p1) |
getNominalFrequency, getTracker, setTracker
affectedAtoms, energyChange, getBox, isNominallyPerParticleFrequency, toString
getStepSize, getStepSizeDimension, getStepSizeMax, getStepSizeMaxDimension, getStepSizeMin, getStepSizeMinDimension, setStepSize, setStepSizeMax, setStepSizeMin
protected final AtomIteratorArrayListSimple affectedAtomIterator
protected final MeterPotentialEnergy energyMeter
protected final Vector translationVector
protected final IRandom random
protected IAtom atom
protected IAtom atom2
protected double uOld
protected double uNew
protected AtomSource atomSource
protected boolean fixOverlap
protected Space space
protected IAtomList atoms
protected P1ImageHarmonic p1
public MCMoveAtomCoupled(IRandom random, PotentialMaster potentialMaster, Space _space)
public MCMoveAtomCoupled(PotentialMaster potentialMaster, IRandom random, Space _space, double stepSize, double stepSizeMax, boolean fixOverlap)
public MCMoveAtomCoupled(PotentialMaster potentialMaster, MeterPotentialEnergy meterPE, IRandom random, Space _space, double stepSize, double stepSizeMax, boolean fixOverlap)
public void setP1(P1ImageHarmonic p1)
public boolean doTrial()
public double getChi(double temperature)
MCMove
public double energyChange()
energyChange
in class MCMoveBox
public void acceptNotify()
acceptNotify
in class MCMove
public void rejectNotify()
rejectNotify
in class MCMove
public AtomIterator affectedAtoms()
affectedAtoms
in class MCMoveBox
public void setBox(Box p)
MCMoveBox
public AtomSource getAtomSource()
public void setAtomSource(AtomSource source)
source
- The atomSource to set.