#include <source/patchdata/boxgeometry/OuternodeGeometry.h>
Inheritance diagram for SAMRAI::pdat::OuternodeGeometry< DIM >:
Public Member Functions | |
OuternodeGeometry (const hier::Box< DIM > &box, const hier::IntVector< DIM > &ghosts) | |
Construct the outernode geometry object given the box and ghost cell width. | |
virtual | ~OuternodeGeometry () |
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 |
Return a hier::BoxOverlap<DIM> object to describe the overlap in index space between the source outernode geometry object (or a node geometry object) and the destination object (this). | |
const hier::Box< DIM > & | getBox () const |
Return the box extents for this outernode box geometry object. | |
const hier::IntVector< DIM > & | getGhosts () const |
Return the ghost cell width for this outernode box geometry object. |
This is a subclass of hier::BoxGeometry<DIM> and it computes intersections between two outernode-centered box geometries or between an outernode geometry and a side box geometry. Outernode data differs from node data in that, given a box, an outernode data object represents node-centered data living only on the boundary of the box. However, for the sides over which outernode data is defined, the outernode geometry index space is the same as the side geometry index space. For example, given a three-dimensional box [l0:u0,l1:u1,l2:u2], the indices for a three-dimensional outernode data object run as follows:
The reduction in some of the index ranges prevent nodes on edges and corners of the box from being repeated by different sides of the box. Recall that side data is defined so that the sides associated with a given coordinate direction are those whose normal vector lies in that direction. Outernode data matches this conventions.
|
Construct the outernode geometry object given the box and ghost cell width.
|
|
The virtual destructor does nothing interesting.
|
|
Return a hier::BoxOverlap<DIM> object to describe the overlap in index space between the source outernode geometry object (or a node geometry object) and the destination object (this). Refer to the box geometry class for a detailed description of calculateOverlap(). |
|
Return the box extents for this outernode box geometry object.
|
|
Return the ghost cell width for this outernode box geometry object.
|