|
IBAMR
IBAMR version 0.20.
|
Class CartSideDoubleRT0Coarsen is a concrete SAMRAI::xfer::CoarsenOperator for restricting side-centered double precision patch data via the adjoint of RT0 interpolation. More...
#include <ibtk/CartSideDoubleRT0Coarsen.h>

Public Member Functions | |
| CartSideDoubleRT0Coarsen (SAMRAI::hier::IntVector< NDIM > gcw=SAMRAI::hier::IntVector< NDIM >(1)) | |
| Constructor. More... | |
| ~CartSideDoubleRT0Coarsen ()=default | |
| Destructor. More... | |
| virtual bool | findCoarsenOperator (const tbox::Pointer< hier::Variable< DIM > > &var, const std::string &op_name) const=0 |
| virtual void | coarsen (hier::Patch< DIM > &coarse, const hier::Patch< DIM > &fine, const int dst_component, const int src_component, const hier::Box< DIM > &coarse_box, const hier::IntVector< DIM > &ratio) const=0 |
Implementation of SAMRAI::xfer::CoarsenOperator interface. | |
| static const std::string | s_op_name |
| SAMRAI::hier::IntVector< NDIM > | d_gcw |
| 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 |
| CartSideDoubleRT0Coarsen (const CartSideDoubleRT0Coarsen &from)=delete | |
| Copy constructor. More... | |
| CartSideDoubleRT0Coarsen & | operator= (const CartSideDoubleRT0Coarsen &that)=delete |
| Assignment operator. More... | |
The result is the transpose of RT0 interpolation divided by the product of the refinement ratio. Fine ghost values outside the fine level must be zero. On a physical boundary the weights are normalized to sum to one.
| IBTK::CartSideDoubleRT0Coarsen::CartSideDoubleRT0Coarsen | ( | SAMRAI::hier::IntVector< NDIM > | gcw = SAMRAI::hier::IntVector< NDIM >(1) | ) |
| gcw | Stencil width: at least the refinement ratio minus one in every direction. |
|
default |
|
privatedelete |
| from | The value to copy to this object. |
|
override |
Return true if the coarsening operation matches the variable and name string identifier request; false, otherwise.
|
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 >.
|
override |
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.
|
privatedelete |
| that | The value to assign to this object. |
|
pure virtualinherited |
Return true if the coarsening operation matches the variable and name string identifier request; false, otherwise.
|
pure virtualinherited |
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.
|
staticprivate |
The operator name.
|
private |
Ghost cell width (determines maximum refinment ratio).