Tempus  Version of the Day
Time Integration
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
Public Member Functions | Private Member Functions | Private Attributes | List of all members
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 > Teuchos::Describable Teuchos::ParameterListAcceptor Teuchos::VerboseObject< Interpolator< Scalar > > Teuchos::LabeledObject Teuchos::VerboseObjectBase

Public Member Functions

 InterpolatorLagrange ()
 Contructor. More...
 
 ~InterpolatorLagrange ()
 Destructor. More...
 
- Public Member Functions inherited from Teuchos::Describable
void describe (std::ostream &out, const EVerbosityLevel verbLevel=verbLevel_default) const
 
virtual ~Describable ()
 
 LabeledObject ()
 
virtual ~LabeledObject ()
 
virtual void setObjectLabel (const std::string &objectLabel)
 
virtual std::string getObjectLabel () const
 
DescribableStreamManipulatorState describe (const Describable &describable, const EVerbosityLevel verbLevel=Describable::verbLevel_default)
 
std::ostream & operator<< (std::ostream &os, const DescribableStreamManipulatorState &d)
 
- Public Member Functions inherited from Teuchos::ParameterListAcceptor
virtual RCP< const ParameterListgetParameterList () const
 
- Public Member Functions inherited from Teuchos::VerboseObject< Interpolator< Scalar > >
 VerboseObject (const EVerbosityLevel verbLevel=VERB_DEFAULT, const RCP< FancyOStream > &oStream=Teuchos::null)
 
virtual const VerboseObjectsetVerbLevel (const EVerbosityLevel verbLevel) const
 
virtual const VerboseObjectsetOverridingVerbLevel (const EVerbosityLevel verbLevel) const
 
virtual EVerbosityLevel getVerbLevel () const
 
TEUCHOSPARAMETERLIST_LIB_DLL_EXPORT
RCP< const ParameterList
getValidVerboseObjectSublist ()
 
TEUCHOSPARAMETERLIST_LIB_DLL_EXPORT
void 
setupVerboseObjectSublist (ParameterList *paramList)
 
TEUCHOSPARAMETERLIST_LIB_DLL_EXPORT
void 
readVerboseObjectSublist (ParameterList *paramList, RCP< FancyOStream > *oStream, EVerbosityLevel *verbLevel)
 
void readVerboseObjectSublist (ParameterList *paramList, VerboseObject< ObjectType > *verboseObject)
 
- Public Member Functions inherited from Teuchos::VerboseObjectBase
virtual ~VerboseObjectBase ()
 
 VerboseObjectBase (const RCP< FancyOStream > &oStream=Teuchos::null)
 
virtual const VerboseObjectBasesetOStream (const RCP< FancyOStream > &oStream) const
 
virtual const VerboseObjectBasesetOverridingOStream (const RCP< FancyOStream > &oStream) const
 
virtual VerboseObjectBasesetLinePrefix (const std::string &linePrefix)
 
virtual RCP< FancyOStreamgetOStream () const
 
virtual RCP< FancyOStreamgetOverridingOStream () const
 
virtual std::string getLinePrefix () const
 
virtual OSTab getOSTab (const int tabs=1, const std::string &linePrefix="") 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_
 

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
 

Additional Inherited Members

- Static Public Member Functions inherited from Teuchos::VerboseObject< Interpolator< Scalar > >
static void setDefaultVerbLevel (const EVerbosityLevel defaultVerbLevel)
 
static EVerbosityLevel getDefaultVerbLevel ()
 
- Static Public Member Functions inherited from Teuchos::VerboseObjectBase
static void setDefaultOStream (const RCP< FancyOStream > &defaultOStream)
 
static RCP< FancyOStreamgetDefaultOStream ()
 
- Static Public Attributes inherited from Teuchos::Describable
static const EVerbosityLevel verbLevel_default
 
- Protected Member Functions inherited from Teuchos::VerboseObject< Interpolator< Scalar > >
void initializeVerboseObject (const EVerbosityLevel verbLevel=VERB_DEFAULT, const RCP< FancyOStream > &oStream=Teuchos::null)
 
- Protected Member Functions inherited from Teuchos::VerboseObjectBase
void initializeVerboseObjectBase (const RCP< FancyOStream > &oStream=Teuchos::null)
 
virtual void informUpdatedVerbosityState () const
 

Detailed Description

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

Concrete implemenation of Interpolator that does simple lagrange interpolation.

Definition at line 22 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 >::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 >::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 >
int Tempus::InterpolatorLagrange< Scalar >::order ( ) const
inlinevirtual

Return the order of the interpolation.

Implements Tempus::Interpolator< Scalar >.

Definition at line 45 of file Tempus_InterpolatorLagrange_decl.hpp.

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

Reimplemented from Teuchos::Describable.

Definition at line 51 of file Tempus_InterpolatorLagrange_decl.hpp.

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

Reimplemented from Teuchos::Describable.

Definition at line 52 of file Tempus_InterpolatorLagrange_decl.hpp.

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

Reimplemented from Teuchos::ParameterListAcceptor.

Definition at line 64 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 73 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 73 of file Tempus_InterpolatorLagrange_decl.hpp.

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

Definition at line 74 of file Tempus_InterpolatorLagrange_decl.hpp.

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

Definition at line 75 of file Tempus_InterpolatorLagrange_decl.hpp.


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