#include <source/patchdata/boxgeometry/FirstLayerNodeFillPattern.h>
Inheritance diagram for SAMRAI::pdat::FirstLayerNodeFillPattern< DIM >:
Public Member Functions | |
FirstLayerNodeFillPattern () | |
virtual | ~FirstLayerNodeFillPattern () |
tbox::Pointer< hier::BoxOverlap< DIM > > | calculateOverlap (const hier::BoxGeometry< DIM > &dst_geometry, const hier::BoxGeometry< DIM > &src_geometry, const hier::Box< DIM > &dst_patch_box, const hier::Box< DIM > &src_mask, const bool overwrite_interior, const hier::IntVector< DIM > &src_offset) const |
hier::IntVector< DIM > & | getStencilWidth () |
const std::string & | getPatternName () const |
SAMRAI::pdat::FirstLayerNodeFillPattern< DIM >::FirstLayerNodeFillPattern | ( | ) |
Constructor
dim | Dimension |
SAMRAI::pdat::FirstLayerNodeFillPattern< DIM >::~FirstLayerNodeFillPattern | ( | ) | [virtual] |
Destructor
tbox::Pointer< hier::BoxOverlap< DIM > > SAMRAI::pdat::FirstLayerNodeFillPattern< DIM >::calculateOverlap | ( | const hier::BoxGeometry< DIM > & | dst_geometry, | |
const hier::BoxGeometry< DIM > & | src_geometry, | |||
const hier::Box< DIM > & | dst_patch_box, | |||
const hier::Box< DIM > & | src_mask, | |||
const bool | overwrite_interior, | |||
const hier::IntVector< DIM > & | src_offset | |||
) | const [virtual] |
Calculate overlaps between the destination and source geometries according to the desired pattern. This will return the portion of the intersection of the node geometries that lies on the boundary of the patch. The patch is identified by the argument dst_patch_box.
dst_geometry | geometry object for destination box | |
src_geometry | geometry object for source box | |
dst_patch_box | box for the destination patch | |
src_mask | the source mask, the box resulting from shifting the source box | |
overwrite_interior | controls whether or not to include the destination box interior in the overlap | |
src_offset | the offset between source and destination index space. src + src_offset = dst |
Implements SAMRAI::xfer::VariableFillPattern< DIM >.
hier::IntVector< DIM > & SAMRAI::pdat::FirstLayerNodeFillPattern< DIM >::getStencilWidth | ( | ) | [virtual] |
Returns the stencil width of 0 in all directions.
Implements SAMRAI::xfer::VariableFillPattern< DIM >.
const std::string & SAMRAI::pdat::FirstLayerNodeFillPattern< DIM >::getPatternName | ( | ) | const [virtual] |
Returns a string name identifier "FIRST_LAYER_NODE_FILL_PATTERN".
Implements SAMRAI::xfer::VariableFillPattern< DIM >.