SAMRAI::pdat::OuterfaceIntegerConstantRefine< DIM > Class Template Reference

#include <source/patchdata/operators/constant/outerface/OuterfaceIntegerConstantRefine.h>

Inheritance diagram for SAMRAI::pdat::OuterfaceIntegerConstantRefine< DIM >:

Inheritance graph
[legend]
List of all members.

Public Member Functions

 OuterfaceIntegerConstantRefine ()
virtual ~OuterfaceIntegerConstantRefine ()
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

Detailed Description

template<int DIM>
class SAMRAI::pdat::OuterfaceIntegerConstantRefine< DIM >

Class OuterfaceIntegerConstantRefine<DIM> implements constant interpolation for outerface integer patch data defined over a mesh. It is derived from the xfer::RefineOperator<DIM> base class. The numerical operations for interpolation use FORTRAN numerical routines.

The findRefineOperator() operator function returns true if the input variable is outerface integer, and the string is "CONSTANT_REFINE".

See also:
xfer::RefineOperator


Constructor & Destructor Documentation

template<int DIM>
SAMRAI::pdat::OuterfaceIntegerConstantRefine< DIM >::OuterfaceIntegerConstantRefine (  ) 

Uninteresting default constructor.

template<int DIM>
SAMRAI::pdat::OuterfaceIntegerConstantRefine< DIM >::~OuterfaceIntegerConstantRefine (  )  [virtual]

Uninteresting virtual destructor.


Member Function Documentation

template<int DIM>
bool SAMRAI::pdat::OuterfaceIntegerConstantRefine< 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 outerface integer constant interpolation; otherwise, return false.

Implements SAMRAI::xfer::RefineOperator< DIM >.

template<int DIM>
const std::string & SAMRAI::pdat::OuterfaceIntegerConstantRefine< DIM >::getOperatorName (  )  const [virtual]

Return name string identifier of this refinement operator.

Implements SAMRAI::xfer::RefineOperator< DIM >.

template<int DIM>
int SAMRAI::pdat::OuterfaceIntegerConstantRefine< DIM >::getOperatorPriority (  )  const [virtual]

The priority of outerface integer constant interpolation is 0. It will be performed before any user-defined interpolation operations.

Implements SAMRAI::xfer::RefineOperator< DIM >.

template<int DIM>
hier::IntVector< DIM > SAMRAI::pdat::OuterfaceIntegerConstantRefine< 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 >.

template<int DIM>
void SAMRAI::pdat::OuterfaceIntegerConstantRefine< 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 outerface integer 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 >.


The documentation for this class was generated from the following files:
Generated on Thu Jun 18 11:28:50 2009 for SAMRAI by  doxygen 1.5.1