Cantera  2.0
Namespaces | Functions
checkFinite.cpp File Reference

Declarations for Multi Dimensional Pointer (mdp) routines that check for the presence of NaNs in the code. More...

#include "cantera/base/ct_defs.h"
#include <stdexcept>
#include <string>
#include <cmath>
#include <cstdlib>
#include <cstdio>
Include dependency graph for checkFinite.cpp:

Go to the source code of this file.

Namespaces

namespace  mdp
 The mdp routines are extremely lightweight and fast fortran compatibile malloc routines for allocating multiple dimensioned arrays of doubles ints, char, and pointers using a single call.
 

Functions

void checkFinite (const double tmp)
 Utility routine to check to see that a number is finite.
 
void checkfinite_ (double *tmp)
 Utility routine to link checkFinte() to fortran program.
 
void checkMagnitude (const double tmp, const double trigger=1.0E20)
 utility routine to check that a double stays bounded
 
void checkZeroFinite (const double tmp)
 Utility routine to check to see that a number is neither zero nor indefinite.
 

Detailed Description

Declarations for Multi Dimensional Pointer (mdp) routines that check for the presence of NaNs in the code.

Definition in file checkFinite.cpp.