REAL.H File Reference

This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Defines

#define BL_USE_DOUBLE   1
 The macro BL indicates that C++ floating-point calculations should use "double" variables and Fortran floating-point calculations should use "real*8" variables.

Typedefs

typedef double Real
 Real is a typedef specifying the precision of the floating-point calculations in C++ code.


Define Documentation

#define BL_USE_DOUBLE   1

The macro BL indicates that C++ floating-point calculations should use "double" variables and Fortran floating-point calculations should use "real*8" variables.

One of BL or BL must always be defined when compiling and using BoxLib. This macro is not allowed on Cray architectures; i.e. only BL is allowed on Cray architectures.


Typedef Documentation

typedef double Real

Real is a typedef specifying the precision of the floating-point calculations in C++ code.

It will be either `float' or `double' depending upon which of the macros BL or BL, respectively, is defined during compilations. For portability, you should write floating-point code in terms of this typedef, instead of using `float' or `double' directly.

Note that exactly one of these macros must be defined when compiling any module that uses floating-point. Also, on Cray architectures all floating-point computations are done in 64 bits.


Generated on Fri Nov 21 10:10:59 2008 for AMRParticlePaths by  doxygen 1.5.5