9 #ifndef Tempus_InterpolatorLagrange_decl_hpp
10 #define Tempus_InterpolatorLagrange_decl_hpp
12 #include "Tempus_config.hpp"
20 template<
class Scalar>
48 std::string
description()
const {
return "Tempus::InterpolatorLagrange"; }
51 { out <<
description() <<
"::describe" << std::endl; }
64 void lagrange(
const int p,
const Scalar& t,
74 template<
class Scalar>
82 #endif // Tempus_InterpolatorLagrange_decl_hpp
Teuchos::RCP< const std::vector< Teuchos::RCP< SolutionState< Scalar > > > > nodes_
void describe(Teuchos::FancyOStream &out, const Teuchos::EVerbosityLevel) const
InterpolatorLagrange()
Contructor.
Teuchos::RCP< Teuchos::ParameterList > pl_
Teuchos::RCP< Teuchos::ParameterList > getNonconstParameterList()
~InterpolatorLagrange()
Destructor.
std::string description() const
TEUCHOS_DEPRECATED RCP< T > rcp(T *p, Dealloc_T dealloc, bool owns_mem)
Base strategy class for interpolation functionality.
Teuchos::RCP< Teuchos::ParameterList > unsetParameterList()
void setNodes(const Teuchos::RCP< const std::vector< Teuchos::RCP< SolutionState< Scalar > > > > &nodes)
Store pointer to interpolation nodes.
Teuchos::RCP< InterpolatorLagrange< Scalar > > lagrangeInterpolator()
Teuchos::RCP< const Teuchos::ParameterList > getValidParameters() const
void lagrange(const int p, const Scalar &t, SolutionState< Scalar > *state_out) const
void interpolate(const Scalar &t, SolutionState< Scalar > *state_out) const
Perform an interpolation.
Concrete implemenation of Interpolator that does simple lagrange interpolation.
Solution state for integrators and steppers. SolutionState contains the metadata for solutions and th...
void setParameterList(const Teuchos::RCP< Teuchos::ParameterList > ¶mList)
int order() const
Return the order of the interpolation.