Tempus  Version of the Day
Time Integration
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Pages
Tempus::WrapperModelEvaluatorPairIMEX_CombinedFSA< Scalar > Class Template Reference

Specialization of IMEX ME for "combined" FSA method. More...

#include <Tempus_WrapperModelEvaluatorPairIMEX_CombinedFSA.hpp>

Inheritance diagram for Tempus::WrapperModelEvaluatorPairIMEX_CombinedFSA< Scalar >:
Tempus::SensitivityModelEvaluatorBase< Scalar > Tempus::WrapperModelEvaluatorPairIMEX_Basic< Scalar > Tempus::WrapperModelEvaluatorPairIMEX< Scalar > Tempus::WrapperModelEvaluator< Scalar >

Public Member Functions

 WrapperModelEvaluatorPairIMEX_CombinedFSA (const Teuchos::RCP< const WrapperModelEvaluatorPairIMEX_Basic< Scalar > > &forwardModel, const Teuchos::RCP< const Teuchos::ParameterList > &pList=Teuchos::null)
 Constructor. More...
 
virtual ~WrapperModelEvaluatorPairIMEX_CombinedFSA ()
 Destructor. More...
 
Overridden from Tempus::SensitivityModelEvaluatorBase
virtual Teuchos::RCP< const
Thyra::ModelEvaluator< Scalar > > 
getForwardModel () const
 Get the underlying forward model. More...
 
- Public Member Functions inherited from Tempus::SensitivityModelEvaluatorBase< Scalar >
 SensitivityModelEvaluatorBase ()
 Constructor. More...
 
virtual ~SensitivityModelEvaluatorBase ()
 Destructor. More...
 
virtual void setForwardSolutionHistory (const Teuchos::RCP< const Tempus::SolutionHistory< Scalar > > &)
 Set solution history from forward state evaluation (for interpolation) More...
 
virtual void setForwardSolutionState (const Teuchos::RCP< const Tempus::SolutionState< Scalar > > &)
 Set solution state from forward state evaluation (for frozen state) More...
 
virtual void setSolver (const Teuchos::RCP< Thyra::NonlinearSolverBase< Scalar > > &, const bool)
 Set the solver of the underlying model if you want to reuse it. More...
 
- Public Member Functions inherited from Tempus::WrapperModelEvaluatorPairIMEX_Basic< Scalar >
 WrapperModelEvaluatorPairIMEX_Basic (const Teuchos::RCP< const Thyra::ModelEvaluator< Scalar > > &explicitModel, const Teuchos::RCP< const Thyra::ModelEvaluator< Scalar > > &implicitModel)
 Constructor. More...
 
virtual ~WrapperModelEvaluatorPairIMEX_Basic ()
 Destructor. More...
 
virtual void initialize ()
 Initialize after setting member data. More...
 
virtual void setAppModel (const Teuchos::RCP< const Thyra::ModelEvaluator< Scalar > > &me)
 Set the underlying application ModelEvaluator. More...
 
virtual Teuchos::RCP< const
Thyra::ModelEvaluator< Scalar > > 
getAppModel () const
 Get the underlying application ModelEvaluator. More...
 
virtual void setInArgs (Thyra::ModelEvaluatorBase::InArgs< Scalar > inArgs)
 Set InArgs the wrapper ModelEvalutor. More...
 
virtual
Thyra::ModelEvaluatorBase::InArgs
< Scalar > 
getInArgs ()
 Get InArgs the wrapper ModelEvalutor. More...
 
virtual void setOutArgs (Thyra::ModelEvaluatorBase::OutArgs< Scalar > outArgs)
 Set OutArgs the wrapper ModelEvalutor. More...
 
virtual
Thyra::ModelEvaluatorBase::OutArgs
< Scalar > 
getOutArgs ()
 Get OutArgs the wrapper ModelEvalutor. More...
 
