public class MCMoveSemigrand extends MCMoveBox
moveTracker, nominalFrequency, potential
box, 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, setTracker
affectedAtoms, energyChange, getBox, isNominallyPerParticleFrequency, toString
public 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()
MCMove
public double getChi(double temperature)
MCMove
public void acceptNotify()
MCMove
acceptNotify
in class MCMove
public void rejectNotify()
MCMove
rejectNotify
in class MCMove
public double energyChange()
energyChange
in class MCMoveBox
public final AtomIterator affectedAtoms()
affectedAtoms
in class MCMoveBox
public IMoleculePositionDefinition geAtomPositionDefinition()
public void setAtomPositionDefinition(IMoleculePositionDefinition positionDefinition)
positionDefinition
- The positionDefinition to set.