#include <source/patchdata/operators/time_interpolate/cell/CellFloatLinearTimeInterpolateOp.h>
Inheritance diagram for SAMRAI::pdat::CellFloatLinearTimeInterpolateOp< DIM >:
Public Member Functions | |
CellFloatLinearTimeInterpolateOp () | |
virtual | ~CellFloatLinearTimeInterpolateOp () |
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 |
The findCoarsenOperator() operator function returns true if the input variable is a cell-centered float, and the string is "STD_LINEAR_TIME_INTERPOLATE".
SAMRAI::pdat::CellFloatLinearTimeInterpolateOp< DIM >::CellFloatLinearTimeInterpolateOp | ( | ) |
Uninteresting default constructor.
SAMRAI::pdat::CellFloatLinearTimeInterpolateOp< DIM >::~CellFloatLinearTimeInterpolateOp | ( | ) | [virtual] |
Uninteresting virtual destructor.
bool SAMRAI::pdat::CellFloatLinearTimeInterpolateOp< 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 cell-centered float interpolation; otherwise, return false.
Implements SAMRAI::xfer::TimeInterpolateOperator< DIM >.
void SAMRAI::pdat::CellFloatLinearTimeInterpolateOp< 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 time linear interpolation between two cell-centered float 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 >.