IBAMR
An adaptive and distributed-memory parallel implementation of the immersed boundary (IB) method
|
Class CartSideDoubleCubicCoarsen is a concrete SAMRAI::xfer::CoarsenOperator for restricting side-centered double precision patch data via cubic interpolation. More...
#include </home/runner/work/IBAMR/IBAMR/ibtk/include/ibtk/CartSideDoubleCubicCoarsen.h>
Public Member Functions | |
CartSideDoubleCubicCoarsen ()=default | |
Default constructor. | |
~CartSideDoubleCubicCoarsen ()=default | |
Destructor. | |
Implementation of SAMRAI::xfer::CoarsenOperator interface. | |
bool | findCoarsenOperator (const SAMRAI::tbox::Pointer< SAMRAI::hier::Variable< NDIM > > &var, const std::string &op_name) const override |
const std::string & | getOperatorName () const override |
int | getOperatorPriority () const override |
SAMRAI::hier::IntVector< NDIM > | getStencilWidth () const override |
void | coarsen (SAMRAI::hier::Patch< NDIM > &coarse, const SAMRAI::hier::Patch< NDIM > &fine, int dst_component, int src_component, const SAMRAI::hier::Box< NDIM > &coarse_box, const SAMRAI::hier::IntVector< NDIM > &ratio) const override |
Class CartSideDoubleCubicCoarsen is a concrete SAMRAI::xfer::CoarsenOperator for restricting side-centered double precision patch data via cubic interpolation.
|
overridevirtual |
Coarsen the source component on the fine patch to the destination component on the coarse patch. The coarsening operation is performed on the intersection of the destination patch and the coarse box. The fine patch is guaranteed to contain sufficient data for the stencil width of the coarsening operator.
Implements SAMRAI::xfer::CoarsenOperator< NDIM >.
|
overridevirtual |
Return true if the coarsening operation matches the variable and name string identifier request; false, otherwise.
Implements SAMRAI::xfer::CoarsenOperator< NDIM >.
|
overridevirtual |
Return name string identifier of the coarsening operation.
Implements SAMRAI::xfer::CoarsenOperator< NDIM >.
|
overridevirtual |
Return the priority of this operator relative to other coarsening operators. The SAMRAI transfer routines guarantee that coarsening using operators with lower priority will be performed before those with higher priority.
Implements SAMRAI::xfer::CoarsenOperator< NDIM >.
|
overridevirtual |
Return the stencil width associated with the coarsening operator. The SAMRAI transfer routines guarantee that the source patch will contain sufficient ghost cell data surrounding the interior to satisfy the stencil width requirements for each coarsening operator.
Implements SAMRAI::xfer::CoarsenOperator< NDIM >.