Gerris
|
Classes | |
GfsOutputAdaptStats | |
GfsOutputBalance | |
GfsOutputBoundaries | |
GfsOutputDiffusionStats | |
GfsOutputLocation | |
GfsOutputObject | |
GfsOutputProgress | |
GfsOutputProjectionStats | |
GfsOutputScalar | |
GfsOutputSimulation | |
GfsOutputSolidForce | |
GfsOutputSolidStats | |
GfsOutputTime | |
GfsOutputTiming | |
Functions | |
void | gfs_output_mute (GfsOutput *output) |
GfsOutputFile * | gfs_output_file_new (FILE *fp) |
GfsOutputFile * | gfs_output_file_open (const gchar *name, const gchar *mode) |
void | gfs_output_file_close (GfsOutputFile *file) |
Writing simulation data.
void gfs_output_file_close | ( | GfsOutputFile * | file | ) |
file | a #GfsOutputFile. |
Decreases the reference count of file. If it reaches zero the file corresponding to file is closed and file is freed.
GfsOutputFile* gfs_output_file_new | ( | FILE * | fp | ) |
fp | a file pointer. |
GfsOutputFile* gfs_output_file_open | ( | const gchar * | name, |
const gchar * | mode | ||
) |
name | the name of the file to open. |
mode | the fopen mode. |
Checks whether name has already been opened. If it has, its reference count is incremented and the corresponding #GfsOutputFile is returned. If it has not, it is created and opened for writing.
void gfs_output_mute | ( | GfsOutput * | output | ) |
output | a #GfsOutput. |
"Mutes" the output defined by output, the event associated with output still takes place but the output itself is redirected to /dev/null.