#include <source/transfer/operators/TimeInterpolateOperator.h>
Inheritance diagram for SAMRAI::xfer::TimeInterpolateOperator< DIM >:
Public Member Functions | |
TimeInterpolateOperator () | |
virtual | ~TimeInterpolateOperator () |
virtual bool | findTimeInterpolateOperator (const tbox::Pointer< hier::Variable< DIM > > &var, const string &op_name) const =0 |
virtual 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 =0 |
To add a new time interpolation operator (either for a new patch data type or for a new time interpolation routine on an existing type), define the operator by inheriting from this abstract base class. The operator subclass must implement the interpolation operation in the timeInterpolate() function, and provide a response to a general operator request in the findTimeInterpolateOperator() function. Then, the new operator must be added to the operator list for the appropriate transfer geometry object using the Geometry<DIM>::addTimeInterpolateOperator() function.
Although time interpolation operators usually depend only on patch data centering and data type and not the mesh coordinate system, they are defined in the geometry package.
|
The default constructor for the coarsening operator does nothing interesting. |
|
The virtual destructor for the coarsening operator does nothing interesting. |
|
|