#include <source/patchdata/boxgeometry/EdgeGeometry.h>
Inheritance diagram for SAMRAI::pdat::EdgeGeometry< DIM >:
Public Member Functions | |
EdgeGeometry (const hier::Box< DIM > &box, const hier::IntVector< DIM > &ghosts) | |
virtual | ~EdgeGeometry () |
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 |
const hier::Box< DIM > & | getBox () const |
const hier::IntVector< DIM > & | getGhosts () const |
Static Public Member Functions | |
static hier::Box< DIM > | toEdgeBox (const hier::Box< DIM > &box, const int axis) |
Recall that edge data is defined so that the edges associated with a given coordinate direction are those whose tangent vector lies in that direction.
Note that the intersection between two edge-centered boxes can be complicated, since edge geometries contain indices on the edges of boxes. Thus, there may be overlap between two boxes, even though the boxes do not intersect in the AMR index space.
|
Construct the edge geometry object given the box and ghost cell width. |
|
The virtual destructor does nothing interesting. |
|
Compute the overlap in index space between the source edge box geometry object and the destination box geometry. Refer to the box geometry class for a detailed description of calculateOverlap(). |
|
Return the box extents for this edge centered box geometry object. |
|
Return the ghost cell width for this edge centered box geometry object. |
|
Convert an AMR abstract box into a edge geometry box. The box indices are cyclically shifted such that the edge direction is first. The edge direction runs from the corresponding lower index to the upper index plus one. All other indices run as in the original box. The axes are given by X=0, Y=1, and Z=2. |