#include <source/patchdata/operators/constant/face/FaceFloatConstantRefine.h>
Inheritance diagram for SAMRAI::pdat::FaceFloatConstantRefine< DIM >:
Public Member Functions | |
FaceFloatConstantRefine () | |
virtual | ~FaceFloatConstantRefine () |
bool | findRefineOperator (const tbox::Pointer< hier::Variable< DIM > > &var, const std::string &op_name) const |
const std::string & | getOperatorName () const |
int | getOperatorPriority () const |
hier::IntVector< DIM > | getStencilWidth () const |
void | refine (hier::Patch< DIM > &fine, const hier::Patch< DIM > &coarse, const int dst_component, const int src_component, const hier::Box< DIM > &fine_box, const hier::IntVector< DIM > &ratio) const |
The findRefineOperator() operator function returns true if the input variable is face-centered float, and the string is "CONSTANT_REFINE".
SAMRAI::pdat::FaceFloatConstantRefine< DIM >::FaceFloatConstantRefine | ( | ) |
Uninteresting default constructor.
SAMRAI::pdat::FaceFloatConstantRefine< DIM >::~FaceFloatConstantRefine | ( | ) | [virtual] |
Uninteresting virtual destructor.
bool SAMRAI::pdat::FaceFloatConstantRefine< DIM >::findRefineOperator | ( | const tbox::Pointer< hier::Variable< DIM > > & | var, | |
const std::string & | op_name | |||
) | const [virtual] |
Return true if the variable and name string match face-centered float constant interpolation; otherwise, return false.
Implements SAMRAI::xfer::RefineOperator< DIM >.
const std::string & SAMRAI::pdat::FaceFloatConstantRefine< DIM >::getOperatorName | ( | ) | const [virtual] |
Return name string identifier of this refinement operator.
Implements SAMRAI::xfer::RefineOperator< DIM >.
int SAMRAI::pdat::FaceFloatConstantRefine< DIM >::getOperatorPriority | ( | ) | const [virtual] |
The priority of face-centered float constant interpolation is 0. It will be performed before any user-defined interpolation operations.
Implements SAMRAI::xfer::RefineOperator< DIM >.
hier::IntVector< DIM > SAMRAI::pdat::FaceFloatConstantRefine< DIM >::getStencilWidth | ( | ) | const [virtual] |
The stencil width of the constant interpolation operator is the vector of zeros. That is, its stencil does not extend outside the fine box.
Implements SAMRAI::xfer::RefineOperator< DIM >.
void SAMRAI::pdat::FaceFloatConstantRefine< DIM >::refine | ( | hier::Patch< DIM > & | fine, | |
const hier::Patch< DIM > & | coarse, | |||
const int | dst_component, | |||
const int | src_component, | |||
const hier::Box< DIM > & | fine_box, | |||
const hier::IntVector< DIM > & | ratio | |||
) | const [virtual] |
Refine the source component on the coarse patch to the destination component on the fine patch using the face-centered float constant interpolation operator. Interpolation is performed on the intersection of the destination patch and the fine box. It is assumed that the coarse patch contains sufficient data for the stencil width of the refinement operator.
Implements SAMRAI::xfer::RefineOperator< DIM >.