Data for an entry inside GridDataBucket. More...
#include <PackedGridDataBucket.h>
Public Member Functions | |
gdhdr () | |
gdhdr (struct gdhdr &other) | |
gdhdr (const BBox &bb, const unsigned gf, const int gft, const int gfs, const char *gfn, const int t, const int tv, const int l, const int index, const int who, const int type) | |
Static Public Member Functions | |
static unsigned | gdbsize (const unsigned dsize) |
Public Attributes | |
short int | type |
Bucket type - DAGHSingle or DAGHPacked. | |
short int | owner |
Who owns the associated Grid function. | |
short unsigned | gfid |
GridFunction id. | |
short | gfdatatype |
Grid function data type. | |
short | gfstaggertype |
Grid function staggering (DAGHCellCentered. | |
char | gfname [(32)] |
Grid function name. | |
BBox | bbox |
Region. | |
short int | time |
Internal time index. | |
int | time_value |
Unique time value. | |
char | physical_time [sizeof(double)] |
Physical time. | |
short int | level |
Level. | |
short int | index |
Internal storage index. | |
Friends | |
std::ostream & | operator<< (std::ostream &os, const struct gdhdr &hdr) |
Data for an entry inside GridDataBucket.
gdhdr::gdhdr | ( | ) | [inline] |
gdhdr::gdhdr | ( | struct gdhdr & | other | ) |
References DAGHBktGFNameWidth, gfname, and physical_time.
gdhdr::gdhdr | ( | const BBox & | bb, | |
const unsigned | gf, | |||
const int | gft, | |||
const int | gfs, | |||
const char * | gfn, | |||
const int | t, | |||
const int | tv, | |||
const int | l, | |||
const int | index, | |||
const int | who, | |||
const int | type | |||
) |
References DAGHBktGFNameWidth, gfname, and physical_time.
unsigned gdhdr::gdbsize | ( | const unsigned | dsize | ) | [static] |
Referenced by GridFunction< GFType, dim >::GF_Read(), and GridFunction< GFType, dim >::GF_Write().
std::ostream& operator<< | ( | std::ostream & | os, | |
const struct gdhdr & | hdr | |||
) | [friend] |
short gdhdr::gfdatatype |
Grid function data type.
Referenced by GridDataBucketVoid::add(), DAGHIO_HDF_NCSA_Read(), DAGHIO_HDF_NCSA_Write(), GridDataBucketVoid::GridDataBucketVoid(), and operator<<().
short unsigned gdhdr::gfid |
GridFunction id.
Referenced by GridDataBucketVoid::add(), GridDataBucketVoid::GridDataBucketVoid(), and operator<<().
char gdhdr::gfname[(32)] |
Grid function name.
Referenced by GridDataBucketVoid::add(), DAGHIO_HDF_NCSA_Read(), DAGHIO_HDF_NCSA_Write(), gdhdr(), GridDataBucketVoid::GridDataBucketVoid(), and operator<<().
short gdhdr::gfstaggertype |
Grid function staggering (DAGHCellCentered.
. etc)
Referenced by GridDataBucketVoid::add(), GridDataBucketVoid::GridDataBucketVoid(), and operator<<().
short int gdhdr::index |
Internal storage index.
Referenced by GridDataBucketVoid::add(), DAGHIO_HDF_NCSA_Write(), GridFunction< GFType, dim >::GF_ReadGhosts(), GridDataBucketVoid::GridDataBucketVoid(), and operator<<().
short int gdhdr::level |
short int gdhdr::owner |
Who owns the associated Grid function.
Referenced by GridDataBucketVoid::add(), DAGHIO_HDF_NCSA_Write(), GridDataBucketVoid::GridDataBucketVoid(), and operator<<().
char gdhdr::physical_time[sizeof(double)] |
Physical time.
Referenced by GridDataBucketVoid::add(), DAGHIO_HDF_NCSA_Read(), DAGHIO_HDF_NCSA_Write(), gdhdr(), GridDataBucketVoid::GridDataBucketVoid(), and operator<<().
short int gdhdr::time |
Unique time value.
Referenced by GridDataBucketVoid::add(), DAGHIO_HDF_NCSA_Write(), GridFunction< GFType, dim >::GF_ReadGhosts(), GridFunction< GFType, dim >::GF_WriteGhosts(), GridDataBucketVoid::GridDataBucketVoid(), and operator<<().
short int gdhdr::type |
Bucket type - DAGHSingle or DAGHPacked.
Referenced by GridDataBucketVoid::add(), GridDataBucketVoid::GridDataBucketVoid(), and operator<<().