OpenFOAM logo
The Open Source CFD Toolbox
  Source Guide OpenCFD Solutions Contact OpenFOAM

sigFpe Class Reference

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

List of all members.


Public Member Functions

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

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 61 of file sigFpe.H.


Constructor & Destructor Documentation

sigFpe (  )  [read]

Definition at line 127 of file sigFpe.C.

~sigFpe (  ) 

Definition at line 135 of file sigFpe.C.


Member Function Documentation

void set ( const bool  verbose  ) 

Definition at line 171 of file sigFpe.C.


The documentation for this class was generated from the following files:
Copyright © 2000-2009 OpenCFD Ltd