Assemble GridData-objects of a GridFunction in a consecutive memory regions for communication. More...
#include <PackedGridDataBucket.h>
Public Member Functions | |
GridDataBucketVoid * | alias () |
GridDataBucketVoid (const BBox &bb, const unsigned gf, const int time, const int time_value, const int level, const int index, const int who, const unsigned datasize, const int type) | |
GridDataBucketVoid (const BBox &bb, const unsigned gf, const int gfdtype, const int gfstype, const char *gfname, const int time, const int time_value, const int level, const int index, const int who, const unsigned datasize, const int type) | |
GridDataBucketVoid (const int n, unsigned *dsizes, const int type) | |
void | add (const BBox &bb, const unsigned gf, const int time, const int time_value, const int level, const int index, const int who, const int n) |
void | add (const BBox &bb, const unsigned gf, const int gfdtype, const int gfstype, const char *gfname, const int time, const int time_value, const int level, const int index, const int who, const int n) |
GridDataBucketVoid (const void *package) | |
GridDataBucketVoid (void *package) | |
GridDataBucketVoid (const void *package, const int n) | |
GridDataBucketVoid (const struct gdhdr &other, const unsigned datasize) | |
int | type () const |
struct gdhdr * | head () |
struct gdhdr * | head (const int i) |
BBox const & | bbox () const |
BBox const & | bbox (const int i) const |
short int | owner () const |
short int | owner (const int i) const |
short int | time () const |
short int | time (const int i) const |
short int | time_value () const |
short int | time_value (const int i) const |
short int | level () const |
short int | level (const int i) const |
short int | index () const |
short int | index (const int i) const |
short unsigned | gfid () const |
short unsigned | gfid (const int i) const |
short | gfdatatype () const |
short | gfdatatype (const int i) const |
short | gfstaggertype () const |
short | gfstaggertype (const int i) const |
char * | gfname () const |
char * | gfname (const int i) const |
void | setgfname (const char *name) const |
void | setgfname (const char *name, const int i) const |
Assemble GridData-objects of a GridFunction in a consecutive memory regions for communication.
Common behaviour of GridDataBucket independent of the datatype of the corresponding GridFunction. The communication operations for a GridFunction are minimized by communicating lists instead of single GridData-objects. Such a list is created inside a GridDataBucket temporarily in a continous memory region.
GridDataBucketVoid::GridDataBucketVoid | ( | const BBox & | bb, | |
const unsigned | gf, | |||
const int | time, | |||
const int | time_value, | |||
const int | level, | |||
const int | index, | |||
const int | who, | |||
const unsigned | datasize, | |||
const int | type | |||
) |
GridDataBucketVoid::GridDataBucketVoid | ( | const BBox & | bb, | |
const unsigned | gf, | |||
const int | gfdtype, | |||
const int | gfstype, | |||
const char * | gfname, | |||
const int | time, | |||
const int | time_value, | |||
const int | level, | |||
const int | index, | |||
const int | who, | |||
const unsigned | datasize, | |||
const int | type | |||
) |
GridDataBucketVoid::GridDataBucketVoid | ( | const int | n, | |
unsigned * | dsizes, | |||
const int | type | |||
) | [inline] |
GridDataBucketVoid::GridDataBucketVoid | ( | const void * | package | ) | [inline] |
References DataBucketVoid::head(), and type().
GridDataBucketVoid::GridDataBucketVoid | ( | void * | package | ) | [inline] |
References DataBucketVoid::head(), and type().
GridDataBucketVoid::GridDataBucketVoid | ( | const void * | package, | |
const int | n | |||
) | [inline] |
References DAGHSingle, DataBucketVoid::head(), and type().
GridDataBucketVoid::GridDataBucketVoid | ( | const struct gdhdr & | other, | |
const unsigned | datasize | |||
) |
void GridDataBucketVoid::add | ( | const BBox & | bb, | |
const unsigned | gf, | |||
const int | gfdtype, | |||
const int | gfstype, | |||
const char * | gfname, | |||
const int | time, | |||
const int | time_value, | |||
const int | level, | |||
const int | index, | |||
const int | who, | |||
const int | n | |||
) |
void GridDataBucketVoid::add | ( | const BBox & | bb, | |
const unsigned | gf, | |||
const int | time, | |||
const int | time_value, | |||
const int | level, | |||
const int | index, | |||
const int | who, | |||
const int | n | |||
) |
GridDataBucketVoid* GridDataBucketVoid::alias | ( | ) | [inline] |
Reimplemented from ObjectCounter.
References ObjectCounter::alias().
Referenced by GridTableGhostRcv::rcv_update(), and GridTableDataRcv::rcv_update().
BBox const& GridDataBucketVoid::bbox | ( | const int | i | ) | const [inline] |
References bbox(), and DataBucketVoid::head().
BBox const& GridDataBucketVoid::bbox | ( | ) | const [inline] |
References DataBucketVoid::head().
Referenced by bbox(), GridData< Type, 3 >::copy(), GridData< Type, 2 >::copy(), and GridData< Type, 1 >::copy().
short GridDataBucketVoid::gfdatatype | ( | const int | i | ) | const [inline] |
References gfdatatype(), and DataBucketVoid::head().
short GridDataBucketVoid::gfdatatype | ( | ) | const [inline] |
References DataBucketVoid::head().
Referenced by gfdatatype().
short unsigned GridDataBucketVoid::gfid | ( | const int | i | ) | const [inline] |
References gfid(), and DataBucketVoid::head().
short unsigned GridDataBucketVoid::gfid | ( | ) | const [inline] |
References DataBucketVoid::head().
Referenced by gfid().
char* GridDataBucketVoid::gfname | ( | const int | i | ) | const [inline] |
References gfname(), and DataBucketVoid::head().
char* GridDataBucketVoid::gfname | ( | ) | const [inline] |
References DataBucketVoid::head().
Referenced by gfname(), and setgfname().
short GridDataBucketVoid::gfstaggertype | ( | const int | i | ) | const [inline] |
References gfstaggertype(), and DataBucketVoid::head().
short GridDataBucketVoid::gfstaggertype | ( | ) | const [inline] |
References DataBucketVoid::head().
Referenced by gfstaggertype().
struct gdhdr* GridDataBucketVoid::head | ( | const int | i | ) | [inline, read] |
Reimplemented from DataBucketVoid.
References DataBucketVoid::head().
struct gdhdr* GridDataBucketVoid::head | ( | void | ) | [inline, read] |
Reimplemented from DataBucketVoid.
References DataBucketVoid::head().
Referenced by GridFunction< GFType, dim >::GF_Read(), GridFunction< GFType, dim >::GF_ReadGhosts(), GridFunction< GFType, dim >::GF_Write(), GridFunction< GFType, dim >::GF_WriteGhosts(), GridTableGhostRcv::rcv_update(), GridTableDataRcv::rcv_update(), DAGHIOServerRcv::rcv_update(), and DAGHIOServerSnd::snd_update().
short int GridDataBucketVoid::index | ( | const int | i | ) | const [inline] |
References DataBucketVoid::head(), and index().
short int GridDataBucketVoid::index | ( | ) | const [inline] |
References DataBucketVoid::head().
Referenced by index().
short int GridDataBucketVoid::level | ( | const int | i | ) | const [inline] |
References DataBucketVoid::head(), and level().
short int GridDataBucketVoid::level | ( | ) | const [inline] |
References DataBucketVoid::head().
Referenced by level().
short int GridDataBucketVoid::owner | ( | const int | i | ) | const [inline] |
References DataBucketVoid::head(), and owner().
short int GridDataBucketVoid::owner | ( | ) | const [inline] |
References DataBucketVoid::head().
Referenced by owner(), and DAGHIOServerSnd::snd_update().
void GridDataBucketVoid::setgfname | ( | const char * | name, | |
const int | i | |||
) | const [inline] |
References DAGHBktGFNameWidth, gfname(), and DataBucketVoid::head().
void GridDataBucketVoid::setgfname | ( | const char * | name | ) | const [inline] |
References DAGHBktGFNameWidth, gfname(), and DataBucketVoid::head().
Referenced by GridFunction< GFType, dim >::GF_Read(), and GridFunction< GFType, dim >::GF_Write().
short int GridDataBucketVoid::time | ( | const int | i | ) | const [inline] |
References DataBucketVoid::head(), and time().
short int GridDataBucketVoid::time | ( | ) | const [inline] |
References DataBucketVoid::head().
Referenced by time().
short int GridDataBucketVoid::time_value | ( | const int | i | ) | const [inline] |
References DataBucketVoid::head(), and time_value().
short int GridDataBucketVoid::time_value | ( | ) | const [inline] |
References DataBucketVoid::head().
Referenced by time_value().
int GridDataBucketVoid::type | ( | ) | const [inline] |