Rythmos::LinearInterpolationBuffer< Scalar > Class Template Reference

class for defining linear interpolation buffer functionality. More...

#include <Rythmos_LinearInterpolationBuffer.hpp>

Inheritance diagram for Rythmos::LinearInterpolationBuffer< Scalar >:

Inheritance graph
[legend]
Collaboration diagram for Rythmos::LinearInterpolationBuffer< Scalar >:

Collaboration graph
[legend]
List of all members.

Public Types

typedef Teuchos::ScalarTraits<
Scalar >::magnitudeType 
ScalarMag

Public Member Functions

 LinearInterpolationBuffer ()
 
 LinearInterpolationBuffer (int storage)
 SetStorage (int storage)
 ~LinearInterpolationBuffer ()
 Destructor.
bool SetPoints (const std::vector< Scalar > &time_list, const std::vector< Thyra::VectorBase< Scalar > > &x_list, const std::vector< Thyra::VectorBase< Scalar > > &xdot_list)
 Add point to buffer.
bool GetPoints (const std::vector< Scalar > &time_list, std::vector< Thyra::VectorBase< Scalar > > *x_list, std::vector< Thyra::VectorBase< Scalar > > *xdot_list, std::vector< ScalarMag > *accuracy_list) const
 Get value from buffer.
bool SetRange (const Scalar &time_lower, const Scalar &time_upper, const InterpolationBuffer< Scalar > &IB)
 Fill data in from another interpolation buffer.
bool GetNodes (std::vector< Scalar > *time_list) const
 Get interpolation nodes.
bool RemoveNodes (std::vector< Scalar > *time_list) const
 Remove interpolation nodes.
int GetOrder () const
 Get order of interpolation.

Private Member Functions

void DataStoreListToVector (std::vector< ScalarMag > *time_vec, std::vector< Teuchos::RefCountPtr< Thyra::VectorBase< Scalar > > > *x_vec, std::vector< Teuchos::RefCountPtr< Thyra::VectorBase< Scalar > > > *xdot_vec, const std::list< Teuchos::RefCountPtr< DataStore< Scalar > > > &list_ds) const

Private Attributes

int storage_limit
Thyra::VectorBase< Scalar > tmp_vec
std::list< Teuchos::RefCountPtr<
DataStore< Scalar > > > 
node_list
int order
Rythmos::LinearInterpolationBuffer::DataStorelist_ds
Rythmos::LinearInterpolationBuffer::DataStoretime_vec
Rythmos::LinearInterpolationBuffer::DataStorex_vec
Rythmos::LinearInterpolationBuffer::DataStore const

Detailed Description

template<class Scalar>
class Rythmos::LinearInterpolationBuffer< Scalar >

class for defining linear interpolation buffer functionality.

Definition at line 39 of file Rythmos_LinearInterpolationBuffer.hpp.


Member Typedef Documentation

template<class Scalar>
typedef Teuchos::ScalarTraits<Scalar>::magnitudeType Rythmos::LinearInterpolationBuffer< Scalar >::ScalarMag
 

Reimplemented from Rythmos::InterpolationBuffer< Scalar >.

Definition at line 43 of file Rythmos_LinearInterpolationBuffer.hpp.


Constructor & Destructor Documentation

template<class Scalar>
Rythmos::LinearInterpolationBuffer< Scalar >::LinearInterpolationBuffer  ) 
 

Definition at line 121 of file Rythmos_LinearInterpolationBuffer.hpp.

template<class Scalar>
Rythmos::LinearInterpolationBuffer< Scalar >::LinearInterpolationBuffer int  storage  ) 
 

Definition at line 128 of file Rythmos_LinearInterpolationBuffer.hpp.

template<class Scalar>
Rythmos::LinearInterpolationBuffer< Scalar >::~LinearInterpolationBuffer  )  [inline]
 

Destructor.

Definition at line 52 of file Rythmos_LinearInterpolationBuffer.hpp.


Member Function Documentation

template<class Scalar>
Rythmos::LinearInterpolationBuffer< Scalar >::SetStorage int  storage  ) 
 

