org.jcpsim.ode
Class Tasks
java.lang.Object
org.jcpsim.ode.Tasks
public class Tasks
- extends java.lang.Object
Tasks which have to be performed before and after the
differential equations
|
Constructor Summary |
Tasks()
|
|
Method Summary |
void |
after(double t)
|
void |
afterMacroTimeStep(double t)
The step just taken was small enough to achieve smooth
animations (usually smaller than 0.1 second). |
void |
afterTimeStep(double t,
double dtused)
The step just taken was small enough to achieve sufficient
accurate integration of the differential equations. |
void |
before(double t)
|
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Tasks
public Tasks()
before
public void before(double t)
after
public void after(double t)
afterTimeStep
public void afterTimeStep(double t,
double dtused)
- The step just taken was small enough to achieve sufficient
accurate integration of the differential equations.
- Parameters:
t - The time that was reached by the time step (not neccessarily
'real time' !!!).dtused - The time step that previously was used
afterMacroTimeStep
public void afterMacroTimeStep(double t)
- The step just taken was small enough to achieve smooth
animations (usually smaller than 0.1 second).
- Parameters:
t - The time that was reached by the time step (not neccessarily
'real time' !!!).
jCpSim (Java CardioPulmonary SIMulations), v0.2.01
Dr. Frank Fischer, frank@jcpsim.org, http://www.jcpsim.org