#include <source/patchdata/boxgeometry/NodeGeometry.h>
Inheritance diagram for SAMRAI::pdat::NodeGeometry< DIM >:
Public Member Functions | |
NodeGeometry (const hier::Box< DIM > &box, const hier::IntVector< DIM > &ghosts) | |
virtual | ~NodeGeometry () |
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 > | toNodeBox (const hier::Box< DIM > &box) |
[l0:u0+1,l1:u1+1,l2:u2+1] *
Note that the intersection between two node-centered boxes can be complicated since node geometries contain indices on the nodes of the boxes. Thus, there may be overlap between two boxes, even though the boxes do not intersect in the AMR index space.
|
Construct the node geometry object given the box and ghost cell width. |
|
The virtual destructor does nothing interesting. |
|
Compute the overlap in index space between the source box geometry and the destination box geometry. Refer to the box geometry class for a detailed description of calculateOverlap(). |
|
Return the box extents for this node centered box geometry object. |
|
Return the ghost cell width for this node centered box geometry object. |
|
Convert an AMR abstract box into a node geometry box. The lower index is the same, but the upper index is one greater in each dimension. |