#include <source/patchdata/boxgeometry/SideGeometry.h>
Inheritance diagram for SAMRAI::pdat::SideGeometry< DIM >:
Public Types | |
typedef SideOverlap< DIM > | Overlap |
Public Member Functions | |
SideGeometry (const hier::Box< DIM > &box, const hier::IntVector< DIM > &ghosts, const hier::IntVector< DIM > &directions) | |
Construct the side geometry object given an AMR index space box, ghost cell width and directions vector indicating which coordinate directions are allocated. | |
virtual | ~SideGeometry () |
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 side-centered index space between the source box geometry and the destination box geometry. | |
const hier::Box< DIM > & | getBox () const |
Return the box for this side centered box geometry object. | |
const hier::IntVector< DIM > & | getGhosts () const |
Return the ghost cell width for this side centered box geometry object. | |
const hier::IntVector< DIM > & | getDirectionVector () const |
Static Public Member Functions | |
static hier::Box< DIM > | toSideBox (const hier::Box< DIM > &box, int side_normal) |
Convert an AMR index box space box into an side geometry box. An side geometry box extends the given AMR index box space box by one in upper dimension for the side normal coordinate direction. |
See header file for SideData<DIM> class for a more detailed description of the data layout.
typedef SideOverlap<DIM> SAMRAI::pdat::SideGeometry< DIM >::Overlap |
The BoxOverlap implemenation for this geometry.
SAMRAI::pdat::SideGeometry< DIM >::SideGeometry | ( | const hier::Box< DIM > & | box, | |
const hier::IntVector< DIM > & | ghosts, | |||
const hier::IntVector< DIM > & | directions | |||
) |
Construct the side geometry object given an AMR index space box, ghost cell width and directions vector indicating which coordinate directions are allocated.
SAMRAI::pdat::SideGeometry< DIM >::~SideGeometry | ( | ) | [virtual] |
The virtual destructor does nothing interesting.
hier::Box< DIM > SAMRAI::pdat::SideGeometry< DIM >::toSideBox | ( | const hier::Box< DIM > & | box, | |
int | side_normal | |||
) | [static] |
Convert an AMR index box space box into an side geometry box. An side geometry box extends the given AMR index box space box by one in upper dimension for the side normal coordinate direction.
tbox::Pointer< hier::BoxOverlap< DIM > > SAMRAI::pdat::SideGeometry< 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 side-centered index space between the source box geometry and the destination box geometry.
Implements SAMRAI::hier::BoxGeometry< DIM >.
const hier::Box< DIM > & SAMRAI::pdat::SideGeometry< DIM >::getBox | ( | ) | const [inline] |
Return the box for this side centered box geometry object.
const hier::IntVector< DIM > & SAMRAI::pdat::SideGeometry< DIM >::getGhosts | ( | ) | const [inline] |
Return the ghost cell width for this side centered box geometry object.
const hier::IntVector< DIM > & SAMRAI::pdat::SideGeometry< DIM >::getDirectionVector | ( | ) | const [inline] |
Return constant reference to vector describing which coordinate directions managed by this side geometry object.
A vector entry of zero indicates that this object will not perform operations involving the corresponding coordinate direction. A non-zero value indicates otherwise.