|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectetomica.integrator.Integrator
public abstract class Integrator
Integrator implements the algorithm used to move the atoms around and generate new configurations in one or more boxs. All integrator techniques, such as molecular dynamics or Monte Carlo, are implemented via subclasses of this Integrator class. The Integrator's activities are managed via the actions of the governing Controller.
| Nested Class Summary | |
|---|---|
static interface |
Integrator.Forcible
Integrator agent that holds a force vector. |
static interface |
Integrator.Torquable
Integrator agent that holds a torque vector. |
| Field Summary | |
|---|---|
protected IntegratorEventManager |
eventManager
|
protected boolean |
initialized
|
protected int |
interval
|
protected long |
stepCount
|
| Constructor Summary | |
|---|---|
Integrator()
|
|
| Method Summary | |
|---|---|
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()
|
IIntegratorEventManager |
getEventManager()
|
long |
getStepCount()
Returns the number of steps performed by the integrator since it was initialized. |
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. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
protected boolean initialized
protected int interval
protected long stepCount
protected IntegratorEventManager eventManager
| Constructor Detail |
|---|
public Integrator()
| Method Detail |
|---|
public int getEventInterval()
public void setEventInterval(int interval)
interval - public final void doStep()
IIntegrator
doStep in interface IIntegratorprotected abstract void doStepInternal()
public long getStepCount()
getStepCount in interface IIntegratorpublic void reset()
reset in interface IIntegratorpublic void resetStepCount()
IIntegrator
resetStepCount in interface IIntegratorpublic IIntegratorEventManager getEventManager()
getEventManager in interface IIntegratorprotected void setup()
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||