IBAMR
An adaptive and distributed-memory parallel implementation of the immersed boundary (IB) method
Public Member Functions | List of all members
IBTK::CartCellDoubleBoundsPreservingConservativeLinearRefine Class Reference

Class CartCellDoubleBoundsPreservingConservativeLinearRefine is a concrete SAMRAI::xfer::RefineOperator object which prolongs cell-centered double precision patch data via conservative linear interpolation with an additional bounds preservation repair step. More...

#include </home/runner/work/IBAMR/IBAMR/ibtk/include/ibtk/CartCellDoubleBoundsPreservingConservativeLinearRefine.h>

Inheritance diagram for IBTK::CartCellDoubleBoundsPreservingConservativeLinearRefine:
Inheritance graph
[legend]

Public Member Functions

 CartCellDoubleBoundsPreservingConservativeLinearRefine ()=default
 Default constructor.
 
 ~CartCellDoubleBoundsPreservingConservativeLinearRefine ()=default
 Destructor.
 

Implementation of SAMRAI::xfer::RefineOperator interface.

bool findRefineOperator (const SAMRAI::tbox::Pointer< SAMRAI::hier::Variable< NDIM > > &var, const std::string &op_name) const override
 
const std::stringgetOperatorName () const override
 
int getOperatorPriority () const override
 
SAMRAI::hier::IntVector< NDIM > getStencilWidth () const override
 
void refine (SAMRAI::hier::Patch< NDIM > &fine, const SAMRAI::hier::Patch< NDIM > &coarse, int dst_component, int src_component, const SAMRAI::hier::Box< NDIM > &fine_box, const SAMRAI::hier::IntVector< NDIM > &ratio) const override
 

Detailed Description

Class CartCellDoubleBoundsPreservingConservativeLinearRefine is a concrete SAMRAI::xfer::RefineOperator object which prolongs cell-centered double precision patch data via conservative linear interpolation with an additional bounds preservation repair step.

Member Function Documentation

◆ findRefineOperator()

bool IBTK::CartCellDoubleBoundsPreservingConservativeLinearRefine::findRefineOperator ( const SAMRAI::tbox::Pointer< SAMRAI::hier::Variable< NDIM > > &  var,
const std::string op_name 
) const
overridevirtual

Return true if the refining operation matches the variable and name string identifier request; false, otherwise.

Implements SAMRAI::xfer::RefineOperator< NDIM >.

◆ getOperatorName()

const std::string & IBTK::CartCellDoubleBoundsPreservingConservativeLinearRefine::getOperatorName ( ) const
overridevirtual

Return name string identifier of the refining operation.

Implements SAMRAI::xfer::RefineOperator< NDIM >.

◆ getOperatorPriority()

int IBTK::CartCellDoubleBoundsPreservingConservativeLinearRefine::getOperatorPriority ( ) const
overridevirtual

Return the priority of this operator relative to other refining operators. The SAMRAI transfer routines guarantee that refining using operators with lower priority will be performed before those with higher priority.

Implements SAMRAI::xfer::RefineOperator< NDIM >.

◆ getStencilWidth()

IntVector< NDIM > IBTK::CartCellDoubleBoundsPreservingConservativeLinearRefine::getStencilWidth ( ) const
overridevirtual

Return the stencil width associated with the refining 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 refining operator.

Implements SAMRAI::xfer::RefineOperator< NDIM >.

◆ refine()

void IBTK::CartCellDoubleBoundsPreservingConservativeLinearRefine::refine ( SAMRAI::hier::Patch< NDIM > &  fine,
const SAMRAI::hier::Patch< NDIM > &  coarse,
int  dst_component,
int  src_component,
const SAMRAI::hier::Box< NDIM > &  fine_box,
const SAMRAI::hier::IntVector< NDIM > &  ratio 
) const
overridevirtual

Refine the source component on the fine patch to the destination component on the coarse patch. The refining 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 refining operator.

Implements SAMRAI::xfer::RefineOperator< NDIM >.


The documentation for this class was generated from the following files: