GridDataBlock< Type, dim > Class Template Reference
A single grid with data used within a GridFunction.
More...
#include <GridDataBlock.h>
List of all members.
Public Member Functions |
int | has_parents () const |
const int & | parents () const |
const GDB_Interaction * | parentlist () const |
GDB_Interaction * | parentlist () |
const BBox & | parentbox (const int &j) |
const int & | parentidx (const int &j) |
int | has_children () const |
const int & | children () const |
const GDB_Interaction * | childlist () const |
GDB_Interaction * | childlist () |
const BBox & | childbox (const int &j) |
const int & | childidx (const int &j) |
GDB_Interaction ** | gdbReadInfo (const int proc) |
GDB_Interaction ** | gdbWriteInfo (const int proc) |
const BBox & | boundingbox () const |
const BBox & | interiorbox () const |
const BBox & | databox () const |
int | has_externalboundaries () const |
int | has_externalboundary (const int dir) const |
const int & | externalboundaries (const int dir) const |
int | externalboundaries (const int dir) |
const BBoxList * | externalbndrylist (const int dir) const |
BBoxList * | externalbndrylist (const int dir) |
int | has_adaptiveboundaries () const |
int | has_adaptiveboundary (const int dir) const |
const BBox & | adaptivebndrybox (const int dir) const |
void | gdbPrintData (std::ostream &os) const |
int | MemoryUsage () |
GridData< Type, dim > & | griddata () |
const GridData< Type, dim > & | griddata () const |
Public Attributes |
short | timenum |
| timenum - 0 to 2*time_stencil
|
short | levelnum |
Friends |
class | GridFunction< Type, dim > |
std::ostream & | operator<< (std::ostream &, const GridDataBlock< Type, dim > &) |
std::ofstream & | operator<< (std::ofstream &, const GridDataBlock< Type, dim > &) |
std::ifstream & | operator>> (std::ifstream &, GridDataBlock< Type, dim > &) |
std::stringstream & | operator<< (std::stringstream &, const GridDataBlock< Type, dim > &) |
std::stringstream & | operator>> (std::stringstream &, GridDataBlock< Type, dim > &) |
Detailed Description
template<class Type, int dim>
class GridDataBlock< Type, dim >
A single grid with data used within a GridFunction.
This class creates storage and interaction information for a grid block at a particular level. A GridDataBlock knows its neighbours, parents of the coarser levels and its children on the finer level.
- Author:
- Ralf Deiterding, Manish Parashar
Member Function Documentation
template<class Type, int dim>
const BBox& GridDataBlock< Type, dim >::adaptivebndrybox |
( |
const int |
dir |
) |
const [inline] |
template<class Type, int dim>
template<class Type, int dim>
template<class Type, int dim>
const int& GridDataBlock< Type, dim >::childidx |
( |
const int & |
j |
) |
[inline] |
template<class Type, int dim>
template<class Type, int dim>
template<class Type, int dim>
const int& GridDataBlock< Type, dim >::children |
( |
|
) |
const [inline] |
template<class Type, int dim>
template<class Type, int dim>
template<class Type, int dim>
template<class Type, int dim>
int GridDataBlock< Type, dim >::externalboundaries |
( |
const int |
dir |
) |
[inline] |
template<class Type, int dim>
const int& GridDataBlock< Type, dim >::externalboundaries |
( |
const int |
dir |
) |
const [inline] |
template<class Type , int dim>
void GridDataBlock< Type, dim >::gdbPrintData |
( |
std::ostream & |
os |
) |
const [inline] |
template<class Type, int dim>
template<class Type, int dim>
template<class Type, int dim>
const GridData<Type,dim>& GridDataBlock< Type, dim >::griddata |
( |
|
) |
const [inline] |
template<class Type, int dim>
GridData<Type,dim>& GridDataBlock< Type, dim >::griddata |
( |
|
) |
[inline] |
Referenced by GridDataBlock< GFType, dim >::databox(), GridFunction< GFType, dim >::GF_AdaptiveBndryUpdate(), GridFunction< GFType, dim >::GF_CheckpointRestart(), GridFunction< GFType, dim >::GF_Copy(), GridFunction< GFType, dim >::GF_DebugPrintData(), GridFunction< GFType, dim >::GF_DebugPrintIntData(), GridFunction< GFType, dim >::GF_divide(), GridFunction< GFType, dim >::GF_equals(), GridFunction< GFType, dim >::GF_ExternalBndryUpdate(), GridFunction< GFType, dim >::GF_Fill(), GridFunction< GFType, dim >::GF_IO(), GridFunction< GFType, dim >::GF_maxval(), GridFunction< GFType, dim >::GF_minus(), GridFunction< GFType, dim >::GF_minval(), GridFunction< GFType, dim >::GF_multiply(), GridFunction< GFType, dim >::GF_norm(), GridFunction< GFType, dim >::GF_plus(), GridFunction< GFType, dim >::GF_product(), GridFunction< GFType, dim >::GF_Prolong(), GridFunction< GFType, dim >::GF_Read(), GridFunction< GFType, dim >::GF_ReadGhosts(), GridFunction< GFType, dim >::GF_Restrict(), GridFunction< GFType, dim >::GF_sum(), operator<<(), and operator>>().
template<class Type, int dim>
int GridDataBlock< Type, dim >::has_adaptiveboundaries |
( |
|
) |
const [inline] |
template<class Type, int dim>
int GridDataBlock< Type, dim >::has_adaptiveboundary |
( |
const int |
dir |
) |
const [inline] |
template<class Type, int dim>
template<class Type, int dim>
int GridDataBlock< Type, dim >::has_externalboundaries |
( |
|
) |
const [inline] |
template<class Type, int dim>
int GridDataBlock< Type, dim >::has_externalboundary |
( |
const int |
dir |
) |
const [inline] |
template<class Type, int dim>
template<class Type, int dim>
template<class Type , int dim>
template<class Type, int dim>
template<class Type, int dim>
const int& GridDataBlock< Type, dim >::parentidx |
( |
const int & |
j |
) |
[inline] |
template<class Type, int dim>
template<class Type, int dim>
template<class Type, int dim>
const int& GridDataBlock< Type, dim >::parents |
( |
|
) |
const [inline] |
Friends And Related Function Documentation
template<class Type, int dim>
template<class Type, int dim>
std::stringstream& operator<< |
( |
std::stringstream & |
ofs, |
|
|
const GridDataBlock< Type, dim > & |
gdb | |
|
) |
| | [friend] |
template<class Type, int dim>
std::ofstream& operator<< |
( |
std::ofstream & |
ofs, |
|
|
const GridDataBlock< Type, dim > & |
gdb | |
|
) |
| | [friend] |
template<class Type, int dim>
std::ostream& operator<< |
( |
std::ostream & |
os, |
|
|
const GridDataBlock< Type, dim > & |
gdb | |
|
) |
| | [friend] |
template<class Type, int dim>
std::stringstream& operator>> |
( |
std::stringstream & |
ifs, |
|
|
GridDataBlock< Type, dim > & |
gdb | |
|
) |
| | [friend] |
template<class Type, int dim>
std::ifstream& operator>> |
( |
std::ifstream & |
ifs, |
|
|
GridDataBlock< Type, dim > & |
gdb | |
|
) |
| | [friend] |
Member Data Documentation
template<class Type, int dim>
template<class Type, int dim>
The documentation for this class was generated from the following files: