#include <source/transfer/operators/VariableFillPattern.h>
Inheritance diagram for SAMRAI::xfer::VariableFillPattern< DIM >:
Public Member Functions | |
VariableFillPattern () | |
virtual | ~VariableFillPattern () |
virtual 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 =0 |
virtual hier::IntVector< DIM > & | getStencilWidth ()=0 |
virtual const std::string & | getPatternName () const=0 |
SAMRAI::xfer::VariableFillPattern< DIM >::VariableFillPattern | ( | ) |
Default constructor
SAMRAI::xfer::VariableFillPattern< DIM >::~VariableFillPattern | ( | ) | [virtual] |
Destructor
virtual tbox::Pointer< hier::BoxOverlap<DIM> > SAMRAI::xfer::VariableFillPattern< 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 [pure virtual] |
This pure virtual method provides an interface to calculate overlaps between the destination and source geometries.
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 |
Implemented in SAMRAI::xfer::BoxGeometryFillPattern< DIM >, SAMRAI::pdat::FirstLayerCellFillPattern< DIM >, SAMRAI::pdat::FirstLayerCellNoCornersFillPattern< DIM >, SAMRAI::pdat::FirstLayerNodeFillPattern< DIM >, SAMRAI::pdat::SecondLayerNodeFillPattern< DIM >, and SAMRAI::pdat::SecondLayerNodeNoCornersFillPattern< DIM >.
virtual hier::IntVector<DIM>& SAMRAI::xfer::VariableFillPattern< DIM >::getStencilWidth | ( | ) | [pure virtual] |
Return the maximum ghost width of the boundary stencil. The default implementation throws an error.
Implemented in SAMRAI::xfer::BoxGeometryFillPattern< DIM >, SAMRAI::pdat::FirstLayerCellFillPattern< DIM >, SAMRAI::pdat::FirstLayerCellNoCornersFillPattern< DIM >, SAMRAI::pdat::FirstLayerNodeFillPattern< DIM >, SAMRAI::pdat::SecondLayerNodeFillPattern< DIM >, and SAMRAI::pdat::SecondLayerNodeNoCornersFillPattern< DIM >.
virtual const std::string& SAMRAI::xfer::VariableFillPattern< DIM >::getPatternName | ( | ) | const [pure virtual] |
Return a string name identifying the concrete subclass.
Implemented in SAMRAI::xfer::BoxGeometryFillPattern< DIM >, SAMRAI::pdat::FirstLayerCellFillPattern< DIM >, SAMRAI::pdat::FirstLayerCellNoCornersFillPattern< DIM >, SAMRAI::pdat::FirstLayerNodeFillPattern< DIM >, SAMRAI::pdat::SecondLayerNodeFillPattern< DIM >, and SAMRAI::pdat::SecondLayerNodeNoCornersFillPattern< DIM >.