Rythmos::ExplicitTaylorPolynomialStepper< Scalar > Class Template Reference

#include <Rythmos_ExplicitTaylorPolynomialStepper.hpp>

Inheritance diagram for Rythmos::ExplicitTaylorPolynomialStepper< Scalar >:

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

Collaboration graph
[legend]
List of all members.

Public Types

typedef Teuchos::ScalarTraits<
Scalar >::magnitudeType 
magnitude_type
 Typename of magnitude of scalars.

Public Member Functions

 ExplicitTaylorPolynomialStepper (const Teuchos::RefCountPtr< const Thyra::ModelEvaluator< Scalar > > &model, Teuchos::ParameterList &params)
 ~ExplicitTaylorPolynomialStepper ()
 Destructor.
Scalar TakeStep (Scalar dt)
 Take a time step of magnitude dt.
Scalar TakeStep ()
 Take a time step with implicitly chosen time step.
Teuchos::RefCountPtr< const
Thyra::VectorBase< Scalar > > 
get_solution () const
 Return solution vector at current time.
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< Thyra::VectorBase< Scalar > > &x_list, const std::vector< Thyra::VectorBase< Scalar > > &xdot_list)
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 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.

Protected Member Functions

void computeTaylorSeriesSolution ()
 Computes a local Taylor series solution to the ODE.
magnitude_type estimateLogRadius ()
 Computes of log of the estimated radius of convergence of the Taylor series.

Protected Attributes

Teuchos::RefCountPtr< const
Thyra::ModelEvaluator< Scalar > > 
model
 Underlying model.
Teuchos::RefCountPtr< Thyra::VectorBase<
Scalar > > 
x_vector
 Current solution vector.
Teuchos::RefCountPtr< Thyra::VectorBase<
Scalar > > 
x_dot_vector
 Vector store approximation to $dx/dt$.
Teuchos::RefCountPtr< Thyra::VectorBase<
Scalar > > 
f_vector
 Vector store ODE residual.
Teuchos::RefCountPtr< Teuchos::Polynomial<
Thyra::VectorBase< Scalar > > > 
x_poly
 Polynomial for x.
Teuchos::RefCountPtr< Teuchos::Polynomial<
Thyra::VectorBase< Scalar > > > 
f_poly
 Polynomial for f.
Scalar t
 Current time.
Scalar t_initial
 Initial integration time.
Scalar t_final
 Final integration time.
magnitude_type local_error_tolerance
 Local error tolerance for each time step.
Scalar min_step_size
 Smallest acceptable time step size.
Scalar max_step_size
 Largest acceptable time step size.
unsigned int degree
 Degree of local Taylor series expansion.
Scalar linc
 Used in time step size computation.

template<class Scalar>
class Rythmos::ExplicitTaylorPolynomialStepper< Scalar >


Member Typedef Documentation

template<class Scalar>
typedef Teuchos::ScalarTraits<Scalar>::magnitudeType Rythmos::ExplicitTaylorPolynomialStepper< Scalar >::magnitude_type
 

Typename of magnitude of scalars.

Definition at line 147 of file Rythmos_ExplicitTaylorPolynomialStepper.hpp.


Constructor & Destructor Documentation

template<class Scalar>
Rythmos::ExplicitTaylorPolynomialStepper< Scalar >::ExplicitTaylorPolynomialStepper const Teuchos::RefCountPtr< const Thyra::ModelEvaluator< Scalar > > &  model,
Teuchos::ParameterList params
 

Constructor. See description above for the list of parameters this class uses in params.

Definition at line 353 of file Rythmos_ExplicitTaylorPolynomialStepper.hpp.

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

Destructor.

Definition at line 396 of file Rythmos_ExplicitTaylorPolynomialStepper.hpp.


Member Function Documentation

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

Take a time step of magnitude dt.

Implements Rythmos::Stepper< Scalar >.

Definition at line 461 of file Rythmos_ExplicitTaylorPolynomialStepper.hpp.

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

Take a time step with implicitly chosen time step.

Implements Rythmos::Stepper< Scalar >.

Definition at line 402 of file Rythmos_ExplicitTaylorPolynomialStepper.hpp.

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

Return solution vector at current time.

Implements Rythmos::Stepper< Scalar >.

Definition at line 489 of file Rythmos_ExplicitTaylorPolynomialStepper.hpp.

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

Reimplemented from Teuchos::Describable.

Definition at line 538 of file Rythmos_ExplicitTaylorPolynomialStepper.hpp.

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

Definition at line 545 of file Rythmos_ExplicitTaylorPolynomialStepper.hpp.

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

Redefined from InterpolationBuffer Add points to buffer

Definition at line 581 of file Rythmos_ExplicitTaylorPolynomialStepper.hpp.

template<class Scalar>
bool Rythmos::ExplicitTaylorPolynomialStepper< 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 values from buffer.

Definition at line 590 of file Rythmos_ExplicitTaylorPolynomialStepper.hpp.

template<class Scalar>
bool Rythmos::ExplicitTaylorPolynomialStepper< 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 600 of file Rythmos_ExplicitTaylorPolynomialStepper.hpp.

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

Get interpolation nodes.

Implements Rythmos::InterpolationBuffer< Scalar >.

Definition at line 609 of file Rythmos_ExplicitTaylorPolynomialStepper.hpp.

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

Remove interpolation nodes.

Definition at line 615 of file Rythmos_ExplicitTaylorPolynomialStepper.hpp.

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

Get order of interpolation.

Implements Rythmos::InterpolationBuffer< Scalar >.

Definition at line 622 of file Rythmos_ExplicitTaylorPolynomialStepper.hpp.

template<class Scalar>
void Rythmos::ExplicitTaylorPolynomialStepper< Scalar >::computeTaylorSeriesSolution  )  [protected]
 

Computes a local Taylor series solution to the ODE.

Definition at line 496 of file Rythmos_ExplicitTaylorPolynomialStepper.hpp.

template<class Scalar>
ExplicitTaylorPolynomialStepper< Scalar >::magnitude_type Rythmos::ExplicitTaylorPolynomialStepper< Scalar >::estimateLogRadius  )  [protected]
 

Computes of log of the estimated radius of convergence of the Taylor series.

Definition at line 525 of file Rythmos_ExplicitTaylorPolynomialStepper.hpp.


Member Data Documentation

template<class Scalar>
Teuchos::RefCountPtr<const Thyra::ModelEvaluator<Scalar> > Rythmos::ExplicitTaylorPolynomialStepper< Scalar >::model [protected]
 

Underlying model.

Definition at line 221 of file Rythmos_ExplicitTaylorPolynomialStepper.hpp.

template<class Scalar>
Teuchos::RefCountPtr<Thyra::VectorBase<Scalar> > Rythmos::ExplicitTaylorPolynomialStepper< Scalar >::x_vector [protected]
 

Current solution vector.

Definition at line 224 of file Rythmos_ExplicitTaylorPolynomialStepper.hpp.

template<class Scalar>
Teuchos::RefCountPtr<Thyra::VectorBase<Scalar> > Rythmos::ExplicitTaylorPolynomialStepper< Scalar >::x_dot_vector [protected]
 

Vector store approximation to $dx/dt$.

Definition at line 227 of file Rythmos_ExplicitTaylorPolynomialStepper.hpp.

template<class Scalar>
Teuchos::RefCountPtr<Thyra::VectorBase<Scalar> > Rythmos::ExplicitTaylorPolynomialStepper< Scalar >::f_vector [protected]
 

Vector store ODE residual.

Definition at line 230 of file Rythmos_ExplicitTaylorPolynomialStepper.hpp.

template<class Scalar>
Teuchos::RefCountPtr<Teuchos::Polynomial<Thyra::VectorBase<Scalar> > > Rythmos::ExplicitTaylorPolynomialStepper< Scalar >::x_poly [protected]
 

Polynomial for x.

Definition at line 233 of file Rythmos_ExplicitTaylorPolynomialStepper.hpp.

template<class Scalar>
Teuchos::RefCountPtr<Teuchos::Polynomial<Thyra::VectorBase<Scalar> > > Rythmos::ExplicitTaylorPolynomialStepper< Scalar >::f_poly [protected]
 

Polynomial for f.

Definition at line 236 of file Rythmos_ExplicitTaylorPolynomialStepper.hpp.

template<class Scalar>
Scalar Rythmos::ExplicitTaylorPolynomialStepper< Scalar >::t [protected]
 

Current time.

Definition at line 239 of file Rythmos_ExplicitTaylorPolynomialStepper.hpp.

template<class Scalar>
Scalar Rythmos::ExplicitTaylorPolynomialStepper< Scalar >::t_initial [protected]
 

Initial integration time.

Definition at line 242 of file Rythmos_ExplicitTaylorPolynomialStepper.hpp.

template<class Scalar>
Scalar Rythmos::ExplicitTaylorPolynomialStepper< Scalar >::t_final [protected]
 

Final integration time.

Definition at line 245 of file Rythmos_ExplicitTaylorPolynomialStepper.hpp.

template<class Scalar>
magnitude_type Rythmos::ExplicitTaylorPolynomialStepper< Scalar >::local_error_tolerance [protected]
 

Local error tolerance for each time step.

Definition at line 248 of file Rythmos_ExplicitTaylorPolynomialStepper.hpp.

template<class Scalar>
Scalar Rythmos::ExplicitTaylorPolynomialStepper< Scalar >::min_step_size [protected]
 

Smallest acceptable time step size.

Definition at line 251 of file Rythmos_ExplicitTaylorPolynomialStepper.hpp.

template<class Scalar>
Scalar Rythmos::ExplicitTaylorPolynomialStepper< Scalar >::max_step_size [protected]
 

Largest acceptable time step size.

Definition at line 254 of file Rythmos_ExplicitTaylorPolynomialStepper.hpp.

template<class Scalar>
unsigned int Rythmos::ExplicitTaylorPolynomialStepper< Scalar >::degree [protected]
 

Degree of local Taylor series expansion.

Definition at line 257 of file Rythmos_ExplicitTaylorPolynomialStepper.hpp.

template<class Scalar>
Scalar Rythmos::ExplicitTaylorPolynomialStepper< Scalar >::linc [protected]
 

Used in time step size computation.

Definition at line 260 of file Rythmos_ExplicitTaylorPolynomialStepper.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