|
IBAMR
IBAMR version 0.19.
|
#include <BoxGeometryFillPattern.h>

Public Member Functions | |
| BoxGeometryFillPattern () | |
| virtual | ~BoxGeometryFillPattern () |
| 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 |
| virtual tbox::Pointer< hier::BoxOverlap< DIM > > | calculateOverlapOnLevel (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 int dst_level_num, const int src_level_num) const |
| virtual void | setTargetPatchLevelNumber (const int level_num) |
Private Member Functions | |
| BoxGeometryFillPattern (const BoxGeometryFillPattern< DIM > &) | |
| void | operator= (const BoxGeometryFillPattern< DIM > &) |
Static Private Attributes | |
| static std::string | s_name_id |
| static hier::IntVector< DIM > | s_stencil_width |
Class BoxGeometryFillPattern is a default implementation of the abstract base class VariableFillPattern. It is used to calculate overlaps that consist of the intersections between boxes, including the full ghost regions.
| SAMRAI::xfer::BoxGeometryFillPattern< DIM >::BoxGeometryFillPattern | ( | ) |
Default constructor
|
virtual |
Destructor
|
private |
|
virtual |
Calculate overlaps between the destination and source geometries using the geometries' own overlap calculation methods.
| 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 >.
|
virtual |
Implementation of interface to get stencil width of a VariableFillPattern. For this class BoxGeometryFillPattern, this method should never be called, since overlaps are computed based on box geometry objects and not on any stencil. An error will result if this method is invoked.
Implements SAMRAI::xfer::VariableFillPattern< DIM >.
|
virtual |
Returns a string name identifier "BOX_GEOMETRY_FILL_PATTERN".
Implements SAMRAI::xfer::VariableFillPattern< DIM >.
|
private |
|
virtualinherited |
This virtual method provides an interface to calculate overlaps between the destination and source geometries on a specified level of the patch hierarchy.
| 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 |
| dst_level_num | the level of the patch hierarchy on which the dst boxes are located |
| src_level_num | the level of the patch hierarchy on which the src boxes are located |
|
virtualinherited |
Set the target patch level number for the variable fill pattern. The default implementation is empty.
Reimplemented in IBTK::SideNoCornersFillPattern, and IBTK::CellNoCornersFillPattern.
|
staticprivate |
|
staticprivate |
1.8.17