#include <source/geometry/cartesian/operators/cell/CartesianCellFloatLinearRefine.h>
Inheritance diagram for SAMRAI::geom::CartesianCellFloatLinearRefine< DIM >:
Public Member Functions | |
CartesianCellFloatLinearRefine () | |
virtual | ~CartesianCellFloatLinearRefine () |
bool | findRefineOperator (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 | 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 cell-centered float, and the string is "LINEAR_REFINE".
|
Uninteresting default constructor. |
|
Uninteresting virtual destructor. |
|
Return true if the variable and name string match cell-centered float linear interpolation; otherwise, return false. Implements SAMRAI::xfer::RefineOperator< DIM >. |
|
Return name string identifier of this refinement operator. Implements SAMRAI::xfer::RefineOperator< DIM >. |
|
The priority of cell-centered float linear interpolation is 0. It will be performed before any user-defined interpolation operations. Implements SAMRAI::xfer::RefineOperator< DIM >. |
|
The stencil width of the linear interpolation operator is the vector of ones. That is, its stencil extends one cell outside the fine box. Implements SAMRAI::xfer::RefineOperator< DIM >. |
|
Refine the source component on the coarse patch to the destination component on the fine patch using the cell-centered float linear 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 >. |