public class MCMoveSemigrand extends MCMoveBox
moveTracker, nominalFrequency, potentialbox, perParticleFrequency| Constructor | Description |
|---|---|
MCMoveSemigrand(PotentialMaster potentialMaster,
IRandom random,
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() |
|
IMoleculePositionDefinition |
geAtomPositionDefinition() |
|
double |
getChi(double temperature) |
Chi is the parameter within standard Metropolis Monte Carlo.
|
double[] |
getFugacityFraction() |
Accessor method for the set of fugacity fractions.
|
double |
getFugacityFraction(int i) |
|
ISpecies[] |
getSpecies() |
Accessor method for the set of species that can participate in an exchange move.
|
void |
rejectNotify() |
Method called by IntegratorMC in the event that the most recent trial
move is rejected.
|
void |
setAtomPositionDefinition(IMoleculePositionDefinition positionDefinition) |
|
void |
setBox(Box p) |
Extends the superclass method to initialize the exchange-set species agents for the box.
|
void |
setFugacityFraction(double[] f) |
Specifies the fugacity fractions for the set of species that can participate in
an exchange move.
|
void |
setSpecies(ISpecies[] species) |
Mutator method for the set of species that can participate in an exchange move.
|
getNominalFrequency, getTracker, setTrackeraffectedAtoms, energyChange, getBox, isNominallyPerParticleFrequency, toStringpublic MCMoveSemigrand(PotentialMaster potentialMaster, IRandom random, Space _space)
public void setBox(Box p)
public void setSpecies(ISpecies[] species)
public ISpecies[] getSpecies()
public void setFugacityFraction(double[] f)
public double getFugacityFraction(int i)
public double[] getFugacityFraction()
public boolean doTrial()
MCMovepublic double getChi(double temperature)
MCMovepublic void acceptNotify()
MCMoveacceptNotify in class MCMovepublic void rejectNotify()
MCMoverejectNotify in class MCMovepublic double energyChange()
energyChange in class MCMoveBoxpublic final AtomIterator affectedAtoms()
affectedAtoms in class MCMoveBoxpublic IMoleculePositionDefinition geAtomPositionDefinition()
public void setAtomPositionDefinition(IMoleculePositionDefinition positionDefinition)
positionDefinition - The positionDefinition to set.