MCMoveMolecular
, MCMoveStepDependent
public class MCMoveMoleculeCoupledSuperBox extends MCMoveBoxStep implements MCMoveMolecular
Modifier and Type | Field | Description |
---|---|---|
protected MoleculeIteratorArrayListSimple |
affectedMoleculeIterator |
|
protected MoleculeArrayList |
affectedMoleculeList |
|
protected CoordinateDefinition.BasisCell[] |
basisCell |
|
protected MeterPotentialEnergy |
energyMeter |
|
protected Vector |
groupTransVect |
|
protected IMolecule |
molecule0 |
|
protected IMolecule |
molecule1 |
|
protected MoleculeSource |
moleculeSource |
|
protected int[][] |
molIndex |
|
protected IMolecule |
molSpeciesA |
|
protected IMolecule |
molSpeciesB |
|
protected MoleculeChildAtomAction |
moveMoleculeAction |
|
protected int |
nA |
|
protected MoleculePair |
pair |
|
protected MoleculePair |
pairAB |
|
protected IPotentialMolecular |
potential |
|
protected IRandom |
random |
|
protected int |
randomMol0 |
|
protected int |
randomMol1 |
|
protected AtomActionTranslateBy |
singleAction |
|
protected double |
uCorrect |
|
protected double |
uNew |
|
protected double |
uOld |
moveTracker, nominalFrequency
box, perParticleFrequency
stepSize, stepSizeMax, stepSizeMin
Constructor | Description |
---|---|
MCMoveMoleculeCoupledSuperBox(PotentialMaster potentialMaster,
IRandom nRandom,
Space _space,
Box box,
int nC,
int basis,
CoordinateDefinitionNitrogenSuperBox coordinateDef) |
Modifier and Type | Method | Description |
---|---|---|
void |
acceptNotify() |
Method called by IntegratorMC in the event that the most recent trial is
accepted.
|
AtomIterator |
affectedAtoms() |
|
MoleculeIterator |
affectedMolecules(Box aBox) |
|
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.
|
void |
setPotential(IPotentialMolecular newPotential) |
getNominalFrequency, getTracker, setTracker
affectedAtoms, energyChange, getBox, isNominallyPerParticleFrequency, toString
getStepSize, getStepSizeDimension, getStepSizeMax, getStepSizeMaxDimension, getStepSizeMin, getStepSizeMinDimension, setStepSize, setStepSizeMax, setStepSizeMin
protected final MoleculeChildAtomAction moveMoleculeAction
protected final Vector groupTransVect
protected IMolecule molecule0
protected IMolecule molecule1
protected final MeterPotentialEnergy energyMeter
protected MoleculeSource moleculeSource
protected double uOld
protected double uNew
protected final IRandom random
protected MoleculeIteratorArrayListSimple affectedMoleculeIterator
protected MoleculeArrayList affectedMoleculeList
protected final AtomActionTranslateBy singleAction
protected final MoleculePair pair
protected final MoleculePair pairAB
protected IPotentialMolecular potential
protected int[][] molIndex
protected int randomMol0
protected int randomMol1
protected IMolecule molSpeciesA
protected IMolecule molSpeciesB
protected int nA
protected CoordinateDefinition.BasisCell[] basisCell
protected double uCorrect
public MCMoveMoleculeCoupledSuperBox(PotentialMaster potentialMaster, IRandom nRandom, Space _space, Box box, int nC, int basis, CoordinateDefinitionNitrogenSuperBox coordinateDef)
public void setBox(Box newBox)
MCMoveBox
public void setPotential(IPotentialMolecular newPotential)
public AtomIterator affectedAtoms()
affectedAtoms
in class MCMoveBox
public MoleculeIterator affectedMolecules(Box aBox)
affectedMolecules
in interface MCMoveMolecular
public double energyChange()
energyChange
in class MCMoveBox
public void acceptNotify()
MCMove
acceptNotify
in class MCMove
public boolean doTrial()
MCMove
public double getChi(double temperature)
MCMove
public void rejectNotify()
MCMove
rejectNotify
in class MCMove