MCMoveInsertDeleteLatticeVacancy, MCMoveInsertDeleteVacancypublic class MCMoveInsertDeleteBiased extends MCMoveInsertDelete
| Modifier and Type | Field | Description |
|---|---|---|
protected double[] |
lnbias |
|
protected int |
maxN |
|
protected int |
minN |
moveTracker, nominalFrequency, potentialbox, perParticleFrequencyaffectedAtomIterator, 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, setTrackeraffectedAtoms, energyChange, getBox, isNominallyPerParticleFrequency, toStringaffectedAtoms, doTrial, energyChange, getMu, getMuDimension, getPositionSource, getSpecies, lastMoveInsert, setPositionSource, setSpeciespublic MCMoveInsertDeleteBiased(PotentialMaster potentialMaster, IRandom random, Space _space, int minN, int maxN)
public void setBox(Box box)
MCMoveBoxsetBox in class MCMoveInsertDeletepublic void setMinMax(int newMinN,
int newMaxN)
public double getLnBias(int n)
public void setLnBias(int n,
double nBias)
public void setMu(double newMu)
MCMoveInsertDeletesetMu in class MCMoveInsertDeletepublic double getChi(double temperature)
MCMovegetChi in class MCMoveInsertDeletetemperature - used to compute chipublic double getLnBiasDiff()
public void myAcceptNotify()
public void myRejectNotify()
public final void rejectNotify()
MCMoverejectNotify in class MCMoveInsertDeletepublic void acceptNotify()
MCMoveacceptNotify in class MCMoveInsertDelete