Class CartCellDoubleCubicCoarsen is a concrete SAMRAI::xfer::CoarsenOperator for restricting cell-centered double precision patch data via cubic interpolation.
More...
#include <ibtk/CartCellDoubleCubicCoarsen.h>
- Note
- This coarsen operator requires that the refinement ratio between coarse and fine index spaces is even.
-
To avoid complicating the interpolation scheme at coarse-fine interfaces, the use of cubic coarsening is restricted to cases where the refinement ratio is at least 4. For refinement ratios less than 4, a warning is emitted and simple weighted averaging is used instead.
◆ CartCellDoubleCubicCoarsen() [1/2]
| IBTK::CartCellDoubleCubicCoarsen::CartCellDoubleCubicCoarsen |
( |
| ) |
|
|
default |
◆ ~CartCellDoubleCubicCoarsen()
| IBTK::CartCellDoubleCubicCoarsen::~CartCellDoubleCubicCoarsen |
( |
| ) |
|
|
default |
◆ CartCellDoubleCubicCoarsen() [2/2]
- Note
- This constructor is not implemented and should not be used.
- Parameters
-
| from | The value to copy to this object. |
◆ findCoarsenOperator() [1/2]
Return true if the coarsening operation matches the variable and name string identifier request; false, otherwise.
◆ getOperatorName() [1/2]
| const std::string& IBTK::CartCellDoubleCubicCoarsen::getOperatorName |
( |
| ) |
const |
|
override |
Return name string identifier of the coarsening operation.
◆ getOperatorPriority() [1/2]
| int IBTK::CartCellDoubleCubicCoarsen::getOperatorPriority |
( |
| ) |
const |
|
override |
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.
◆ getStencilWidth() [1/2]
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.
◆ coarsen() [1/2]
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.
◆ operator=()
- Note
- This operator is not implemented and should not be used.
- Parameters
-
| that | The value to assign to this object. |
- Returns
- A reference to this object.
◆ findCoarsenOperator() [2/2]
Return true if the coarsening operation matches the variable and name string identifier request; false, otherwise.
◆ getOperatorName() [2/2]
Return name string identifier of the coarsening operation.
◆ getOperatorPriority() [2/2]
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.
◆ getStencilWidth() [2/2]
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.
◆ coarsen() [2/2]
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.
◆ s_op_name
| const std::string IBTK::CartCellDoubleCubicCoarsen::s_op_name |
|
staticprivate |
◆ d_weighted_average_coarsen_op
"Backup" coarsen operator for even refinement ratios less than 4.
The documentation for this class was generated from the following file: