9 #ifndef Tempus_InterpolatorLagrange_decl_hpp
10 #define Tempus_InterpolatorLagrange_decl_hpp
19 template<
class Scalar>
47 std::string
description()
const {
return "Tempus::InterpolatorLagrange"; }
49 const Teuchos::EVerbosityLevel )
const
50 { out <<
description() <<
"::describe" << std::endl; }
55 void setParameterList(
const Teuchos::RCP<Teuchos::ParameterList>& paramList);
63 void lagrange(
const int p,
const Scalar& t,
66 Teuchos::RCP<const std::vector<Teuchos::RCP<SolutionState<Scalar> > > >
nodes_;
67 Teuchos::RCP<Teuchos::ParameterList>
pl_;
73 template<
class Scalar>
81 #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
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.