MCMoveStepDependent
public class MCMoveAtomSuperBox extends MCMoveBoxStep
Modifier and Type | Field | Description |
---|---|---|
protected AtomIteratorArrayListSimple |
affectedAtomIterator |
|
protected AtomArrayList |
affectedAtomList |
|
protected IAtom |
atom0 |
|
protected IAtom |
atom1 |
|
protected IAtom |
atomSpeciesA |
|
protected IAtom |
atomSpeciesB |
|
protected CoordinateDefinition.BasisCell[][] |
boxCells |
|
protected CoordinateDefinition.BasisCell[] |
cells |
|
protected CoordinateDefinitionLeafSuperBox |
coordinateDefinition |
|
protected MeterPotentialEnergy |
energyMeter |
|
protected AtomPair |
pair |
|
protected AtomPair |
pairAB |
|
protected Potential2 |
potential |
|
protected IRandom |
random |
|
protected int |
randomAtom0 |
|
protected int |
randomAtom1 |
|
protected int |
randomNumber0 |
|
protected int |
randomNumber1 |
|
protected Vector |
translationVector |
|
protected double |
uNew |
|
protected double |
uOld |
moveTracker, nominalFrequency
box, perParticleFrequency
stepSize, stepSizeMax, stepSizeMin
Constructor | Description |
---|---|
MCMoveAtomSuperBox(PotentialMaster potentialMaster,
IRandom random,
Space _space,
CoordinateDefinitionLeafSuperBox coordinateDefinition) |
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 |
setPotential(Potential2 newPotential) |
getNominalFrequency, getTracker, setTracker
affectedAtoms, energyChange, getBox, isNominallyPerParticleFrequency, toString
getStepSize, getStepSizeDimension, getStepSizeMax, getStepSizeMaxDimension, getStepSizeMin, getStepSizeMinDimension, setStepSize, setStepSizeMax, setStepSizeMin
protected final AtomIteratorArrayListSimple affectedAtomIterator
protected final AtomArrayList affectedAtomList
protected final MeterPotentialEnergy energyMeter
protected final Vector translationVector
protected IAtom atom0
protected IAtom atom1
protected IAtom atomSpeciesA
protected IAtom atomSpeciesB
protected double uOld
protected double uNew
protected final IRandom random
protected Potential2 potential
protected final AtomPair pair
protected final AtomPair pairAB
protected CoordinateDefinitionLeafSuperBox coordinateDefinition
protected CoordinateDefinition.BasisCell[] cells
protected CoordinateDefinition.BasisCell[][] boxCells
protected int randomNumber0
protected int randomNumber1
protected int randomAtom0
protected int randomAtom1
public MCMoveAtomSuperBox(PotentialMaster potentialMaster, IRandom random, Space _space, CoordinateDefinitionLeafSuperBox coordinateDefinition)
public void setPotential(Potential2 newPotential)
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