virtual void setForSolve (Teuchos::RCP< TimeDerivative< Scalar > > timeDer, Thyra::ModelEvaluatorBase::InArgs< Scalar > inArgs, Thyra::ModelEvaluatorBase::OutArgs< Scalar > outArgs, EVALUATION_TYPE=SOLVE_FOR_X)
 Set parameters for application implicit ModelEvaluator solve. More...
 
virtual Teuchos::RCP< const
Thyra::VectorSpaceBase< Scalar > > 
get_x_space () const
 Get the x-solution space. More...
 
virtual Teuchos::RCP< const
Thyra::VectorSpaceBase< Scalar > > 
get_g_space (int i) const
 Get the g space. More...
 
virtual Teuchos::RCP< const
Thyra::VectorSpaceBase< Scalar > > 
get_p_space (int i) const
 Get the p space. More...
 
virtual void setExplicitModel (const Teuchos::RCP< const Thyra::ModelEvaluator< Scalar > > &model)
 
virtual void setImplicitModel (const Teuchos::RCP< const Thyra::ModelEvaluator< Scalar > > &model)
 
virtual Teuchos::RCP< const
Thyra::ModelEvaluator< Scalar > > 
getExplicitModel () const
 
virtual Teuchos::RCP< const
Thyra::ModelEvaluator< Scalar > > 
getImplicitModel () const
 
virtual Teuchos::RCP
< Thyra::LinearOpBase< Scalar > > 
create_W_op () const
 
Teuchos::RCP< const
Thyra::LinearOpWithSolveFactoryBase
< Scalar > > 
get_W_factory () const
 
virtual Teuchos::RCP< const
Thyra::VectorSpaceBase< Scalar > > 
get_f_space () const
 
virtual
Thyra::ModelEvaluatorBase::InArgs
< Scalar > 
getNominalValues () const
 
virtual
Thyra::ModelEvaluatorBase::InArgs
< Scalar > 
createInArgs () const
 
virtual
Thyra::ModelEvaluatorBase::OutArgs
< Scalar > 
createOutArgsImpl () const
 
virtual void evalModelImpl (const Thyra::ModelEvaluatorBase::InArgs< Scalar > &in, const Thyra::ModelEvaluatorBase::OutArgs< Scalar > &out) const
 
Vector Methods.
Overridden from Thyra::StateFuncModelEvaluatorBase
Vector Methods.

Protected Types

typedef
WrapperModelEvaluatorPairIMEX_Basic
< Scalar > 
Base
 
typedef
CombinedForwardSensitivityModelEvaluator
< Scalar > 
FSAME
 

Protected Attributes

Teuchos::RCP< const
WrapperModelEvaluatorPairIMEX_Basic
< Scalar > > 
forwardModel_
 
Teuchos::RCP< const
Thyra::ModelEvaluator< Scalar > > 
appExplicitModel_
 
Teuchos::RCP< const
Thyra::ModelEvaluator< Scalar > > 
appImplicitModel_
 
Teuchos::RCP< FSAMEfsaExplicitModel_
 
Teuchos::RCP< FSAMEfsaImplicitModel_
 
- Protected Attributes inherited from Tempus::WrapperModelEvaluatorPairIMEX_Basic< Scalar >
Teuchos::RCP< const
Thyra::ModelEvaluator< Scalar > > 
explicitModel_
 
Teuchos::RCP< const
Thyra::ModelEvaluator< Scalar > > 
implicitModel_
 
Teuchos::RCP< TimeDerivative
< Scalar > > 
timeDer_
 
Thyra::ModelEvaluatorBase::InArgs
< Scalar > 
wrapperImplicitInArgs_
 
Thyra::ModelEvaluatorBase::OutArgs
< Scalar > 
wrapperImplicitOutArgs_
 

Private Member Functions

 WrapperModelEvaluatorPairIMEX_CombinedFSA ()
 Default constructor - not allowed. More...
 

Additional Inherited Members

