IBAMR  IBAMR version 0.19.
Public Member Functions | List of all members
SAMRAI::pdat::EdgeComplexLinearTimeInterpolateOp< DIM > Class Template Reference

#include <EdgeComplexLinearTimeInterpolateOp.h>

Inheritance diagram for SAMRAI::pdat::EdgeComplexLinearTimeInterpolateOp< DIM >:
Inheritance graph
[legend]

Public Member Functions

 EdgeComplexLinearTimeInterpolateOp ()
 
virtual ~EdgeComplexLinearTimeInterpolateOp ()
 
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::EdgeComplexLinearTimeInterpolateOp< DIM >

Class EdgeComplexLinearTimeInterpolateOp<DIM> implements standard linear time interpolation for edge-centered complex patch data. 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 a edge-centered complex, and the string is "STD_LINEAR_TIME_INTERPOLATE".

See also
xfer::TimeInterpolateOperator

Constructor & Destructor Documentation

◆ EdgeComplexLinearTimeInterpolateOp()

Uninteresting default constructor.

◆ ~EdgeComplexLinearTimeInterpolateOp()

Uninteresting virtual destructor.

Member Function Documentation

◆ findTimeInterpolateOperator()

template<int DIM>
bool SAMRAI::pdat::EdgeComplexLinearTimeInterpolateOp< 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 edge-centered complex interpolation; otherwise, return false.

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

◆ timeInterpolate()

template<int DIM>
void SAMRAI::pdat::EdgeComplexLinearTimeInterpolateOp< 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 edge-centered complex 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 file: