IntegratorGEMC
, IntegratorOverlap
, IntegratorOverlap
, IntegratorPT
, IntegratorRGEMC
public class IntegratorManagerMC extends Integrator
Integrator.Forcible, Integrator.Torquable
Modifier and Type | Field | Description |
---|---|---|
protected EventManager<MCMoveEvent> |
eventManager |
|
protected double |
globalMoveProbability |
|
protected java.util.List<Integrator> |
integrators |
|
protected MCMoveManager |
moveManager |
|
protected IRandom |
random |
|
protected double |
temperature |
initialized, interval, stepCount
Constructor | Description |
---|---|
IntegratorManagerMC(IRandom random) |
Modifier and Type | Method | Description |
---|---|---|
void |
addIntegrator(Integrator integrator) |
|
protected void |
doGlobalMoves() |
Method to select and perform an elementary Monte Carlo move.
|
protected void |
doStepInternal() |
Performs a Monte Carlo trial that attempts to swap the configurations
between two "adjacent" boxes, or instructs all integrators to perform
a single doStep.
|
double |
getGlobalMoveInterval() |
Accessor method for the average interval between box-swap trials.
|
Integrator[] |
getIntegrators() |
|
EventManager<MCMoveEvent> |
getMoveEventManager() |
|
MCMoveManager |
getMoveManager() |
|
double |
getTemperature() |
|
boolean |
removeIntegrator(Integrator integrator) |
Removes the given integrator from the list of integrators.
|
void |
reset() |
Causes recalculation of move frequencies and zero of selection counts for
moves.
|
void |
setGlobalMoveInterval(double newGlobalMoveInterval) |
Sets the average interval between box-swap trials.
|
void |
setMoveManager(MCMoveManager newMoveManager) |
|
void |
setTemperature(double temperature) |
Sets the temperature for this integrator if that's relevant
|
protected void |
setup() |
Perform initialization.
|
doStep, getEventInterval, getEventManager, getStepCount, isInitialized, resetStepCount, setEventInterval
protected final EventManager<MCMoveEvent> eventManager
protected final IRandom random
protected double globalMoveProbability
protected MCMoveManager moveManager
protected final java.util.List<Integrator> integrators
protected double temperature
public IntegratorManagerMC(IRandom random)
protected void setup()
Integrator
setup
in class Integrator
public void reset() throws ConfigurationOverlapException
reset
in class Integrator
ConfigurationOverlapException
public void addIntegrator(Integrator integrator)
public boolean removeIntegrator(Integrator integrator)
public Integrator[] getIntegrators()
public MCMoveManager getMoveManager()
public void setMoveManager(MCMoveManager newMoveManager)
newMoveManager
- The moveManager to set.protected void doStepInternal()
doStepInternal
in class Integrator
protected void doGlobalMoves()
public EventManager<MCMoveEvent> getMoveEventManager()
public double getGlobalMoveInterval()
public void setGlobalMoveInterval(double newGlobalMoveInterval)
public double getTemperature()
public void setTemperature(double temperature)
temperature
-