- Protected Member Functions inherited from Tempus::WrapperModelEvaluatorPairIMEX_Basic< Scalar >
 WrapperModelEvaluatorPairIMEX_Basic ()
 Default constructor – only allowed for derived classes. More...
 
void setup (const Teuchos::RCP< const Thyra::ModelEvaluator< Scalar > > &explicitModel, const Teuchos::RCP< const Thyra::ModelEvaluator< Scalar > > &implicitModel)
 Setup ME when using default constructor – for derived classes. More...
 

Detailed Description

template<typename Scalar>
class Tempus::WrapperModelEvaluatorPairIMEX_CombinedFSA< Scalar >

Specialization of IMEX ME for "combined" FSA method.

For the combined forward sensitivitymethod, the implementation found in WrapperModelEvaluatorPairIMEX_Basic works just fine. We go ahead and create a specialized class to follow the pattern of other methods and also handle the wrapping of the underlying MEs.

Definition at line 26 of file Tempus_WrapperModelEvaluatorPairIMEX_CombinedFSA.hpp.

Member Typedef Documentation

template<typename Scalar >
typedef WrapperModelEvaluatorPairIMEX_Basic<Scalar> Tempus::WrapperModelEvaluatorPairIMEX_CombinedFSA< Scalar >::Base
protected

Constructor & Destructor Documentation

template<typename Scalar >
Tempus::WrapperModelEvaluatorPairIMEX_CombinedFSA< Scalar >::WrapperModelEvaluatorPairIMEX_CombinedFSA ( const Teuchos::RCP< const WrapperModelEvaluatorPairIMEX_Basic< Scalar > > &  forwardModel,
const Teuchos::RCP< const Teuchos::ParameterList > &  pList = Teuchos::null 
)
inline

Constructor.

Definition at line 33 of file Tempus_WrapperModelEvaluatorPairIMEX_CombinedFSA.hpp.

template<typename Scalar >
virtual Tempus::WrapperModelEvaluatorPairIMEX_CombinedFSA< Scalar >::~WrapperModelEvaluatorPairIMEX_CombinedFSA ( )
inlinevirtual

Destructor.

Definition at line 46 of file Tempus_WrapperModelEvaluatorPairIMEX_CombinedFSA.hpp.

Default constructor - not allowed.

Definition at line 63 of file Tempus_WrapperModelEvaluatorPairIMEX_CombinedFSA.hpp.

Member Function Documentation

template<typename Scalar >
virtual Teuchos::RCP<const Thyra::ModelEvaluator<Scalar> > Tempus::WrapperModelEvaluatorPairIMEX_CombinedFSA< Scalar >::getForwardModel ( ) const
inlinevirtual

Get the underlying forward model.

Reimplemented from Tempus::SensitivityModelEvaluatorBase< Scalar >.

Definition at line 53 of file Tempus_WrapperModelEvaluatorPairIMEX_CombinedFSA.hpp.

Member Data Documentation

template<typename Scalar >
Teuchos::RCP<const Thyra::ModelEvaluator<Scalar> > Tempus::WrapperModelEvaluatorPairIMEX_CombinedFSA< Scalar >::appExplicitModel_
protected
template<typename Scalar >
Teuchos::RCP<const Thyra::ModelEvaluator<Scalar> > Tempus::WrapperModelEvaluatorPairIMEX_CombinedFSA< Scalar >::appImplicitModel_
protected
template<typename Scalar >
Teuchos::RCP<const WrapperModelEvaluatorPairIMEX_Basic<Scalar> > Tempus::WrapperModelEvaluatorPairIMEX_CombinedFSA< Scalar >::forwardModel_
protected
template<typename Scalar >
Teuchos::RCP<FSAME> Tempus::WrapperModelEvaluatorPairIMEX_CombinedFSA< Scalar >::fsaExplicitModel_
protected
template<typename Scalar >
Teuchos::RCP<FSAME> Tempus::WrapperModelEvaluatorPairIMEX_CombinedFSA< Scalar >::fsaImplicitModel_
protected

The documentation for this class was generated from the following file: