Rythmos::ExplicitRKStepper< Scalar > Class Template Reference

More...

#include <Rythmos_ExplicitRKStepper.hpp>

Inheritance diagram for Rythmos::ExplicitRKStepper< Scalar >:

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

Collaboration graph
[legend]
List of all members.

Public Types

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

Public Member Functions

 ExplicitRKStepper ()
 
 ExplicitRKStepper (const Teuchos::RefCountPtr< const Thyra::ModelEvaluator< Scalar > > &model_)
 ~ExplicitRKStepper ()
 
Scalar TakeStep (Scalar dt)
 
Scalar TakeStep ()
 
Teuchos::RefCountPtr< const
Thyra::VectorBase< Scalar > > 
get_solution () const
 
std::string description () const
 
std::ostream & describe (std::ostream &out, const Teuchos::EVerbosityLevel verbLevel, const std::string leadingIndent, const std::string indentSpacer) const
 
bool SetPoints (const std::vector< Scalar > &time_list, const std::vector< Teuchos::RefCountPtr< Thyra::VectorBase< Scalar > > > &x_list, const std::vector< Teuchos::RefCountPtr< Thyra::VectorBase< Scalar > > > &xdot_list)
bool GetPoints (const std::vector< Scalar > &time_list, std::vector< Teuchos::RefCountPtr< Thyra::VectorBase< Scalar > > > *x_list, std::vector< Teuchos::RefCountPtr< Thyra::VectorBase< Scalar > > > *xdot_list, std::vector< ScalarMag > *accuracy_list) const
 Get values 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 Attributes

Teuchos::RefCountPtr< const
Thyra::ModelEvaluator< Scalar > > 
model_
Teuchos::RefCountPtr< Thyra::VectorBase<
Scalar > > 
solution_vector_
std::vector< Teuchos::RefCountPtr<
Thyra::VectorBase< Scalar > > > 
k_vector_
Teuchos::RefCountPtr< Thyra::VectorBase<
Scalar > > 
ktemp_vector_
int stages_
std::vector< std::vector<
Scalar > > 
b_A
std::vector< Scalar > b_b
std::vector< Scalar > b_c
Scalar t_

Detailed Description

template<class Scalar>
class Rythmos::ExplicitRKStepper< Scalar >

Definition at line 42 of file Rythmos_ExplicitRKStepper.hpp.


Member Typedef Documentation

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

Reimplemented from Rythmos::InterpolationBuffer< Scalar >.

Definition at line 46 of file Rythmos_ExplicitRKStepper.hpp.


Constructor & Destructor Documentation

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

Definition at line 261 of file Rythmos_ExplicitRKStepper.hpp.

template<class Scalar>
Rythmos::ExplicitRKStepper< Scalar >::ExplicitRKStepper const Teuchos::RefCountPtr< const Thyra::ModelEvaluator< Scalar > > &  model_  ) 
 

Definition at line 121 of file Rythmos_ExplicitRKStepper.hpp.

template<class Scalar>
Rythmos::ExplicitRKStepper< Scalar >::~ExplicitRKStepper  ) 
 

Definition at line 266 of file Rythmos_ExplicitRKStepper.hpp.


Member Function Documentation

template<class Scalar>
Scalar Rythmos::ExplicitRKStepper< Scalar >::TakeStep Scalar  dt  )  [virtual]
 

Implements Rythmos::Stepper< Scalar >.

Definition at line 279 of file Rythmos_ExplicitRKStepper.hpp.

template<class Scalar>
Scalar Rythmos::ExplicitRKStepper< Scalar >::TakeStep  )  [virtual]
 

Implements Rythmos::Stepper< Scalar >.

Definition at line 271 of file Rythmos_ExplicitRKStepper.hpp.

template<class Scalar>
Teuchos::RefCountPtr< const Thyra::VectorBase< Scalar > > Rythmos::ExplicitRKStepper< Scalar >::get_solution  )  const [virtual]
 

Implements Rythmos::Stepper< Scalar >.

Definition at line 312 of file Rythmos_ExplicitRKStepper.hpp.

template<class Scalar>
std::string Rythmos::ExplicitRKStepper< Scalar >::description  )  const [virtual]
 

Reimplemented from Teuchos::Describable.

Definition at line 318 of file Rythmos_ExplicitRKStepper.hpp.

template<class Scalar>
std::ostream & Rythmos::ExplicitRKStepper< Scalar >::describe std::ostream &  out,
const Teuchos::EVerbosityLevel  verbLevel,
const std::string  leadingIndent,
const std::string  indentSpacer
const
 

Definition at line 325 of file Rythmos_ExplicitRKStepper.hpp.

template<class Scalar>
bool Rythmos::ExplicitRKStepper< Scalar >::SetPoints const std::vector< Scalar > &  time_list,
const std::vector< Teuchos::RefCountPtr< Thyra::VectorBase< Scalar > > > &  x_list,
const std::vector< Teuchos::RefCountPtr< Thyra::VectorBase< Scalar > > > &  xdot_list
[virtual]
 

Redefined from InterpolationBuffer Add points to buffer

Implements Rythmos::InterpolationBuffer< Scalar >.

Definition at line 359 of file Rythmos_ExplicitRKStepper.hpp.

template<class Scalar>
bool Rythmos::ExplicitRKStepper< Scalar >::GetPoints const std::vector< Scalar > &  time_list,
std::vector< Teuchos::RefCountPtr< Thyra::VectorBase< Scalar > > > *  x_list,
std::vector< Teuchos::RefCountPtr< Thyra::VectorBase< Scalar > > > *  xdot_list,
std::vector< ScalarMag > *  accuracy_list
const [virtual]
 

Get values from buffer.

Implements Rythmos::InterpolationBuffer< Scalar >.

Definition at line 368 of file Rythmos_ExplicitRKStepper.hpp.

template<class Scalar>
bool Rythmos::ExplicitRKStepper< 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 >.

Definition at line 378 of file Rythmos_ExplicitRKStepper.hpp.

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

Get interpolation nodes.

Implements Rythmos::InterpolationBuffer< Scalar >.

Definition at line 387 of file Rythmos_ExplicitRKStepper.hpp.

template<class Scalar>
bool Rythmos::ExplicitRKStepper< Scalar >::RemoveNodes std::vector< Scalar > &  time_list  )  const [virtual]
 

Remove interpolation nodes.

Implements Rythmos::InterpolationBuffer< Scalar >.

Definition at line 393 of file Rythmos_ExplicitRKStepper.hpp.

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

Get order of interpolation.

Implements Rythmos::InterpolationBuffer< Scalar >.

Definition at line 399 of file Rythmos_ExplicitRKStepper.hpp.


Member Data Documentation

template<class Scalar>
Teuchos::RefCountPtr<const Thyra::ModelEvaluator<Scalar> > Rythmos::ExplicitRKStepper< Scalar >::model_ [private]
 

Definition at line 106 of file Rythmos_ExplicitRKStepper.hpp.

template<class Scalar>
Teuchos::RefCountPtr<Thyra::VectorBase<Scalar> > Rythmos::ExplicitRKStepper< Scalar >::solution_vector_ [private]
 

Definition at line 107 of file Rythmos_ExplicitRKStepper.hpp.

template<class Scalar>
std::vector<Teuchos::RefCountPtr<Thyra::VectorBase<Scalar> > > Rythmos::ExplicitRKStepper< Scalar >::k_vector_ [private]
 

Definition at line 108 of file Rythmos_ExplicitRKStepper.hpp.

template<class Scalar>
Teuchos::RefCountPtr<Thyra::VectorBase<Scalar> > Rythmos::ExplicitRKStepper< Scalar >::ktemp_vector_ [private]
 

Definition at line 109 of file Rythmos_ExplicitRKStepper.hpp.

template<class Scalar>
int Rythmos::ExplicitRKStepper< Scalar >::stages_ [private]
 

Definition at line 111 of file Rythmos_ExplicitRKStepper.hpp.

template<class Scalar>
std::vector<std::vector<Scalar> > Rythmos::ExplicitRKStepper< Scalar >::b_A [private]
 

Definition at line 112 of file Rythmos_ExplicitRKStepper.hpp.

template<class Scalar>
std::vector<Scalar> Rythmos::ExplicitRKStepper< Scalar >::b_b [private]
 

Definition at line 113 of file Rythmos_ExplicitRKStepper.hpp.

template<class Scalar>
std::vector<Scalar> Rythmos::ExplicitRKStepper< Scalar >::b_c [private]
 

Definition at line 114 of file Rythmos_ExplicitRKStepper.hpp.

template<class Scalar>
Scalar Rythmos::ExplicitRKStepper< Scalar >::t_ [private]
 

Definition at line 116 of file Rythmos_ExplicitRKStepper.hpp.


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