|
Tempus Version of the Day
Time Integration
|
Base strategy class for interpolation functionality. More...
#include <Tempus_Interpolator.hpp>
Public Member Functions | |
| virtual void | setNodes (const Teuchos::RCP< const std::vector< Teuchos::RCP< SolutionState< Scalar > > > > &nodes)=0 |
| Store pointer to interpolation nodes. | |
| virtual void | interpolate (const Scalar &t, SolutionState< Scalar > *state_out) const =0 |
| Perform an interpolation. | |
| virtual int | order () const =0 |
| Return the order of the interpolation. | |
Base strategy class for interpolation functionality.
Definition at line 30 of file Tempus_Interpolator.hpp.
|
pure virtual |
Store pointer to interpolation nodes.
This function represent a persisting relationship between the interpolation nodes and the interpolator. For simple interpolators like linear and Hermite, this is not needed, but for interpolators like cubic splines where there is some computational work in assembling the interpolant, this is important.
Preconditions:
Postconditions:
Implemented in Tempus::InterpolatorLagrange< Scalar >.
|
pure virtual |
Perform an interpolation.
Implemented in Tempus::InterpolatorLagrange< Scalar >.
|
pure virtual |
Return the order of the interpolation.
Implemented in Tempus::InterpolatorLagrange< Scalar >.