#include <source/patchdata/boxgeometry/CellGeometry.h>
Inheritance diagram for SAMRAI::pdat::CellGeometry< DIM >:

Public Types | |
| typedef CellOverlap< DIM > | Overlap |
Public Member Functions | |
| CellGeometry (const hier::Box< DIM > &box, const hier::IntVector< DIM > &ghosts) | |
| Construct the cell geometry object given an AMR index space box and ghost cell width. | |
| virtual | ~CellGeometry () |
| 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 cell-centered index space between the source box geometry and the destination box geometry. | |
| void | computeDestinationBoxes (hier::BoxList< DIM > &dst_boxes, const CellGeometry< DIM > &src_geometry, const hier::Box< DIM > &src_mask, const bool overwrite_interior, const hier::IntVector< DIM > &src_offset) const |
| Compute the cell-centered destination boxes that represent the overlap between the source box geometry and the destination box geometry. | |
| const hier::Box< DIM > & | getBox () const |
| Return the box for this cell centered box geometry object. | |
| const hier::IntVector< DIM > & | getGhosts () const |
| Return the ghost cell width for this cell centered box geometry object. | |
Static Public Member Functions | |
| static hier::Box< DIM > | toCellBox (const hier::Box< DIM > &box) |
| Convert an AMR index box space box into a cell geometry box. A cell geometry box is the same as the given AMR index box space box. | |
See header file for CellData<DIM> class for a more detailed description of the data layout.
| typedef CellOverlap<DIM> SAMRAI::pdat::CellGeometry< DIM >::Overlap |
The BoxOverlap implemenation for this geometry.
| SAMRAI::pdat::CellGeometry< DIM >::CellGeometry | ( | const hier::Box< DIM > & | box, | |
| const hier::IntVector< DIM > & | ghosts | |||
| ) |
Construct the cell geometry object given an AMR index space box and ghost cell width.
| SAMRAI::pdat::CellGeometry< DIM >::~CellGeometry | ( | ) | [virtual] |
The virtual destructor does nothing interesting.
| hier::Box< DIM > SAMRAI::pdat::CellGeometry< DIM >::toCellBox | ( | const hier::Box< DIM > & | box | ) | [inline, static] |
Convert an AMR index box space box into a cell geometry box. A cell geometry box is the same as the given AMR index box space box.
| tbox::Pointer< hier::BoxOverlap< DIM > > SAMRAI::pdat::CellGeometry< 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 cell-centered index space between the source box geometry and the destination box geometry.
Implements SAMRAI::hier::BoxGeometry< DIM >.
| void SAMRAI::pdat::CellGeometry< DIM >::computeDestinationBoxes | ( | hier::BoxList< DIM > & | dst_boxes, | |
| const CellGeometry< DIM > & | src_geometry, | |||
| const hier::Box< DIM > & | src_mask, | |||
| const bool | overwrite_interior, | |||
| const hier::IntVector< DIM > & | src_offset | |||
| ) | const |
Compute the cell-centered destination boxes that represent the overlap between the source box geometry and the destination box geometry.
| const hier::Box< DIM > & SAMRAI::pdat::CellGeometry< DIM >::getBox | ( | ) | const [inline] |
Return the box for this cell centered box geometry object.
| const hier::IntVector< DIM > & SAMRAI::pdat::CellGeometry< DIM >::getGhosts | ( | ) | const [inline] |
Return the ghost cell width for this cell centered box geometry object.
1.5.1