MCMoveStepDependentMCMoveVolumeExchangeVLEpublic class MCMoveVolumeExchange extends MCMoveStep
| Modifier and Type | Field | Description |
|---|---|---|
protected Box |
firstBox |
|
protected Box |
secondBox |
moveTracker, nominalFrequency, potentialstepSize, stepSizeMax, stepSizeMin| Constructor | Description |
|---|---|
MCMoveVolumeExchange(PotentialMaster potentialMaster,
IRandom random,
Space space,
IntegratorBox integrator1,
IntegratorBox integrator2) |
| Modifier and Type | Method | Description |
|---|---|---|
void |
acceptNotify() |
Method called by IntegratorMC in the event that the most recent trial is
accepted.
|
AtomIterator |
affectedAtoms(Box box) |
Returns an iterator that yields the atoms that were affected by the trial
move the last time doTrial was invoked (regardless of whether the move
was accepted).
|
boolean |
doTrial() |
Method to perform trial move.
|
double |
energyChange(Box box) |
Returns the change in the energy of the given box that results from the
trial move.
|
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.
|
getNominalFrequency, getTracker, setTracker, toStringgetStepSize, getStepSizeDimension, getStepSizeMax, getStepSizeMaxDimension, getStepSizeMin, getStepSizeMinDimension, setStepSize, setStepSizeMax, setStepSizeMinpublic MCMoveVolumeExchange(PotentialMaster potentialMaster, IRandom random, Space space, IntegratorBox integrator1, IntegratorBox integrator2)
public boolean doTrial()
MCMovepublic double getChi(double temperature)
MCMovepublic void acceptNotify()
MCMoveacceptNotify in class MCMovepublic void rejectNotify()
MCMoverejectNotify in class MCMovepublic double energyChange(Box box)
MCMoveenergyChange in class MCMovepublic final AtomIterator affectedAtoms(Box box)
MCMoveaffectedAtoms in class MCMove