< Gerris Manual < Object hierarchy
GfsEventScript can be used to execute a shell-script at given intervals.
The syntax in parameter files is as follows:
[ GfsEvent ] { COMMANDS }
where COMMANDS is the script to be executed with /bin/sh.
Several shell variables are set:
- GfsTime
- the physical time
- GfsIter
- the iteration number
- GfsPid
- the processor number
- GFS_STOP
- if the exit status of the shell script is GFS_STOP the simulation is terminated
This article is issued from
Wikibooks.
The text is licensed under Creative
Commons - Attribution - Sharealike.
Additional terms may apply for the media files.