SAMRAI::geom::BlockPatchGeometry< DIM > Class Template Reference

#include <source/geometry/multiblock/patch_geom/BlockPatchGeometry.h>

Inheritance diagram for SAMRAI::geom::BlockPatchGeometry< DIM >:

Inheritance graph
[legend]
List of all members.

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

Detailed Description

template<int DIM>
class SAMRAI::geom::BlockPatchGeometry< DIM >

Class BlockPatchGeometry implements geometry management for a single patch in an AMR hierarchy with no information about the physical characteristics of the problem. This is intended for use in an application that will manage the physical geometry in user-defined code.

The grid data is set by BlockGridGeometry class. This patch geometry class is derived from hier::PatchGeometry<DIM> base class.

See also:
hier::BoundaryBox

hier::PatchGeometry

geom::BlockGridGeometry


Constructor & Destructor Documentation

template<int DIM>
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.

template<int DIM>
SAMRAI::geom::BlockPatchGeometry< DIM >::~BlockPatchGeometry (  ) 

Destructor for BlockPatchGeometry.


Member Function Documentation

template<int DIM>
int SAMRAI::geom::BlockPatchGeometry< DIM >::getBlockNumber (  )  const [inline]

Get the block number for the block on which the patch lies.

template<int DIM>
void SAMRAI::geom::BlockPatchGeometry< DIM >::printClassData ( std::ostream &  os  )  const [virtual]

Print BlockPatchGeometry class data.

Reimplemented from SAMRAI::hier::PatchGeometry< DIM >.


The documentation for this class was generated from the following files:
Generated on Thu Jun 18 11:28:27 2009 for SAMRAI by  doxygen 1.5.1