|
IBAMR
IBAMR version 0.19.
|
#include <CartesianCellComplexConservativeLinearRefine.h>

Public Member Functions | |
| CartesianCellComplexConservativeLinearRefine () | |
| virtual | ~CartesianCellComplexConservativeLinearRefine () |
| 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 |
Private Attributes | |
| std::string | d_name_id |
Class CartesianCellComplexConservativeLinearRefine implements conservative linear interpolation for cell-centered complex patch data defined over a Cartesian mesh. In particular, the interpolation is implemented by applying the standard conservative linear interpolation to each of the real and imaginary parts of the complex data array independently. This operator is derived from the base class xfer::RefineOperator<DIM>. The numerical operations for the interpolation use FORTRAN numerical routines.
The findRefineOperator() operator function returns true if the input variable is cell-centered complex, and the string is "CONSERVATIVE_LINEAR_REFINE".
| SAMRAI::geom::CartesianCellComplexConservativeLinearRefine< DIM >::CartesianCellComplexConservativeLinearRefine | ( | ) |
Uninteresting default constructor.
|
virtual |
Uninteresting virtual destructor.
|
virtual |
Return true if the variable and name string match cell-centered complex conservative linear interpolation; otherwise, return false.
Implements SAMRAI::xfer::RefineOperator< DIM >.
|
virtual |
Return name string identifier of this refinement operator.
Implements SAMRAI::xfer::RefineOperator< DIM >.
|
virtual |
The priority of cell-centered complex conservative linear is 0. It will be performed before any user-defined interpolation operations.
Implements SAMRAI::xfer::RefineOperator< DIM >.
|
virtual |
The stencil width of the conservative linear interpolation operator is the vector of ones.
Implements SAMRAI::xfer::RefineOperator< DIM >.
|
virtual |
Refine the source component on the coarse patch to the destination component on the fine patch using the cell-centered complex conservative 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 >.
|
private |
1.8.17