#include <source/geometry/cartesian/operators/cell/CartesianCellDoubleWeightedAverage.h>
Inheritance diagram for SAMRAI::geom::CartesianCellDoubleWeightedAverage< DIM >:
Public Member Functions | |
CartesianCellDoubleWeightedAverage () | |
virtual | ~CartesianCellDoubleWeightedAverage () |
bool | findCoarsenOperator (const tbox::Pointer< hier::Variable< DIM > > &var, const string &op_name) const |
const string & | getOperatorName () const |
int | getOperatorPriority () const |
hier::IntVector< DIM > | getStencilWidth () const |
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 |
The findCoarsenOperator() operator function returns true if the input variable is cell-centered double, and the string is "CONSERVATIVE_COARSEN".
|
Uninteresting default constructor. |
|
Uninteresting virtual destructor. |
|
Return true if the variable and name string match cell-centered double weighted averaging; otherwise, return false. Implements SAMRAI::xfer::CoarsenOperator< DIM >. |
|
Return name string identifier of this coarsening operation. Implements SAMRAI::xfer::CoarsenOperator< DIM >. |
|
The priority of cell-centered double weighted averaging is 0. It will be performed before any user-defined coarsen operations. Implements SAMRAI::xfer::CoarsenOperator< DIM >. |
|
The stencil width of the weighted averaging operator is the vector of zeros. That is, its stencil does not extend outside the fine box. Implements SAMRAI::xfer::CoarsenOperator< DIM >. |
|
Coarsen the source component on the fine patch to the destination component on the coarse patch using the cell-centered double weighted averaging operator. Coarsening is performed on the intersection of the destination patch and the coarse box. It is assumed that the fine patch contains sufficient data for the stencil width of the coarsening operator. Implements SAMRAI::xfer::CoarsenOperator< DIM >. |