#include <source/geometry/multiblock/patch_geom/BlockPatchGeometry.h>
Inheritance diagram for SAMRAI::geom::BlockPatchGeometry< DIM >:
Public Member Functions | |
BlockPatchGeometry (const hier::IntVector< DIM > &ratio_to_level_zero, const int block_number, const tbox::Array< tbox::Array< bool > > &touches_regular_bdry, const tbox::Array< tbox::Array< bool > > &touches_periodic_bdry) | |
~BlockPatchGeometry () | |
int | getBlockNumber () const |
virtual void | printClassData (std::ostream &os) const |
The grid data is set by BlockGridGeometry class. This patch geometry class is derived from hier::PatchGeometry<DIM> base class.
SAMRAI::geom::BlockPatchGeometry< DIM >::BlockPatchGeometry | ( | const hier::IntVector< DIM > & | ratio_to_level_zero, | |
const int | block_number, | |||
const tbox::Array< tbox::Array< bool > > & | touches_regular_bdry, | |||
const tbox::Array< tbox::Array< bool > > & | touches_periodic_bdry | |||
) |
Constructor for BlockPatchGeometry class. It simply passes patch boundary information and the ratio to the coarsest level to hier::PatchGeometry constructor.
SAMRAI::geom::BlockPatchGeometry< DIM >::~BlockPatchGeometry | ( | ) |
Destructor for BlockPatchGeometry.
int SAMRAI::geom::BlockPatchGeometry< DIM >::getBlockNumber | ( | ) | const [inline] |
Get the block number for the block on which the patch lies.
void SAMRAI::geom::BlockPatchGeometry< DIM >::printClassData | ( | std::ostream & | os | ) | const [virtual] |
Print BlockPatchGeometry class data.
Reimplemented from SAMRAI::hier::PatchGeometry< DIM >.