MCMoveMolecular, MCMoveStepDependentpublic 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, nominalFrequencybox, perParticleFrequencystepSize, 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, setTrackeraffectedAtoms, energyChange, getBox, isNominallyPerParticleFrequency, toStringgetStepSize, getStepSizeDimension, getStepSizeMax, getStepSizeMaxDimension, getStepSizeMin, getStepSizeMinDimension, setStepSize, setStepSizeMax, setStepSizeMinprotected 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)
MCMoveBoxpublic void setPotential(IPotentialMolecular newPotential)
public AtomIterator affectedAtoms()
affectedAtoms in class MCMoveBoxpublic MoleculeIterator affectedMolecules(Box aBox)
affectedMolecules in interface MCMoveMolecularpublic 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