Rythmos - Transient Integration for Differential Equations
Version of the Day
|
A concrete subclass for IntegratorBase
that allows a good deal of customization.
More...
#include <Rythmos_DefaultIntegrator_decl.hpp>
Public Types | |
typedef ScalarTraits< Scalar > ::magnitudeType | ScalarMag |
Public Types inherited from Rythmos::IntegratorBase< Scalar > | |
typedef Teuchos::ScalarTraits < Scalar >::magnitudeType | ScalarMag |
Public Types inherited from Rythmos::InterpolationBufferBase< Scalar > | |
typedef Teuchos::ScalarTraits < Scalar >::magnitudeType | ScalarMag |
Public Member Functions | |
void | getFwdPoints (const Array< Scalar > &time_vec, Array< RCP< const Thyra::VectorBase< Scalar > > > *x_vec, Array< RCP< const Thyra::VectorBase< Scalar > > > *xdot_vec, Array< ScalarMag > *accuracy_vec) |
TimeRange< Scalar > | getFwdTimeRange () const |
Public Member Functions inherited from Rythmos::IntegratorBase< Scalar > | |
virtual void | getFwdPoints (const Array< Scalar > &time_vec, Array< RCP< const Thyra::VectorBase< Scalar > > > *x_vec, Array< RCP< const Thyra::VectorBase< Scalar > > > *xdot_vec, Array< ScalarMag > *accuracy_vec)=0 |
Get values at time points both inside and outside (forward) of current TimeRange. More... | |
Public Member Functions inherited from Rythmos::InterpolationBufferBase< Scalar > | |
virtual void | getPoints (const Array< Scalar > &time_vec, Array< RCP< const Thyra::VectorBase< Scalar > > > *x_vec, Array< RCP< const Thyra::VectorBase< Scalar > > > *xdot_vec, Array< ScalarMag > *accuracy_vec) const =0 |
Get values from the buffer at different time points. More... | |
Related Functions | |
(Note that these are not member functions.) | |
template<class Scalar > | |
RCP< DefaultIntegrator< Scalar > > | defaultIntegrator () |
template<class Scalar > | |
RCP< DefaultIntegrator< Scalar > > | defaultIntegrator (const RCP< IntegrationControlStrategyBase< Scalar > > &integrationControlStrategy, const RCP< IntegrationObserverBase< Scalar > > &integrationObserver) |
template<class Scalar > | |
RCP< DefaultIntegrator< Scalar > > | controlledDefaultIntegrator (const RCP< IntegrationControlStrategyBase< Scalar > > &integrationControlStrategy) |
template<class Scalar > | |
RCP< DefaultIntegrator< Scalar > > | observedDefaultIntegrator (const RCP< IntegrationObserverBase< Scalar > > &integrationObserver) |
template<class Scalar > | |
RCP< DefaultIntegrator< Scalar > > | defaultIntegrator () |
template<class Scalar > | |
RCP< DefaultIntegrator< Scalar > > | defaultIntegrator (const RCP< IntegrationControlStrategyBase< Scalar > > &integrationControlStrategy, const RCP< IntegrationObserverBase< Scalar > > &integrationObserver) |
template<class Scalar > | |
RCP< DefaultIntegrator< Scalar > > | controlledDefaultIntegrator (const RCP< IntegrationControlStrategyBase< Scalar > > &integrationControlStrategy) |
template<class Scalar > | |
RCP< DefaultIntegrator< Scalar > > | observedDefaultIntegrator (const RCP< IntegrationObserverBase< Scalar > > &integrationObserver) |
Related Functions inherited from Rythmos::IntegratorBase< Scalar > | |
template<class Scalar > | |
RCP< const Thyra::VectorBase < Scalar > > | get_fwd_x (IntegratorBase< Scalar > &integrator, const Scalar t) |
Nonmember helper function to get x at a (forward) time t. More... | |
template<class Scalar > | |
void | get_fwd_x_and_x_dot (IntegratorBase< Scalar > &integrator, const Scalar t, const Ptr< RCP< const Thyra::VectorBase< Scalar > > > &x, const Ptr< RCP< const Thyra::VectorBase< Scalar > > > &x_dot) |
Nonmember helper function to get x and/or x_dot at s (forward) time t. More... | |
Related Functions inherited from Rythmos::InterpolationBufferBase< Scalar > | |
template<class Scalar > | |
RCP< const Thyra::VectorBase < Scalar > > | get_x (const InterpolationBufferBase< Scalar > &interpBuffer, const Scalar &t) |
Get a single point x(t) from an interpolation buffer. More... | |
template<class Scalar > | |
RCP< const Thyra::VectorBase < Scalar > > | get_xdot (const InterpolationBufferBase< Scalar > &interpBuffer, const Scalar &t) |
Get a single point xdot(t) from an interpolation buffer. More... | |
template<class Scalar > | |
void | get_x_and_x_dot (const InterpolationBufferBase< Scalar > &interpBuffer, const Scalar t, const Ptr< RCP< const Thyra::VectorBase< Scalar > > > &x, const Ptr< RCP< const Thyra::VectorBase< Scalar > > > &x_dot) |
Nonmember helper function to get x and x_dot at t. More... | |
template<class Scalar > | |
void | assertTimePointsAreSorted (const Array< Scalar > &time_vec) |
Assert that a time point vector is sorted. More... | |
template<class Scalar > | |
void | assertNoTimePointsBeforeCurrentTimeRange (const InterpolationBufferBase< Scalar > &interpBuffer, const Array< Scalar > &time_vec, const int &startingTimePointIndex=0) |
Assert that none of the time points fall before the current time range for an interpolation buffer object. More... | |
template<class Scalar > | |
void | assertNoTimePointsInsideCurrentTimeRange (const InterpolationBufferBase< Scalar > &interpBuffer, const Array< Scalar > &time_vec) |
Assert that none of the time points fall inside the current time range for an interpolation buffer object. More... | |
template<class TimeType > | |
void | selectPointsInTimeRange (const Array< TimeType > &points_in, const TimeRange< TimeType > &range, const Ptr< Array< TimeType > > &points_out) |
Select points from an Array that sit in a TimeRange. More... | |
template<class TimeType > | |
void | removePointsInTimeRange (Array< TimeType > *points_in, const TimeRange< TimeType > &range) |
Remove points from an Array that sit in a TimeRange. More... | |
template<class Scalar > | |
bool | getCurrentPoints (const InterpolationBufferBase< Scalar > &interpBuffer, const Array< Scalar > &time_vec, Array< RCP< const Thyra::VectorBase< Scalar > > > *x_vec, Array< RCP< const Thyra::VectorBase< Scalar > > > *xdot_vec, int *nextTimePointIndex) |
Get time points in the current range of an interpolation buffer object. More... | |
Constructors, Initializers, Misc | |
DefaultIntegrator () | |
void | setIntegrationObserver (const RCP< IntegrationObserverBase< Scalar > > &integrationObserver) |
Overridden from InterpolationBufferAppenderAcceptingIntegratorBase | |
void | setInterpolationBufferAppender (const RCP< InterpolationBufferAppenderBase< Scalar > > &interpBufferAppender) |
RCP< const InterpolationBufferAppenderBase < Scalar > > | getInterpolationBufferAppender () |
RCP < InterpolationBufferAppenderBase < Scalar > > | getNonconstInterpolationBufferAppender () |
RCP < InterpolationBufferAppenderBase < Scalar > > | unSetInterpolationBufferAppender () |
Overridden from IntegrationControlStrategyAcceptingIntegratorBase | |
void | setIntegrationControlStrategy (const RCP< IntegrationControlStrategyBase< Scalar > > &integrationControlStrategy) |
RCP < IntegrationControlStrategyBase < Scalar > > | getNonconstIntegrationControlStrategy () |
RCP< const IntegrationControlStrategyBase < Scalar > > | getIntegrationControlStrategy () const |
Overridden from ParameterListAcceptor | |
void | setParameterList (RCP< ParameterList > const ¶mList) |
RCP< const ParameterList > | getValidParameters () const |
Overridden from IntegratorBase | |
RCP< IntegratorBase< Scalar > > | cloneIntegrator () const |
void | setStepper (const RCP< StepperBase< Scalar > > &stepper, const Scalar &finalTime, const bool landOnFinalTime=true) |
RCP< StepperBase< Scalar > > | unSetStepper () |
RCP< const StepperBase< Scalar > > | getStepper () const |
RCP< StepperBase< Scalar > > | getNonconstStepper () const |
Overridden from TrailingInterpolationBufferAcceptingIntegratorBase | |
void | setTrailingInterpolationBuffer (const RCP< InterpolationBufferBase< Scalar > > &trailingInterpBuffer) |
RCP< InterpolationBufferBase < Scalar > > | getNonconstTrailingInterpolationBuffer () |
RCP< const InterpolationBufferBase < Scalar > > | getTrailingInterpolationBuffer () const |
RCP< InterpolationBufferBase < Scalar > > | unSetTrailingInterpolationBuffer () |
Overridden from InterpolationBufferBase | |
RCP< const Thyra::VectorSpaceBase< Scalar > > | get_x_space () const |
void | addPoints (const Array< Scalar > &time_vec, const Array< RCP< const Thyra::VectorBase< Scalar > > > &x_vec, const Array< RCP< const Thyra::VectorBase< Scalar > > > &xdot_vec) |
void | getPoints (const Array< Scalar > &time_vec, Array< RCP< const Thyra::VectorBase< Scalar > > > *x_vec, Array< RCP< const Thyra::VectorBase< Scalar > > > *xdot_vec, Array< ScalarMag > *accuracy_vec) const |
TimeRange< Scalar > | getTimeRange () const |
void | getNodes (Array< Scalar > *time_vec) const |
void | removeNodes (Array< Scalar > &time_vec) |
int | getOrder () const |
A concrete subclass for IntegratorBase
that allows a good deal of customization.
Definition at line 50 of file Rythmos_DefaultIntegrator_decl.hpp.
typedef ScalarTraits<Scalar>::magnitudeType Rythmos::DefaultIntegrator< Scalar >::ScalarMag |
Definition at line 59 of file Rythmos_DefaultIntegrator_decl.hpp.
Rythmos::DefaultIntegrator< Scalar >::DefaultIntegrator | ( | ) |
Definition at line 136 of file Rythmos_DefaultIntegrator_def.hpp.
void Rythmos::DefaultIntegrator< Scalar >::setIntegrationObserver | ( | const RCP< IntegrationObserverBase< Scalar > > & | integrationObserver | ) |
Definition at line 170 of file Rythmos_DefaultIntegrator_def.hpp.
|
virtual |
Implements Rythmos::InterpolationBufferAppenderAcceptingIntegratorBase< Scalar >.
Definition at line 182 of file Rythmos_DefaultIntegrator_def.hpp.
|
virtual |
Implements Rythmos::InterpolationBufferAppenderAcceptingIntegratorBase< Scalar >.
Definition at line 192 of file Rythmos_DefaultIntegrator_def.hpp.
|
virtual |
Implements Rythmos::InterpolationBufferAppenderAcceptingIntegratorBase< Scalar >.
Definition at line 199 of file Rythmos_DefaultIntegrator_def.hpp.
|
virtual |
Implements Rythmos::InterpolationBufferAppenderAcceptingIntegratorBase< Scalar >.
Definition at line 206 of file Rythmos_DefaultIntegrator_def.hpp.
|
virtual |
Implements Rythmos::IntegrationControlStrategyAcceptingIntegratorBase< Scalar >.
Definition at line 144 of file Rythmos_DefaultIntegrator_def.hpp.
|
virtual |
Implements Rythmos::IntegrationControlStrategyAcceptingIntegratorBase< Scalar >.
Definition at line 156 of file Rythmos_DefaultIntegrator_def.hpp.
|
virtual |
Implements Rythmos::IntegrationControlStrategyAcceptingIntegratorBase< Scalar >.
Definition at line 163 of file Rythmos_DefaultIntegrator_def.hpp.
void Rythmos::DefaultIntegrator< Scalar >::setParameterList | ( | RCP< ParameterList > const & | paramList | ) |
Definition at line 218 of file Rythmos_DefaultIntegrator_def.hpp.
RCP< const ParameterList > Rythmos::DefaultIntegrator< Scalar >::getValidParameters | ( | ) | const |
Definition at line 233 of file Rythmos_DefaultIntegrator_def.hpp.
|
virtual |
Reimplemented from Rythmos::IntegratorBase< Scalar >.
Definition at line 252 of file Rythmos_DefaultIntegrator_def.hpp.
|
virtual |
Implements Rythmos::IntegratorBase< Scalar >.
Definition at line 289 of file Rythmos_DefaultIntegrator_def.hpp.
|
virtual |
Implements Rythmos::IntegratorBase< Scalar >.
Definition at line 318 of file Rythmos_DefaultIntegrator_def.hpp.
|
virtual |
Implements Rythmos::IntegratorBase< Scalar >.
Definition at line 327 of file Rythmos_DefaultIntegrator_def.hpp.
|
virtual |
Implements Rythmos::IntegratorBase< Scalar >.
Definition at line 334 of file Rythmos_DefaultIntegrator_def.hpp.
|
virtual |
Implements Rythmos::TrailingInterpolationBufferAcceptingIntegratorBase< Scalar >.
Definition at line 341 of file Rythmos_DefaultIntegrator_def.hpp.
|
virtual |
Implements Rythmos::TrailingInterpolationBufferAcceptingIntegratorBase< Scalar >.
Definition at line 351 of file Rythmos_DefaultIntegrator_def.hpp.
|
virtual |
Implements Rythmos::TrailingInterpolationBufferAcceptingIntegratorBase< Scalar >.
Definition at line 359 of file Rythmos_DefaultIntegrator_def.hpp.
|
virtual |
Implements Rythmos::TrailingInterpolationBufferAcceptingIntegratorBase< Scalar >.
Definition at line 366 of file Rythmos_DefaultIntegrator_def.hpp.
void Rythmos::DefaultIntegrator< Scalar >::getFwdPoints | ( | const Array< Scalar > & | time_vec, |
Array< RCP< const Thyra::VectorBase< Scalar > > > * | x_vec, | ||
Array< RCP< const Thyra::VectorBase< Scalar > > > * | xdot_vec, | ||
Array< ScalarMag > * | accuracy_vec | ||
) |
Definition at line 375 of file Rythmos_DefaultIntegrator_def.hpp.
|
virtual |
Implements Rythmos::IntegratorBase< Scalar >.
Definition at line 510 of file Rythmos_DefaultIntegrator_def.hpp.
|
virtual |
Implements Rythmos::InterpolationBufferBase< Scalar >.
Definition at line 524 of file Rythmos_DefaultIntegrator_def.hpp.
|
virtual |
Implements Rythmos::InterpolationBufferBase< Scalar >.
Definition at line 531 of file Rythmos_DefaultIntegrator_def.hpp.
void Rythmos::DefaultIntegrator< Scalar >::getPoints | ( | const Array< Scalar > & | time_vec, |
Array< RCP< const Thyra::VectorBase< Scalar > > > * | x_vec, | ||
Array< RCP< const Thyra::VectorBase< Scalar > > > * | xdot_vec, | ||
Array< ScalarMag > * | accuracy_vec | ||
) | const |
Definition at line 542 of file Rythmos_DefaultIntegrator_def.hpp.
|
virtual |
Implements Rythmos::InterpolationBufferBase< Scalar >.
Definition at line 567 of file Rythmos_DefaultIntegrator_def.hpp.
|
virtual |
Implements Rythmos::InterpolationBufferBase< Scalar >.
Definition at line 578 of file Rythmos_DefaultIntegrator_def.hpp.
|
virtual |
Implements Rythmos::InterpolationBufferBase< Scalar >.
Definition at line 585 of file Rythmos_DefaultIntegrator_def.hpp.
|
virtual |
Implements Rythmos::InterpolationBufferBase< Scalar >.
Definition at line 592 of file Rythmos_DefaultIntegrator_def.hpp.
|
related |
|
related |
|
related |
|
related |
|
related |
Definition at line 52 of file Rythmos_DefaultIntegrator_def.hpp.
|
related |
Definition at line 66 of file Rythmos_DefaultIntegrator_def.hpp.
|
related |
Definition at line 85 of file Rythmos_DefaultIntegrator_def.hpp.
|
related |
Definition at line 102 of file Rythmos_DefaultIntegrator_def.hpp.