Definition at line 135 of file Rythmos_LinearInterpolationBuffer.hpp.

template<class Scalar>
bool Rythmos::LinearInterpolationBuffer< Scalar >::SetPoints const std::vector< Scalar > &  time_list,
const std::vector< Thyra::VectorBase< Scalar > > &  x_list,
const std::vector< Thyra::VectorBase< Scalar > > &  xdot_list
 

Add point to buffer.

template<class Scalar>
bool Rythmos::LinearInterpolationBuffer< Scalar >::GetPoints const std::vector< Scalar > &  time_list,
std::vector< Thyra::VectorBase< Scalar > > *  x_list,
std::vector< Thyra::VectorBase< Scalar > > *  xdot_list,
std::vector< ScalarMag > *  accuracy_list
const
 

Get value from buffer.

template<class Scalar>
bool Rythmos::LinearInterpolationBuffer< Scalar >::SetRange const Scalar &  time_lower,
const Scalar &  time_upper,
const InterpolationBuffer< Scalar > &  IB
[virtual]
 

Fill data in from another interpolation buffer.

Implements Rythmos::InterpolationBuffer< Scalar >.

template<class Scalar>
bool Rythmos::LinearInterpolationBuffer< Scalar >::GetNodes std::vector< Scalar > *  time_list  )  const [virtual]
 

Get interpolation nodes.

Implements Rythmos::InterpolationBuffer< Scalar >.

template<class Scalar>
bool Rythmos::LinearInterpolationBuffer< Scalar >::RemoveNodes std::vector< Scalar > *  time_list  )  const
 

Remove interpolation nodes.

template<class Scalar>
int Rythmos::LinearInterpolationBuffer< Scalar >::GetOrder  )  const [virtual]
 

Get order of interpolation.

Implements Rythmos::InterpolationBuffer< Scalar >.

template<class Scalar>
void Rythmos::LinearInterpolationBuffer< Scalar >::DataStoreListToVector std::vector< ScalarMag > *  time_vec,
std::vector< Teuchos::RefCountPtr< Thyra::VectorBase< Scalar > > > *  x_vec,
std::vector< Teuchos::RefCountPtr< Thyra::VectorBase< Scalar > > > *  xdot_vec,
const std::list< Teuchos::RefCountPtr< DataStore< Scalar > > > &  list_ds
const [private]
 


Member Data Documentation

template<class Scalar>
int Rythmos::LinearInterpolationBuffer< Scalar >::storage_limit [private]
 

Definition at line 84 of file Rythmos_LinearInterpolationBuffer.hpp.

template<class Scalar>
Thyra::VectorBase<Scalar> Rythmos::LinearInterpolationBuffer< Scalar >::tmp_vec [private]
 

Definition at line 85 of file Rythmos_LinearInterpolationBuffer.hpp.

template<class Scalar>
std::list<Teuchos::RefCountPtr<DataStore<Scalar> > > Rythmos::LinearInterpolationBuffer< Scalar >::node_list [private]
 

Definition at line 86 of file Rythmos_LinearInterpolationBuffer.hpp.

template<class Scalar>
int Rythmos::LinearInterpolationBuffer< Scalar >::order [private]
 

Definition at line 87 of file Rythmos_LinearInterpolationBuffer.hpp.

template<class Scalar>
class Rythmos::LinearInterpolationBuffer::DataStore * Rythmos::LinearInterpolationBuffer< Scalar >::list_ds [private]
 

template<class Scalar>
class Rythmos::LinearInterpolationBuffer::DataStore & Rythmos::LinearInterpolationBuffer< Scalar >::time_vec [private]
 

template<class Scalar>
class Rythmos::LinearInterpolationBuffer::DataStore & Rythmos::LinearInterpolationBuffer< Scalar >::x_vec [private]
 

template<class Scalar>
class Rythmos::LinearInterpolationBuffer::DataStore Rythmos::LinearInterpolationBuffer< Scalar >::const [private]
 


The documentation for this class was generated from the following file:
Generated on Thu Sep 18 12:30:06 2008 for Rythmos - Transient Integration for Differential Equations by doxygen 1.3.9.1