Chombo + EB
3.0
|
#include <hdf5.h>
#include <math.h>
#include "NamespaceHeader.H"
#include "NamespaceFooter.H"
Go to the source code of this file.
Classes | |
struct | intvect2d |
struct | intvect3d |
struct | box2d |
struct | box3d |
union | box |
struct | regvof |
struct | irregface |
struct | irregvof |
struct | Attribute |
struct | HDF5attributes |
Macros | |
#define | _EBINTERFACE_H_ |
#define | ChTYPES 8 |
#define | ADD_ATTRIBUTE(attrib, Ttype, ChType, Sname, value) |
#define | ADD_CHAR_ATTRIBUTE(attrib, Sname, value) |
#define | CFINITE(X) !isnan(X) && (X) < HUGE_VAL && (X) > -HUGE_VAL |
Enumerations | |
enum | ChPrecision { Float, Double } |
enum | ChattributeType { INTEGER, FLOAT, DOUBLE, CHAR, INTVECT2D, INTVECT3D, BOX2D, BOX3D } |
Functions | |
void | initializeHDF5datatypes () |
int | writeEBChomboFile (const char *filename, box3d domain, int length, box3d *boxes, long *regoffset, long *irregoffset, long numreg, long numirreg, regvof *regularVofs, irregvof *irregularVofs) |
int | isEmpty (const box2d *) |
int | numPnts2 (const box2d *) |
int | numPnts3 (const box3d *) |
void | grow2 (box2d *, intvect2d *) |
void | grow3 (box3d *, intvect3d *) |
void | refine2 (box2d *, int refinement) |
void | refine3 (box3d *, int refinement) |
int | cut (const box3d *box, int dir, int index) |
box2d * | crossSection (const box3d *box, int dir, box2d *box2) |
int | Handleopen (HDF5Handle *handle, const char *filename, hid_t accessMode) |
int | HandlesetGroup (HDF5Handle *handle, const char *group) |
int | Handleclose (HDF5Handle handle) |
int | HandleCreateGroup (HDF5Handle *handle, const char *group) |
void | freeHDF5attributes (HDF5attributes *attributes) |
void | printAttributes (HDF5attributes *attributes) |
int | readHDF5attributes (HDF5attributes *attr, HDF5Handle handle) |
int | readBoxes (box **boxes, int *length, HDF5Handle handle) |
int | writeHDF5attributes (HDF5attributes *attr, HDF5Handle handle) |
int | writeBoxes (box *boxes, int length, HDF5Handle handle) |
Variables | |
static hid_t | intvect2d_id |
static hid_t | intvect3d_id |
static hid_t | box2d_id |
static hid_t | box3d_id |
struct { | |
hid_t file_ID | |
hid_t group_ID | |
int dim | |
ChPrecision precision | |
} | HDF5Handle |
static const char * | TYPE_NAMES [ChTYPES] |
Attribute * | ADD_tmp |
Attribute * | ADD_at |
#define _EBINTERFACE_H_ |
#define ChTYPES 8 |
#define ADD_ATTRIBUTE | ( | attrib, | |
Ttype, | |||
ChType, | |||
Sname, | |||
value | |||
) |
#define ADD_CHAR_ATTRIBUTE | ( | attrib, | |
Sname, | |||
value | |||
) |
#define CFINITE | ( | X | ) | !isnan(X) && (X) < HUGE_VAL && (X) > -HUGE_VAL |
create our own platform independent form that spans a lot of IEEE goofiness.
enum ChPrecision |
enum ChattributeType |
void initializeHDF5datatypes | ( | ) |
int writeEBChomboFile | ( | const char * | filename, |
box3d | domain, | ||
int | length, | ||
box3d * | boxes, | ||
long * | regoffset, | ||
long * | irregoffset, | ||
long | numreg, | ||
long | numirreg, | ||
regvof * | regularVofs, | ||
irregvof * | irregularVofs | ||
) |
int isEmpty | ( | const box2d * | ) |
Referenced by Box::copy().
int numPnts2 | ( | const box2d * | ) |
int numPnts3 | ( | const box3d * | ) |
void refine2 | ( | box2d * | , |
int | refinement | ||
) |
void refine3 | ( | box3d * | , |
int | refinement | ||
) |
int cut | ( | const box3d * | box, |
int | dir, | ||
int | index | ||
) |
int Handleopen | ( | HDF5Handle * | handle, |
const char * | filename, | ||
hid_t | accessMode | ||
) |
int HandlesetGroup | ( | HDF5Handle * | handle, |
const char * | group | ||
) |
int Handleclose | ( | HDF5Handle | handle | ) |
int HandleCreateGroup | ( | HDF5Handle * | handle, |
const char * | group | ||
) |
void freeHDF5attributes | ( | HDF5attributes * | attributes | ) |
void printAttributes | ( | HDF5attributes * | attributes | ) |
int readHDF5attributes | ( | HDF5attributes * | attr, |
HDF5Handle | handle | ||
) |
int readBoxes | ( | box ** | boxes, |
int * | length, | ||
HDF5Handle | handle | ||
) |
int writeHDF5attributes | ( | HDF5attributes * | attr, |
HDF5Handle | handle | ||
) |
int writeBoxes | ( | box * | boxes, |
int | length, | ||
HDF5Handle | handle | ||
) |
|
static |
|
static |
|
static |
|
static |
hid_t file_ID |
hid_t group_ID |
int dim |
Referenced by CutCellMoments< GLOBALDIM >::addBdMoments(), ComputeCutCellMoments< dim >::addMomentMaps(), DivNormalRefinement< dim >::approximateDivNormal(), CutCellMoments< GLOBALDIM >::changeMomentCoordinates(), LSProblem< dim >::computeBounds(), ComputeCutCellMoments< dim >::ComputeCutCellMoments(), ComputeCutCellMoments< dim >::computeMoments(), ComputeCutCellMoments< dim >::computeResiduals(), ComputeCutCellMoments< dim >::computeRhs(), CoordinateSystem< 1 >::convert(), CoordinateSystem< 1 >::CoordinateSystem(), CutCellMoments< GLOBALDIM >::CutCellMoments(), IFData< dim >::defineLocalCoords(), LSProblem< dim >::differentiate(), NoRefinement< dim >::doRefine(), FixedRefinement< dim >::doRefine(), NormalDerivative< dim >::evaluate(), NormalDerivative< dim >::expand(), ComputeCutCellMoments< dim >::factorial(), CutCellMoments< GLOBALDIM >::fullCellQuadrature(), generateMultiIndices(), CutCellMoments< GLOBALDIM >::getCentroid(), IFData< dim >::IFData(), CutCellMoments< GLOBALDIM >::initialize(), LSProblem< dim >::invertNormalEq(), IFData< dim >::isConnected(), LSProblem< dim >::LSProblem(), IFData< dim >::makeCornerSigns(), IFData< dim >::makeEdgeKey(), LSProblem< dim >::momentBounds(), LSProblem< dim >::monoMaxMin(), LSProblem< dim >::numMonomials(), LSProblem< dim >::outputMatrix(), IFSlicer< dim >::print(), LSProblem< dim >::print(), IFData< dim >::print(), CutCellMoments< GLOBALDIM >::print(), ComputeCutCellMoments< dim >::refine(), IFData< dim >::rootFinder(), LSProblem< dim >::setMatrix(), IFData< dim >::setNormalDerivatives(), ArSp::sizeOfDim(), ArSp::sizeOfDim< CHRange >(), CutCellMoments< GLOBALDIM >::sliceResidual(), IFSlicer< dim >::value(), and LSProblem< dim >::~LSProblem().
ChPrecision precision |
struct { ... } HDF5Handle |
|
static |
Attribute* ADD_tmp |
Attribute* ADD_at |