Block-Structured AMR Software Framework
Loading...
Searching...
No Matches
AMReX_FPC.H
Go to the documentation of this file.
1
2#ifndef BL_FPC_H
3#define BL_FPC_H
4#include <AMReX_Config.H>
5
6#include <AMReX_FabConv.H>
7
13namespace amrex {
14
23class FPC
24{
25public:
27 static const int normal_float_order[];
28
30 static const int reverse_float_order[];
31
33 static const int reverse_float_order_2[];
34
36 static const int normal_double_order[];
37
39 static const int reverse_double_order[];
40
42 static const int reverse_double_order_2[];
43
55 static const Long ieee_float[];
56
58 static const Long ieee_double[];
59
65 static const IntDescriptor& NativeLongDescriptor ();
66
72 static const IntDescriptor& NativeIntDescriptor ();
73
81 static const RealDescriptor& NativeRealDescriptor ();
82
89
95
101};
102
103}
104
105#endif /*BL_FPC_H*/
A Collection of Floating-Point Constants Supporting FAB I/O.
Definition AMReX_FPC.H:24
static const RealDescriptor & Native64RealDescriptor()
Definition AMReX_FPC.cpp:137
static const RealDescriptor & Ieee64NormalRealDescriptor()
Returns a constant reference to a RealDescriptor detailing the IEEE 64-bit normal FP format.
Definition AMReX_FPC.cpp:158
static const RealDescriptor & Native32RealDescriptor()
NativeRealDescriptor is equivalent to Native32RealDescriptor if BL_FLOAT is used. Otherwise,...
Definition AMReX_FPC.cpp:124
static const IntDescriptor & NativeLongDescriptor()
Returns a constant reference to an IntDescriptor describing the native "Long" under which AMReX was c...
Definition AMReX_FPC.cpp:89
static const RealDescriptor & Ieee32NormalRealDescriptor()
Returns a constant reference to a RealDescriptor detailing the IEEE 32-bit normal FP format.
Definition AMReX_FPC.cpp:150
static const int reverse_float_order_2[]
Another "reversed" FP order: {2,1,4,3}.
Definition AMReX_FPC.H:33
static const int reverse_double_order[]
A "reversed" double order: {8,7,6,5,4,3,2,1}.
Definition AMReX_FPC.H:39
static const IntDescriptor & NativeIntDescriptor()
Returns a constant reference to an IntDescriptor describing the native "int" under which AMReX was co...
Definition AMReX_FPC.cpp:76
static const int normal_double_order[]
The "normal" double order: {1,2,3,4,5,6,7,8}.
Definition AMReX_FPC.H:36
static const int reverse_double_order_2[]
Another "reversed" double order: {2,1,4,3,6,5,8,7}.
Definition AMReX_FPC.H:42
static const RealDescriptor & NativeRealDescriptor()
Returns a constant reference to a RealDescriptor describing the native Real under which AMReX was com...
Definition AMReX_FPC.cpp:103
static const Long ieee_double[]
Array detailing the format of IEEE 64-bit normal order doubles.
Definition AMReX_FPC.H:58
static const int normal_float_order[]
4-element array representing "normal" float order: {1,2,3,4}
Definition AMReX_FPC.H:27
static const int reverse_float_order[]
4-element array representing "reverse" float order: {4,3,2,1}
Definition AMReX_FPC.H:30
static const Long ieee_float[]
Array detailing the format of IEEE 32-bit normal order floats. In general, here's what the various in...
Definition AMReX_FPC.H:55
A Descriptor of the Long Integer type.
Definition AMReX_FabConv.H:29
A Descriptor of the Real Type.
Definition AMReX_FabConv.H:105
amrex_long Long
Definition AMReX_INT.H:30
Definition AMReX_Amr.cpp:50