public interface RequiresPrePostAdvance
| Modifier and Type | Method and Description |
|---|---|
void |
postadvance(double t0,
double t1,
int flags)
Called from within the model's
advance() method, after all position and velocity state has been
advanced. |
void |
preadvance(double t0,
double t1,
int flags)
Called from within the model's {
advance() method, before position and velocity states are
advanced. |
void preadvance(double t0,
double t1,
int flags)
advance() method, before position and velocity states are
advanced.t0 - current time (seconds)t1 - new time to be advanced to (seconds)flags - flags passed to the model's
preadvance() method (reserved for future use).void postadvance(double t0,
double t1,
int flags)
advance() method, after all position and velocity state has been
advanced.t0 - current time (seconds)t1 - new time to be advanced to (seconds)flags - flags passed to the model's
advance() method (reserved for future use).