Tempus  Version of the Day
Time Integration
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Pages
Tempus::InterpolatorLagrange< Scalar > Class Template Reference

Concrete implemenation of Interpolator that does simple lagrange interpolation. More...

#include <Tempus_InterpolatorLagrange_decl.hpp>

Inheritance diagram for Tempus::InterpolatorLagrange< Scalar >:
Tempus::Interpolator< Scalar >

Public Member Functions

 InterpolatorLagrange ()
 Contructor. More...
 
 ~InterpolatorLagrange ()
 Destructor. More...
 
Overridden from Tempus::Interpolator
void setNodes (const Teuchos::RCP< const std::vector< Teuchos::RCP< SolutionState< Scalar > > > > &nodes)
 Store pointer to interpolation nodes. More...
 
void interpolate (const Scalar &t, SolutionState< Scalar > *state_out) const
 Perform an interpolation. More...
 
int order () const
 Return the order of the interpolation. More...
 
Overridden from Teuchos::Describable
std::string description () const
 
void describe (Teuchos::FancyOStream &out, const Teuchos::EVerbosityLevel) const
 
Overridden from Teuchos::ParameterListAcceptor
void setParameterList (const Teuchos::RCP< Teuchos::ParameterList > &paramList)
 
Teuchos::RCP
< Teuchos::ParameterList > 
getNonconstParameterList ()
 
Teuchos::RCP
< Teuchos::ParameterList > 
unsetParameterList ()
 
Teuchos::RCP< const
Teuchos::ParameterList > 
getValidParameters () const
 

Private Member Functions

void lagrange (const int p, const Scalar &t, SolutionState< Scalar > *state_out) const
 

Private Attributes

Teuchos::RCP< const
std::vector< Teuchos::RCP
< SolutionState< Scalar > > > > 
nodes_
 
Teuchos::RCP
< Teuchos::ParameterList > 
pl_
 
int order_
 

Detailed Description

template<class Scalar>
class Tempus::InterpolatorLagrange< Scalar >

Concrete implemenation of Interpolator that does simple lagrange interpolation.

Definition at line 20 of file Tempus_InterpolatorLagrange_decl.hpp.

Constructor & Destructor Documentation

template<class Scalar >
Tempus::InterpolatorLagrange< Scalar >::InterpolatorLagrange ( )
inline

Contructor.

Definition at line 25 of file Tempus_InterpolatorLagrange_decl.hpp.

template<class Scalar >
Tempus::InterpolatorLagrange< Scalar >::~InterpolatorLagrange ( )
inline

Destructor.

Definition at line 28 of file Tempus_InterpolatorLagrange_decl.hpp.

Member Function Documentation

template<class Scalar >
void Tempus::InterpolatorLagrange< Scalar >::describe ( Teuchos::FancyOStream &  out,
const Teuchos::EVerbosityLevel   
) const
inline

Definition at line 48 of file Tempus_InterpolatorLagrange_decl.hpp.

template<class Scalar >
std::string Tempus::InterpolatorLagrange< Scalar >::description ( ) const
inline

Definition at line 47 of file Tempus_InterpolatorLagrange_decl.hpp.

template<class Scalar >
Teuchos::RCP< Teuchos::ParameterList > Tempus::InterpolatorLagrange< Scalar >::getNonconstParameterList ( )

Definition at line 48 of file Tempus_InterpolatorLagrange_impl.hpp.

template<class Scalar >
Teuchos::RCP< const Teuchos::ParameterList > Tempus::InterpolatorLagrange< Scalar >::getValidParameters ( ) const

Definition at line 66 of file Tempus_InterpolatorLagrange_impl.hpp.

template<class Scalar >
void Tempus::InterpolatorLagrange< Scalar >::interpolate ( const Scalar &  t,
SolutionState< Scalar > *  state_out 
) const
virtual

Perform an interpolation.

Implements Tempus::Interpolator< Scalar >.

Definition at line 22 of file Tempus_InterpolatorLagrange_impl.hpp.

template<class Scalar >
void Tempus::InterpolatorLagrange< Scalar >::lagrange ( const int  p,
const Scalar &  t,
SolutionState< Scalar > *  state_out 
) const
private

Definition at line 77 of file Tempus_InterpolatorLagrange_impl.hpp.

template<class Scalar >
int Tempus::InterpolatorLagrange< Scalar >::order ( ) const
inlinevirtual

Return the order of the interpolation.

Implements Tempus::Interpolator< Scalar >.

Definition at line 41 of file Tempus_InterpolatorLagrange_decl.hpp.

template<class Scalar >
void Tempus::InterpolatorLagrange< Scalar >::setNodes ( const Teuchos::RCP< const std::vector< Teuchos::RCP< SolutionState< Scalar > > > > &  nodes)
inlinevirtual

Store pointer to interpolation nodes.

Implements Tempus::Interpolator< Scalar >.

Definition at line 34 of file Tempus_InterpolatorLagrange_decl.hpp.

template<class Scalar >
void Tempus::InterpolatorLagrange< Scalar >::setParameterList ( const Teuchos::RCP< Teuchos::ParameterList > &  paramList)

Definition at line 34 of file Tempus_InterpolatorLagrange_impl.hpp.

template<class Scalar >
Teuchos::RCP< Teuchos::ParameterList > Tempus::InterpolatorLagrange< Scalar >::unsetParameterList ( )

Definition at line 56 of file Tempus_InterpolatorLagrange_impl.hpp.

Member Data Documentation

template<class Scalar >
Teuchos::RCP<const std::vector<Teuchos::RCP<SolutionState<Scalar> > > > Tempus::InterpolatorLagrange< Scalar >::nodes_
private

Definition at line 66 of file Tempus_InterpolatorLagrange_decl.hpp.

template<class Scalar >
int Tempus::InterpolatorLagrange< Scalar >::order_
private

Definition at line 68 of file Tempus_InterpolatorLagrange_decl.hpp.

template<class Scalar >
Teuchos::RCP<Teuchos::ParameterList> Tempus::InterpolatorLagrange< Scalar >::pl_
private

Definition at line 67 of file Tempus_InterpolatorLagrange_decl.hpp.


The documentation for this class was generated from the following files: