Gerris
Functions

init.c File Reference

Initialisation. More...

Functions

GtsObjectClass ** gfs_classes (void)
void gfs_catch_floating_point_exceptions (void)
int gfs_restore_floating_point_exceptions (void)
void gfs_disable_floating_point_exceptions (void)
void gfs_enable_floating_point_exceptions (void)
void gfs_init (int *argc, char ***argv)

Detailed Description

Initialisation.


Function Documentation

void gfs_catch_floating_point_exceptions ( void  )

Catch the default floating-point exceptions set in the Gerris library.

Here is the caller graph for this function:

GtsObjectClass** gfs_classes ( void  )
Returns:
a pointer to a NULL-terminated array of all the classes usable in Gerris parameter files.

Here is the caller graph for this function:

void gfs_disable_floating_point_exceptions ( void  )

Disables floating-point exceptions (they are enabled by default when using the Gerris library).

void gfs_enable_floating_point_exceptions ( void  )

Enables floating-point exceptions (they are enabled by default when using the Gerris library).

void gfs_init ( int *  argc,
char ***  argv 
)
Parameters:
argca pointer on the number of command line arguments passed to the program.
argva pointer on the command line arguments passed to the program.

Initializes the Gerris library. This function must be called before any other function of the library.

Here is the call graph for this function:

int gfs_restore_floating_point_exceptions ( void  )

Restores the default floating-point exceptions set in the Gerris library.

Returns:
0 if no exceptions where raised between this call and the call to gfs_catch_floating_point_exceptions(), non-zero otherwise.

Here is the caller graph for this function:

 All Data Structures Files Functions Variables