#include <requests.h>
Static Public Member Functions | |
Requests processed when detected | |
| bool | abort (const THeader &header) |
| Aborts the simulation by exiting "cleanly" from the process. | |
Requests processed only after a successful step | |
| bool | stop (const THeader &header) |
| Stops the simulation after the next successful step. | |
| bool | set_stop_time (const THeader &header, double time) |
Sets the time time at which the simulation will be stopped. | |
| bool | report (const THeader &header) |
| Generates a "forced" report at the current time. | |
| bool | snapshot (const THeader &header, const char *filename) |
| Generates a snapshot file named filename where filename can include a valid path. | |
| bool | set_meeting_point (const THeader &header, double time) |
| Forces the time stepper to synchronize with time, whereby time > current time. | |
| bool | clear_meeting_points (const THeader &header) |
| Clears all meeting points assumulated so far through synchronize requests. | |
| bool | restart (const THeader &header) |
| Restarts the simulation with a static step in order to perform a consistent initialization calculation. | |
Restricted requests | |
| bool | set_time_step (const THeader &header, double h) |
| Sets the time step h for the next dynamic step. | |
| bool | set_dynamic_stepper (const THeader &header) |
| Sets dynamic stepper that will be used from now on for all dynamic steps. | |
|
|
Aborts the simulation by exiting "cleanly" from the process.
|
|
|
Stops the simulation after the next successful step.
|
|
||||||||||||
|
Sets the time This request is accepted only if the requested stop time is ahead of the current global time of the simulator. It will however overwrite a previous stop time request if the new one indicates an earlier stopping time. The stop time does not overwrite the final time specified in the runtime control parameters.
|
|
|
Generates a "forced" report at the current time.
|
|
||||||||||||
|
Generates a snapshot file named filename where filename can include a valid path.
|
|
||||||||||||
|
Forces the time stepper to synchronize with time, whereby time > current time.
|
|
|
Clears all meeting points assumulated so far through synchronize requests.
|
|
|
Restarts the simulation with a static step in order to perform a consistent initialization calculation.
|
|
||||||||||||
|
Sets the time step h for the next dynamic step.
|
|
|
Sets dynamic stepper that will be used from now on for all dynamic steps.
|