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_Interactionparentlist () const
GDB_Interactionparentlist ()
const BBoxparentbox (const int &j)
const int & parentidx (const int &j)
int has_children () const
const int & children () const
const GDB_Interactionchildlist () const
GDB_Interactionchildlist ()
const BBoxchildbox (const int &j)
const int & childidx (const int &j)
GDB_Interaction ** gdbReadInfo (const int proc)
GDB_Interaction ** gdbWriteInfo (const int proc)
const BBoxboundingbox () const
const BBoxinteriorbox () const
const BBoxdatabox () 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 BBoxListexternalbndrylist (const int dir) const
BBoxListexternalbndrylist (const int dir)
int has_adaptiveboundaries () const
int has_adaptiveboundary (const int dir) const
const BBoxadaptivebndrybox (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>
const BBox& GridDataBlock< Type, dim >::childbox ( const int &  j  )  [inline]
template<class Type, int dim>
const int& GridDataBlock< Type, dim >::childidx ( const int &  j  )  [inline]
template<class Type, int dim>
GDB_Interaction* GridDataBlock< Type, dim >::childlist (  )  [inline]
template<class Type, int dim>
const GDB_Interaction* GridDataBlock< Type, dim >::childlist (  )  const [inline]
template<class Type, int dim>
const int& GridDataBlock< Type, dim >::children (  )  const [inline]
template<class Type, int dim>
const BBox& GridDataBlock< Type, dim >::databox (  )  const [inline]
template<class Type, int dim>
BBoxList* GridDataBlock< Type, dim >::externalbndrylist ( const int  dir  )  [inline]
template<class Type, int dim>
const BBoxList* GridDataBlock< Type, dim >::externalbndrylist ( const int  dir  )  const [inline]
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>
GDB_Interaction** GridDataBlock< Type, dim >::gdbReadInfo ( const int  proc  )  [inline]
template<class Type, int dim>
GDB_Interaction** GridDataBlock< Type, dim >::gdbWriteInfo ( const int  proc  )  [inline]
template<class Type, int dim>
const GridData<Type,dim>& GridDataBlock< Type, dim >::griddata (  )  const [inline]
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>
int GridDataBlock< Type, dim >::has_children (  )  const [inline]
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>
int GridDataBlock< Type, dim >::has_parents (  )  const [inline]
template<class Type, int dim>
const BBox& GridDataBlock< Type, dim >::interiorbox (  )  const [inline]
template<class Type , int dim>
int GridDataBlock< Type, dim >::MemoryUsage (  )  [inline]
template<class Type, int dim>
const BBox& GridDataBlock< Type, dim >::parentbox ( const int &  j  )  [inline]
template<class Type, int dim>
const int& GridDataBlock< Type, dim >::parentidx ( const int &  j  )  [inline]
template<class Type, int dim>
GDB_Interaction* GridDataBlock< Type, dim >::parentlist (  )  [inline]
template<class Type, int dim>
const GDB_Interaction* GridDataBlock< Type, dim >::parentlist (  )  const [inline]
template<class Type, int dim>
const int& GridDataBlock< Type, dim >::parents (  )  const [inline]

Friends And Related Function Documentation

template<class Type, int dim>
friend class GridFunction< Type, dim > [friend]
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>
short GridDataBlock< Type, dim >::levelnum

Referenced by operator<<(), and operator>>().

template<class Type, int dim>
short GridDataBlock< Type, dim >::timenum

timenum - 0 to 2*time_stencil

Referenced by GridDataBlock< Type, dim >::gdbPrintData(), operator<<(), and operator>>().


The documentation for this class was generated from the following files:
Generated on Thu Jun 30 02:19:00 2016 for AMROC's Hierachical Data Structures by  doxygen 1.6.3