FreeFOAM The Cross-Platform CFD Toolkit
Hosted by SourceForge:
Get FreeFOAM at SourceForge.net.
            Fast, secure and Free Open Source software downloads

sigFpe Class Reference

Set up trapping for floating point exceptions (signal FPE). More...

#include <OSspecific/sigFpe.H>


Detailed Description

Set up trapping for floating point exceptions (signal FPE).

Controlled by two env vars:

Parameters:
FOAM_SIGFPE
exception trapping
FOAM_SETNAN
initialization of all malloced memory to NaN. If FOAM_SIGFPE also set, this will cause usage of uninitialized scalars to trigger an abort.
Source files

Definition at line 58 of file sigFpe.H.

Collaboration diagram for sigFpe:

List of all members.

Public Member Functions

 sigFpe ()
 ~sigFpe ()
void  set (const bool verbose)

Constructor & Destructor Documentation

sigFpe (  )
~sigFpe (  )

Member Function Documentation

void set ( const bool   verbose  )

The documentation for this class was generated from the following file: