Rythmos::ForwardEulerStepper< Scalar > Class Template Reference

More...

#include <Rythmos_ForwardEulerStepper.hpp>

Inheritance diagram for Rythmos::ForwardEulerStepper< Scalar >:

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

Collaboration graph
[legend]
List of all members.

Public Types

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

Public Member Functions

 ForwardEulerStepper ()
 
 ForwardEulerStepper (const Teuchos::RefCountPtr< const Thyra::ModelEvaluator< Scalar > > &model)
 ~ForwardEulerStepper ()
 
Scalar TakeStep (Scalar dt)
 
Scalar TakeStep ()
 
Teuchos::RefCountPtr< const
Thyra::VectorBase< Scalar > > 
get_solution () const
 
Teuchos::RefCountPtr< const
Thyra::VectorBase< Scalar > > 
get_residual () 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_
Teuchos::RefCountPtr< Thyra::VectorBase<
Scalar > > 
residual_vector_
Scalar t_

Detailed Description

template<class Scalar>
class Rythmos::ForwardEulerStepper< Scalar >

Definition at line 42 of file Rythmos_ForwardEulerStepper.hpp.


Member Typedef Documentation

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

Reimplemented from Rythmos::InterpolationBuffer< Scalar >.

Definition at line 46 of file Rythmos_ForwardEulerStepper.hpp.


Constructor & Destructor Documentation

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

Definition at line 129 of file Rythmos_ForwardEulerStepper.hpp.

template<class Scalar>
Rythmos::ForwardEulerStepper< Scalar >::ForwardEulerStepper const Teuchos::RefCountPtr< const Thyra::ModelEvaluator< Scalar > > &  model  ) 
 

Definition at line 119 of file Rythmos_ForwardEulerStepper.hpp.

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

Definition at line 134 of file Rythmos_ForwardEulerStepper.hpp.


Member Function Documentation

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

Implements Rythmos::Stepper< Scalar >.

Definition at line 147 of file Rythmos_ForwardEulerStepper.hpp.

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

Implements Rythmos::Stepper< Scalar >.

Definition at line 139 of file Rythmos_ForwardEulerStepper.hpp.

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

Implements Rythmos::Stepper< Scalar >.

Definition at line 170 of file Rythmos_ForwardEulerStepper.hpp.

template<class Scalar>
Teuchos::RefCountPtr< const Thyra::VectorBase< Scalar > > Rythmos::ForwardEulerStepper< Scalar >::get_residual  )  const
 

Definition at line 176 of file Rythmos_ForwardEulerStepper.hpp.

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

Reimplemented from Teuchos::Describable.

Definition at line 182 of file Rythmos_ForwardEulerStepper.hpp.

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

Definition at line 189 of file Rythmos_ForwardEulerStepper.hpp.

template<class Scalar>
bool Rythmos::ForwardEulerStepper< 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 210 of file Rythmos_ForwardEulerStepper.hpp.

template<class Scalar>
bool Rythmos::ForwardEulerStepper< 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 219 of file Rythmos_ForwardEulerStepper.hpp.

template<class Scalar>
bool Rythmos::ForwardEulerStepper< 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 229 of file Rythmos_ForwardEulerStepper.hpp.

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

Get interpolation nodes.

Implements Rythmos::InterpolationBuffer< Scalar >.

Definition at line 238 of file Rythmos_ForwardEulerStepper.hpp.

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

Remove interpolation nodes.

Implements Rythmos::InterpolationBuffer< Scalar >.

Definition at line 244 of file Rythmos_ForwardEulerStepper.hpp.

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

Get order of interpolation.

Implements Rythmos::InterpolationBuffer< Scalar >.

Definition at line 250 of file Rythmos_ForwardEulerStepper.hpp.


Member Data Documentation

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

Definition at line 111 of file Rythmos_ForwardEulerStepper.hpp.

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

Definition at line 112 of file Rythmos_ForwardEulerStepper.hpp.

template<class Scalar>
Teuchos::RefCountPtr<Thyra::VectorBase<Scalar> > Rythmos::ForwardEulerStepper< Scalar >::residual_vector_ [private]
 

Definition at line 113 of file Rythmos_ForwardEulerStepper.hpp.

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

Definition at line 114 of file Rythmos_ForwardEulerStepper.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