public class MCMoveEinsteinCrystal extends MCMoveBox
| Modifier and Type | Field | Description |
|---|---|---|
protected double |
alpha |
|
protected CoordinateDefinition |
coordinateDefinition |
|
protected Vector |
dr |
|
protected boolean |
fixedCOM |
|
protected IRandom |
random |
|
protected double |
temperature |
moveTracker, nominalFrequency, potentialbox, perParticleFrequency| Constructor | Description |
|---|---|
MCMoveEinsteinCrystal(Space space,
IRandom random) |
| 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() |
|
double |
getAlpha() |
|
double |
getChi(double temperature) |
Chi is the parameter within standard Metropolis Monte Carlo.
|
boolean |
getFixedCOM() |
|
void |
rejectNotify() |
Method called by IntegratorMC in the event that the most recent trial
move is rejected.
|
void |
setAlphaEin(double newAlpha) |
Sets the Einstein spring constant
u = alpha * r^2
|
void |
setCoordinateDefinition(CoordinateDefinition newCoordinateDefinition) |
|
void |
setFixedCOM(boolean newFixedCOM) |
|
void |
setTemperature(double newTemperature) |
getNominalFrequency, getTracker, setTrackeraffectedAtoms, energyChange, getBox, isNominallyPerParticleFrequency, setBox, toStringprotected double alpha
protected double temperature
protected final IRandom random
protected CoordinateDefinition coordinateDefinition
protected boolean fixedCOM
protected final Vector dr
public void setFixedCOM(boolean newFixedCOM)
public boolean getFixedCOM()
public void setAlphaEin(double newAlpha)
public double getAlpha()
public void setTemperature(double newTemperature)
public void setCoordinateDefinition(CoordinateDefinition newCoordinateDefinition)
public boolean doTrial()
MCMovepublic AtomIterator affectedAtoms()
affectedAtoms in class MCMoveBoxpublic double energyChange()
energyChange in class MCMoveBoxpublic double getChi(double temperature)
MCMovepublic void acceptNotify()
MCMoveacceptNotify in class MCMovepublic void rejectNotify()
MCMoverejectNotify in class MCMove