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

sigFpeImpl Class Reference

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

#include <OSspecific/sigFpeImpl.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.

This is the platform specific opaque implementation for class sigFpe.

Source files

Definition at line 70 of file sigFpeImpl.H.

List of all members.

Public Member Functions

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

Constructor & Destructor Documentation

sigFpeImpl (  ) [read]

Definition at line 132 of file sigFpeImpl.C.

~sigFpeImpl (  )

Definition at line 140 of file sigFpeImpl.C.

References Foam::abort(), Foam::env(), Foam::FatalError, and FatalErrorIn.


Member Function Documentation

void set ( const bool   verbose  )

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