Rythmos::BackwardEulerStepper< Scalar > Class Template Reference

More...

#include <Rythmos_BackwardEulerStepper.hpp>

Inheritance diagram for Rythmos::BackwardEulerStepper< Scalar >:

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

Collaboration graph
[legend]
List of all members.

Public Types

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

Public Member Functions

 BackwardEulerStepper (const Teuchos::RefCountPtr< const Thyra::ModelEvaluator< Scalar > > &model, const Teuchos::RefCountPtr< Thyra::NonlinearSolverBase< Scalar > > &solver)
 
void setModel (const Teuchos::RefCountPtr< const Thyra::ModelEvaluator< Scalar > > &model)
 
void setSolver (const Teuchos::RefCountPtr< Thyra::NonlinearSolverBase< Scalar > > &solver)
 
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
 Redefined from describable .
void describe (Teuchos::FancyOStream &out, const Teuchos::EVerbosityLevel verbLevel) 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::NonlinearSolverBase<
Scalar > > 
solver_
Teuchos::RefCountPtr< Thyra::VectorBase<
Scalar > > 
x_
Teuchos::RefCountPtr< Thyra::VectorBase<
Scalar > > 
scaled_x_old_
Teuchos::RefCountPtr< Thyra::VectorBase<
Scalar > > 
f_
Scalar t_
Scalar t_old_
Teuchos::RefCountPtr< Thyra::SingleResidSSDAEModelEvaluator<
Scalar > > 
neModel_

Detailed Description

template<class Scalar>
class Rythmos::BackwardEulerStepper< Scalar >

Definition at line 44 of file Rythmos_BackwardEulerStepper.hpp.


Member Typedef Documentation

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

Reimplemented from Rythmos::InterpolationBuffer< Scalar >.

Definition at line 48 of file Rythmos_BackwardEulerStepper.hpp.


Constructor & Destructor Documentation

template<class Scalar>
Rythmos::BackwardEulerStepper< Scalar >::BackwardEulerStepper const Teuchos::RefCountPtr< const Thyra::ModelEvaluator< Scalar > > &  model,
const Teuchos::RefCountPtr< Thyra::NonlinearSolverBase< Scalar > > &  solver
 

Definition at line 131 of file Rythmos_BackwardEulerStepper.hpp.


Member Function Documentation

template<class Scalar>
void Rythmos::BackwardEulerStepper< Scalar >::setModel const Teuchos::RefCountPtr< const Thyra::ModelEvaluator< Scalar > > &  model  ) 
 

Definition at line 141 of file Rythmos_BackwardEulerStepper.hpp.

template<class Scalar>
void Rythmos::BackwardEulerStepper< Scalar >::setSolver const Teuchos::RefCountPtr< Thyra::NonlinearSolverBase< Scalar > > &  solver  ) 
 

Definition at line 154 of file Rythmos_BackwardEulerStepper.hpp.

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

Implements Rythmos::Stepper< Scalar >.

Definition at line 168 of file Rythmos_BackwardEulerStepper.hpp.

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

Implements Rythmos::Stepper< Scalar >.

Definition at line 160 of file Rythmos_BackwardEulerStepper.hpp.

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

Implements Rythmos::Stepper< Scalar >.

Definition at line 197 of file Rythmos_BackwardEulerStepper.hpp.

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

Definition at line 203 of file Rythmos_BackwardEulerStepper.hpp.

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

Redefined from describable .

Reimplemented from Teuchos::Describable.

Definition at line 209 of file Rythmos_BackwardEulerStepper.hpp.

template<class Scalar>
void Rythmos::BackwardEulerStepper< Scalar >::describe Teuchos::FancyOStream out,
const Teuchos::EVerbosityLevel  verbLevel
const
 

Definition at line 216 of file Rythmos_BackwardEulerStepper.hpp.

template<class Scalar>
bool Rythmos::BackwardEulerStepper< 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 243 of file Rythmos_BackwardEulerStepper.hpp.

template<class Scalar>
bool Rythmos::BackwardEulerStepper< 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 252 of file Rythmos_BackwardEulerStepper.hpp.

template<class Scalar>
bool Rythmos::BackwardEulerStepper< 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 262 of file Rythmos_BackwardEulerStepper.hpp.

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

Get interpolation nodes.

Implements Rythmos::InterpolationBuffer< Scalar >.

Definition at line 271 of file Rythmos_BackwardEulerStepper.hpp.

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

Remove interpolation nodes.

Implements Rythmos::InterpolationBuffer< Scalar >.

Definition at line 277 of file Rythmos_BackwardEulerStepper.hpp.

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

Get order of interpolation.

Implements Rythmos::InterpolationBuffer< Scalar >.

Definition at line 283 of file Rythmos_BackwardEulerStepper.hpp.


Member Data Documentation

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

Definition at line 115 of file Rythmos_BackwardEulerStepper.hpp.

template<class Scalar>
Teuchos::RefCountPtr<Thyra::NonlinearSolverBase<Scalar> > Rythmos::BackwardEulerStepper< Scalar >::solver_ [private]
 

Definition at line 116 of file Rythmos_BackwardEulerStepper.hpp.

template<class Scalar>
Teuchos::RefCountPtr<Thyra::VectorBase<Scalar> > Rythmos::BackwardEulerStepper< Scalar >::x_ [private]
 

Definition at line 117 of file Rythmos_BackwardEulerStepper.hpp.

template<class Scalar>
Teuchos::RefCountPtr<Thyra::VectorBase<Scalar> > Rythmos::BackwardEulerStepper< Scalar >::scaled_x_old_ [private]
 

Definition at line 118 of file Rythmos_BackwardEulerStepper.hpp.

template<class Scalar>
Teuchos::RefCountPtr<Thyra::VectorBase<Scalar> > Rythmos::BackwardEulerStepper< Scalar >::f_ [private]
 

Definition at line 119 of file Rythmos_BackwardEulerStepper.hpp.

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

Definition at line 120 of file Rythmos_BackwardEulerStepper.hpp.

template<class Scalar>
Scalar Rythmos::BackwardEulerStepper< Scalar >::t_old_ [private]
 

Definition at line 121 of file Rythmos_BackwardEulerStepper.hpp.

template<class Scalar>
Teuchos::RefCountPtr<Thyra::SingleResidSSDAEModelEvaluator<Scalar> > Rythmos::BackwardEulerStepper< Scalar >::neModel_ [private]
 

Definition at line 123 of file Rythmos_BackwardEulerStepper.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