Tempus
Version of the Day
Time Integration
|
ModelEvaluator for integrating auxiliary equations. More...
#include <Tempus_AuxiliaryIntegralModelEvaluator_decl.hpp>
Public Types | |
typedef Thyra::VectorBase< Scalar > | Vector |
typedef Thyra::MultiVectorBase < Scalar > | MultiVector |
Public Member Functions | |
AuxiliaryIntegralModelEvaluator (const Teuchos::RCP< const Thyra::ModelEvaluator< Scalar > > &model, const int g_index) | |
Constructor. More... | |
Teuchos::RCP< const Thyra::ModelEvaluator< Scalar > > | getModel () const |
Get the underlying model 'f'. More... | |
void | setForwardSolutionHistory (const Teuchos::RCP< const Tempus::SolutionHistory< Scalar > > &sh) |
Set solution history from forward evaluation. More... | |
Public functions overridden from ModelEvaulator. | |
Teuchos::RCP< const Thyra::VectorSpaceBase< Scalar > > | get_p_space (int p) const |
Teuchos::RCP< const Teuchos::Array< std::string > > | get_p_names (int p) const |
Teuchos::RCP< const Thyra::VectorSpaceBase< Scalar > > | get_x_space () const |
Teuchos::RCP< const Thyra::VectorSpaceBase< Scalar > > | get_f_space () const |
Teuchos::RCP < Thyra::LinearOpBase< Scalar > > | create_W_op () const |
Teuchos::RCP< const Thyra::LinearOpWithSolveFactoryBase < Scalar > > | get_W_factory () const |
Thyra::ModelEvaluatorBase::InArgs < Scalar > | createInArgs () const |
Thyra::ModelEvaluatorBase::InArgs < Scalar > | getNominalValues () const |
Private Member Functions | |
Thyra::ModelEvaluatorBase::OutArgs < Scalar > | createOutArgsImpl () const |
void | evalModelImpl (const Thyra::ModelEvaluatorBase::InArgs< Scalar > &inArgs, const Thyra::ModelEvaluatorBase::OutArgs< Scalar > &outArgs) const |
Private Attributes | |
Thyra::ModelEvaluatorBase::InArgs < Scalar > | prototypeInArgs_ |
Thyra::ModelEvaluatorBase::OutArgs < Scalar > | prototypeOutArgs_ |
Teuchos::RCP< const Thyra::ModelEvaluator< Scalar > > | model_ |
Teuchos::RCP< const Thyra::VectorSpaceBase< Scalar > > | space_ |
Teuchos::RCP< const Tempus::SolutionHistory < Scalar > > | sh_ |
int | g_index_ |
Teuchos::RCP < Tempus::SolutionState < Scalar > > | forward_state_ |
Scalar | t_interp_ |
ModelEvaluator for integrating auxiliary equations.
Given a ModelEvaluator defining an auxiliary/response function g(x_dot,x,p,t) this ModelEvaluator defines a new ODE dz/dt = g(x_dot(t),x(t),p,t) used to compute the integral of g over some time range. This ModelEvaluator can then be used by Tempus to compute the definite integral.
Definition at line 27 of file Tempus_AuxiliaryIntegralModelEvaluator_decl.hpp.
typedef Thyra::MultiVectorBase<Scalar> Tempus::AuxiliaryIntegralModelEvaluator< Scalar >::MultiVector |
Definition at line 31 of file Tempus_AuxiliaryIntegralModelEvaluator_decl.hpp.
typedef Thyra::VectorBase<Scalar> Tempus::AuxiliaryIntegralModelEvaluator< Scalar >::Vector |
Definition at line 30 of file Tempus_AuxiliaryIntegralModelEvaluator_decl.hpp.
Tempus::AuxiliaryIntegralModelEvaluator< Scalar >::AuxiliaryIntegralModelEvaluator | ( | const Teuchos::RCP< const Thyra::ModelEvaluator< Scalar > > & | model, |
const int | g_index | ||
) |
Constructor.
Definition at line 20 of file Tempus_AuxiliaryIntegralModelEvaluator_impl.hpp.
Teuchos::RCP< Thyra::LinearOpBase< Scalar > > Tempus::AuxiliaryIntegralModelEvaluator< Scalar >::create_W_op | ( | ) | const |
Definition at line 100 of file Tempus_AuxiliaryIntegralModelEvaluator_impl.hpp.
Thyra::ModelEvaluatorBase::InArgs< Scalar > Tempus::AuxiliaryIntegralModelEvaluator< Scalar >::createInArgs | ( | ) | const |
Definition at line 116 of file Tempus_AuxiliaryIntegralModelEvaluator_impl.hpp.
|
private |
Definition at line 156 of file Tempus_AuxiliaryIntegralModelEvaluator_impl.hpp.
|
private |
Definition at line 164 of file Tempus_AuxiliaryIntegralModelEvaluator_impl.hpp.
Teuchos::RCP< const Thyra::VectorSpaceBase< Scalar > > Tempus::AuxiliaryIntegralModelEvaluator< Scalar >::get_f_space | ( | ) | const |
Definition at line 92 of file Tempus_AuxiliaryIntegralModelEvaluator_impl.hpp.
Teuchos::RCP< const Teuchos::Array< std::string > > Tempus::AuxiliaryIntegralModelEvaluator< Scalar >::get_p_names | ( | int | p | ) | const |
Definition at line 75 of file Tempus_AuxiliaryIntegralModelEvaluator_impl.hpp.
Teuchos::RCP< const Thyra::VectorSpaceBase< Scalar > > Tempus::AuxiliaryIntegralModelEvaluator< Scalar >::get_p_space | ( | int | p | ) | const |
Definition at line 66 of file Tempus_AuxiliaryIntegralModelEvaluator_impl.hpp.
Teuchos::RCP< const Thyra::LinearOpWithSolveFactoryBase< Scalar > > Tempus::AuxiliaryIntegralModelEvaluator< Scalar >::get_W_factory | ( | ) | const |
Definition at line 108 of file Tempus_AuxiliaryIntegralModelEvaluator_impl.hpp.
Teuchos::RCP< const Thyra::VectorSpaceBase< Scalar > > Tempus::AuxiliaryIntegralModelEvaluator< Scalar >::get_x_space | ( | ) | const |
Definition at line 84 of file Tempus_AuxiliaryIntegralModelEvaluator_impl.hpp.
|
inline |
Get the underlying model 'f'.
Definition at line 39 of file Tempus_AuxiliaryIntegralModelEvaluator_decl.hpp.
Thyra::ModelEvaluatorBase::InArgs< Scalar > Tempus::AuxiliaryIntegralModelEvaluator< Scalar >::getNominalValues | ( | ) | const |
Definition at line 124 of file Tempus_AuxiliaryIntegralModelEvaluator_impl.hpp.
void Tempus::AuxiliaryIntegralModelEvaluator< Scalar >::setForwardSolutionHistory | ( | const Teuchos::RCP< const Tempus::SolutionHistory< Scalar > > & | sh | ) |
Set solution history from forward evaluation.
Definition at line 55 of file Tempus_AuxiliaryIntegralModelEvaluator_impl.hpp.
|
mutableprivate |
Definition at line 85 of file Tempus_AuxiliaryIntegralModelEvaluator_decl.hpp.
|
private |
Definition at line 83 of file Tempus_AuxiliaryIntegralModelEvaluator_decl.hpp.
|
private |
Definition at line 80 of file Tempus_AuxiliaryIntegralModelEvaluator_decl.hpp.
|
private |
Definition at line 77 of file Tempus_AuxiliaryIntegralModelEvaluator_decl.hpp.
|
private |
Definition at line 78 of file Tempus_AuxiliaryIntegralModelEvaluator_decl.hpp.
|
private |
Definition at line 82 of file Tempus_AuxiliaryIntegralModelEvaluator_decl.hpp.
|
private |
Definition at line 81 of file Tempus_AuxiliaryIntegralModelEvaluator_decl.hpp.
|
mutableprivate |
Definition at line 86 of file Tempus_AuxiliaryIntegralModelEvaluator_decl.hpp.