COOLFluiD  Release kernel
COOLFluiD is a Collaborative Simulation Environment (CSE) focused on complex MultiPhysics simulations.
Functions
cf3::math::Consts Namespace Reference

Static functions for mathematical constants. More...

Functions

Real int_max ()
 Returns the maximum number representable with the chosen precision. More...
 
Real int_min ()
 Definition of the minimum number representable with the chosen precision. More...
 
Uint uint_max ()
 Returns the maximum number representable with the chosen precision. More...
 
Uint uint_min ()
 Definition of the minimum number representable with the chosen precision. More...
 
Real real_max ()
 Returns the maximum number representable with the chosen precision. More...
 
Real real_min ()
 Definition of the minimum number representable with the chosen precision. More...
 
Real real_nan ()
 Definition of the minimum number representable with the chosen precision. More...
 
Real eps ()
 
Real inf ()
 Definition of Infinity. More...
 
Real pi ()
 Definition of the Pi constant. More...
 

Detailed Description

Static functions for mathematical constants.

Author
Tiago Quintino
Willem Deconinck

Function Documentation

Real cf3::math::Consts::eps ( )
inline

Definition of the maximum difference recognazible between two numbers with the chosen precision. Usefull for comparisons to zero with real numbers:

std::abs(x) > math::Consts::eps()

Definition at line 44 of file Consts.hpp.

Real cf3::math::Consts::inf ( )
inline

Definition of Infinity.

Definition at line 46 of file Consts.hpp.

Real cf3::math::Consts::int_max ( )
inline

Returns the maximum number representable with the chosen precision.

Definition at line 28 of file Consts.hpp.

Real cf3::math::Consts::int_min ( )
inline

Definition of the minimum number representable with the chosen precision.

Definition at line 30 of file Consts.hpp.

Real cf3::math::Consts::pi ( )
inline

Definition of the Pi constant.

Definition at line 48 of file Consts.hpp.

Real cf3::math::Consts::real_max ( )
inline

Returns the maximum number representable with the chosen precision.

Definition at line 36 of file Consts.hpp.

Real cf3::math::Consts::real_min ( )
inline

Definition of the minimum number representable with the chosen precision.

Definition at line 38 of file Consts.hpp.

Real cf3::math::Consts::real_nan ( )
inline

Definition of the minimum number representable with the chosen precision.

Definition at line 40 of file Consts.hpp.

Uint cf3::math::Consts::uint_max ( )
inline

Returns the maximum number representable with the chosen precision.

Definition at line 32 of file Consts.hpp.

Uint cf3::math::Consts::uint_min ( )
inline

Definition of the minimum number representable with the chosen precision.

Definition at line 34 of file Consts.hpp.

Send comments to:
COOLFluiD Web Admin