SAMRAI::pdat::EdgeGeometry< DIM > Class Template Reference

#include <source/patchdata/boxgeometry/EdgeGeometry.h>

Inheritance diagram for SAMRAI::pdat::EdgeGeometry< DIM >:

Inheritance graph
[legend]
List of all members.

Public Types

typedef EdgeOverlap< DIM > Overlap

Public Member Functions

 EdgeGeometry (const hier::Box< DIM > &box, const hier::IntVector< DIM > &ghosts)
 Construct the edge geometry object given an AMR index space box and ghost cell width.
virtual ~EdgeGeometry ()
 The virtual destructor does nothing interesting.
virtual tbox::Pointer< hier::BoxOverlap<
DIM > > 
calculateOverlap (const hier::BoxGeometry< DIM > &dst_geometry, const hier::BoxGeometry< DIM > &src_geometry, const hier::Box< DIM > &src_mask, const bool overwrite_interior, const hier::IntVector< DIM > &src_offset, const bool retry) const
 Compute the overlap in edge-centered index space between the source box geometry and the destination box geometry.
const hier::Box< DIM > & getBox () const
 Return the box for this edge centered box geometry object.
const hier::IntVector< DIM > & getGhosts () const
 Return the ghost cell width for this edge centered box geometry object.

Static Public Member Functions

static hier::Box< DIM > toEdgeBox (const hier::Box< DIM > &box, int axis)
 Convert an AMR index box space box into an edge geometry box. An edge geometry box extends the given AMR index box space box by one in upper dimension for each coordinate direction not equal to the axis direction.

Detailed Description

template<int DIM>
class SAMRAI::pdat::EdgeGeometry< DIM >

Class EdgeGeometry<DIM> manages the mapping between the AMR index space and the edge-centered geometry index space. It is a subclass of hier::BoxGeometry<DIM> and it computes intersections between edge- centered box geometries for communication operations.

See header file for EdgeData<DIM> class for a more detailed description of the data layout.

See also:
hier::BoxGeometry

pdat::EdgeOverlap


Member Typedef Documentation

template<int DIM>
typedef EdgeOverlap<DIM> SAMRAI::pdat::EdgeGeometry< DIM >::Overlap

The BoxOverlap implemenation for this geometry.


Constructor & Destructor Documentation

template<int DIM>
SAMRAI::pdat::EdgeGeometry< DIM >::EdgeGeometry ( const hier::Box< DIM > &  box,
const hier::IntVector< DIM > &  ghosts 
)

Construct the edge geometry object given an AMR index space box and ghost cell width.

template<int DIM>
SAMRAI::pdat::EdgeGeometry< DIM >::~EdgeGeometry (  )  [virtual]

The virtual destructor does nothing interesting.


Member Function Documentation

template<int DIM>
hier::Box< DIM > SAMRAI::pdat::EdgeGeometry< DIM >::toEdgeBox ( const hier::Box< DIM > &  box,
int  axis 
) [static]

Convert an AMR index box space box into an edge geometry box. An edge geometry box extends the given AMR index box space box by one in upper dimension for each coordinate direction not equal to the axis direction.

template<int DIM>
tbox::Pointer< hier::BoxOverlap< DIM > > SAMRAI::pdat::EdgeGeometry< DIM >::calculateOverlap ( const hier::BoxGeometry< DIM > &  dst_geometry,
const hier::BoxGeometry< DIM > &  src_geometry,
const hier::Box< DIM > &  src_mask,
const bool  overwrite_interior,
const hier::IntVector< DIM > &  src_offset,
const bool  retry 
) const [virtual]

Compute the overlap in edge-centered index space between the source box geometry and the destination box geometry.

Implements SAMRAI::hier::BoxGeometry< DIM >.

template<int DIM>
const hier::Box< DIM > & SAMRAI::pdat::EdgeGeometry< DIM >::getBox (  )  const [inline]

Return the box for this edge centered box geometry object.

template<int DIM>
const hier::IntVector< DIM > & SAMRAI::pdat::EdgeGeometry< DIM >::getGhosts (  )  const [inline]

Return the ghost cell width for this edge centered box geometry object.


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