Gerris
Functions

GfsEventScript

GfsEvent
Collaboration diagram for GfsEventScript:

Functions

FILE * gfs_popen (GfsSimulation *sim, const char *command, const char *type)

Detailed Description

Executing a shell-script at given times.

See also:

Syntax reference


Function Documentation

FILE* gfs_popen ( GfsSimulation *  sim,
const char *  command,
const char *  type 
)
Parameters:
sima #GfsSimulation.
commanda shell command.
type"r" for reading or "w" for writing.
Returns:
a file descriptor pointing to a pipe opened using the standard popen() command but which also defines standard Gerris shell variables. In case of error returns NULL.

Here is the call graph for this function:

 All Data Structures Files Functions Variables