MCMoveInsertDeleteLatticeVacancy
, MCMoveInsertDeleteVacancy
public class MCMoveInsertDeleteBiased extends MCMoveInsertDelete
Modifier and Type | Field | Description |
---|---|---|
protected double[] |
lnbias |
|
protected int |
maxN |
|
protected int |
minN |
moveTracker, nominalFrequency, potential
box, perParticleFrequency
affectedAtomIterator, atomTranslator, energyMeter, insert, moleculeList, mu, positionSource, random, reservoir, species, testMolecule, uNew, uOld
Constructor | Description |
---|---|
MCMoveInsertDeleteBiased(PotentialMaster potentialMaster,
IRandom random,
Space _space,
int minN,
int maxN) |
Modifier and Type | Method | Description |
---|---|---|
void |
acceptNotify() |
Method called by IntegratorMC in the event that the most recent trial is
accepted.
|
double |
getChi(double temperature) |
Chi is the parameter within standard Metropolis Monte Carlo.
|
double |
getLnBias(int n) |
|
double |
getLnBiasDiff() |
|
void |
myAcceptNotify() |
|
void |
myRejectNotify() |
|
void |
rejectNotify() |
Method called by IntegratorMC in the event that the most recent trial
move is rejected.
|
void |
setBox(Box box) |
Sets the box on which this move acts.
|
void |
setLnBias(int n,
double nBias) |
|
void |
setMinMax(int newMinN,
int newMaxN) |
|
void |
setMu(double newMu) |
Mutator method for the chemical potential of the insertion/deletion species.
|
getNominalFrequency, getTracker, setTracker
affectedAtoms, energyChange, getBox, isNominallyPerParticleFrequency, toString
affectedAtoms, doTrial, energyChange, getMu, getMuDimension, getPositionSource, getSpecies, lastMoveInsert, setPositionSource, setSpecies
public MCMoveInsertDeleteBiased(PotentialMaster potentialMaster, IRandom random, Space _space, int minN, int maxN)
public void setBox(Box box)
MCMoveBox
setBox
in class MCMoveInsertDelete
public void setMinMax(int newMinN, int newMaxN)
public double getLnBias(int n)
public void setLnBias(int n, double nBias)
public void setMu(double newMu)
MCMoveInsertDelete
setMu
in class MCMoveInsertDelete
public double getChi(double temperature)
MCMove
getChi
in class MCMoveInsertDelete
temperature
- used to compute chipublic double getLnBiasDiff()
public void myAcceptNotify()
public void myRejectNotify()
public final void rejectNotify()
MCMove
rejectNotify
in class MCMoveInsertDelete
public void acceptNotify()
MCMove
acceptNotify
in class MCMoveInsertDelete