IBAMR
An adaptive and distributed-memory parallel implementation of the immersed boundary (IB) method
|
Class SideCellSynchCopyFillPattern is a concrete implementation of the abstract base class SAMRAI::xfer::VariableFillPattern. It is used to calculate overlaps according to a pattern which limits overlaps to the side-centered ghost region surrounding a patch appropriate for "synchronizing" side-centered values at patch boundaries. More...
#include </home/runner/work/IBAMR/IBAMR/ibtk/include/ibtk/SideSynchCopyFillPattern.h>
Public Member Functions | |
SideSynchCopyFillPattern ()=default | |
Default constructor. | |
~SideSynchCopyFillPattern ()=default | |
Destructor. | |
SAMRAI::tbox::Pointer< SAMRAI::hier::BoxOverlap< NDIM > > | calculateOverlap (const SAMRAI::hier::BoxGeometry< NDIM > &dst_geometry, const SAMRAI::hier::BoxGeometry< NDIM > &src_geometry, const SAMRAI::hier::Box< NDIM > &dst_patch_box, const SAMRAI::hier::Box< NDIM > &src_mask, bool overwrite_interior, const SAMRAI::hier::IntVector< NDIM > &src_offset) const override |
SAMRAI::hier::IntVector< NDIM > & | getStencilWidth () override |
const std::string & | getPatternName () const override |
Class SideCellSynchCopyFillPattern is a concrete implementation of the abstract base class SAMRAI::xfer::VariableFillPattern. It is used to calculate overlaps according to a pattern which limits overlaps to the side-centered ghost region surrounding a patch appropriate for "synchronizing" side-centered values at patch boundaries.
|
overridevirtual |
Calculate overlaps between the destination and source geometries according to the desired pattern. This will return the portion of the intersection of the geometries that lies in the ghost region of the specified width surrounding the patch, excluding all edges and corners. 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< NDIM >.
|
overridevirtual |
Returns a string name identifier "SIDE_SYNCH_COPY_FILL_PATTERN".
Implements SAMRAI::xfer::VariableFillPattern< NDIM >.
|
overridevirtual |
Returns the stencil width.
Implements SAMRAI::xfer::VariableFillPattern< NDIM >.