|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectetomica.action.Activity
etomica.action.activity.ActivityIntegrate
public class ActivityIntegrate
Activity that repeatedly invokes an Integrator's doStep method.
| Field Summary | |
|---|---|
protected long |
maxSteps
|
protected long |
stepCount
|
| Fields inherited from class etomica.action.Activity |
|---|
haltRequested, isActive, pauseRequested |
| Constructor Summary | |
|---|---|
ActivityIntegrate(IIntegrator integrator)
Constructs activity to generate configurations with the given integrator (which is final). |
|
ActivityIntegrate(IIntegrator integrator,
int sleepPeriod,
boolean ignoreOverlap)
|
|
| Method Summary | |
|---|---|
long |
getCurrentStep()
|
IIntegrator |
getIntegrator()
|
long |
getMaxSteps()
Accessor method for the number of doStep calls to be performed by this integrator after it is started. |
int |
getSleepPeriod()
Amount of time that thread is kept in sleep state after each doStep done on integrator. |
protected void |
run()
Main loop for conduct of integration. |
void |
setMaxSteps(long maxSteps)
Mutator method for the number of doStep steps to be performed by this integrator after it is started. |
void |
setSleepPeriod(int sleepPeriod)
Sets amount of time that thread is kept in sleep state after each doStep done on integrator. |
| Methods inherited from class etomica.action.Activity |
|---|
actionPerformed, doContinue, doWait, halt, isActive, isPaused, pause, unPause |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
protected long maxSteps
protected long stepCount
| Constructor Detail |
|---|
public ActivityIntegrate(IIntegrator integrator)
public ActivityIntegrate(IIntegrator integrator,
int sleepPeriod,
boolean ignoreOverlap)
| Method Detail |
|---|
protected void run()
run in class Activitypublic int getSleepPeriod()
public void setSleepPeriod(int sleepPeriod)
public long getMaxSteps()
public void setMaxSteps(long maxSteps)
public long getCurrentStep()
public IIntegrator getIntegrator()
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||