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

#include <source/patchdata/operators/time_interpolate/outerside/OutersideFloatLinearTimeInterpolateOp.h>

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

Inheritance graph
[legend]
List of all members.

Public Member Functions

 OutersideFloatLinearTimeInterpolateOp ()
virtual ~OutersideFloatLinearTimeInterpolateOp ()
bool findTimeInterpolateOperator (const tbox::Pointer< hier::Variable< DIM > > &var, const std::string &op_name) const
void timeInterpolate (hier::PatchData< DIM > &dst_data, const hier::Box< DIM > &where, const hier::PatchData< DIM > &src_data_old, const hier::PatchData< DIM > &src_data_new) const

Detailed Description

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

Class OutersideFloatLinearTimeInterpolateOp<DIM> implements standard linear time interpolation for float outerside patch data. Recall that outerside patch data uses the same indices as side-centered data but the data only exists on the sides that coincide with patch boundaries. It is derived from the xfer::TimeInterpolateOperator<DIM> base class. The interpolation uses FORTRAN numerical routines.

The findCoarsenOperator() operator function returns true if the input variable is an outerside float type, and the string is "STD_LINEAR_TIME_INTERPOLATE".

See also:
xfer::TimeInterpolateOperator


Constructor & Destructor Documentation

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

Uninteresting default constructor.

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

Uninteresting virtual destructor.


Member Function Documentation

template<int DIM>
bool SAMRAI::pdat::OutersideFloatLinearTimeInterpolateOp< DIM >::findTimeInterpolateOperator ( const tbox::Pointer< hier::Variable< DIM > > &  var,
const std::string &  op_name 
) const [virtual]

Return true if the variable and name string match the standard float outerside interpolation; otherwise, return false.

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

template<int DIM>
void SAMRAI::pdat::OutersideFloatLinearTimeInterpolateOp< DIM >::timeInterpolate ( hier::PatchData< DIM > &  dst_data,
const hier::Box< DIM > &  where,
const hier::PatchData< DIM > &  src_data_old,
const hier::PatchData< DIM > &  src_data_new 
) const [virtual]

Perform linear time interpolation between two float outerside patch data sources and place result in the destination patch data. Time interpolation is performed on the intersection of the destination patch data and the input box. The time to which data is interpolated is provided by the destination data.

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


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