Gerris
Classes | Functions

GfsOutput

GfsEvent
Collaboration diagram for GfsOutput:

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)

Detailed Description

Writing simulation data.

See also:

Syntax reference


Function Documentation

void gfs_output_file_close ( GfsOutputFile *  file)
Parameters:
filea #GfsOutputFile.

Decreases the reference count of file. If it reaches zero the file corresponding to file is closed and file is freed.

Here is the caller graph for this function:

GfsOutputFile* gfs_output_file_new ( FILE *  fp)
Parameters:
fpa file pointer.
Returns:
a new #GfsOutputFile for fp.

Here is the caller graph for this function:

GfsOutputFile* gfs_output_file_open ( const gchar *  name,
const gchar *  mode 
)
Parameters:
namethe name of the file to open.
modethe 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.

Returns:
the #GfsOutputFile of file name.

Here is the call graph for this function:

Here is the caller graph for this function:

void gfs_output_mute ( GfsOutput *  output)
Parameters:
outputa #GfsOutput.

"Mutes" the output defined by output, the event associated with output still takes place but the output itself is redirected to /dev/null.

Here is the call graph for this function:

 All Data Structures Files Functions Variables