AkimaSplineSmootherApp.IntegratorSmoother
, AkimaSplineSmootherDyApp.IntegratorSmoother
, IntegratorBox
, IntegratorManagerMC
public abstract class Integrator
extends java.lang.Object
Modifier and Type | Class | Description |
---|---|---|
static interface |
Integrator.Forcible |
Integrator agent that holds a force vector.
|
static interface |
Integrator.Torquable |
Integrator agent that holds a torque vector.
|
Modifier and Type | Field | Description |
---|---|---|
protected IntegratorEventManager |
eventManager |
|
protected boolean |
initialized |
|
protected int |
interval |
|
protected long |
stepCount |
Constructor | Description |
---|---|
Integrator() |
Modifier and Type | Method | Description |
---|---|---|
void |
doStep() |
Performs the elementary integration step, such as a molecular dynamics
time step, or a Monte Carlo trial.
|
protected abstract void |
doStepInternal() |
Performs the elementary integration step, such as a molecular dynamics
time step, or a Monte Carlo trial.
|
int |
getEventInterval() |
|
IntegratorEventManager |
getEventManager() |
|
long |
getStepCount() |
Returns the number of steps performed by the integrator since it was
initialized.
|
boolean |
isInitialized() |
|
void |
reset() |
Defines the actions taken by the integrator to reset itself, such as
required if a perturbation is applied to the simulated box (e.g.,
addition or deletion of a molecule).
|
void |
resetStepCount() |
This method resets the step counter.
|
void |
setEventInterval(int interval) |
Sets value of interval between successive firing of integrator interval events.
|
protected void |
setup() |
Perform initialization.
|
protected final IntegratorEventManager eventManager
protected boolean initialized
protected int interval
protected long stepCount
public int getEventInterval()
public void setEventInterval(int interval)
interval
- public final void doStep()
protected abstract void doStepInternal()
public long getStepCount()
public void reset()
This should be called by subclasses before they have performed their own reset integrator is started or initialized.
public boolean isInitialized()
public void resetStepCount()
public IntegratorEventManager getEventManager()
protected void setup()