Tempus Version of the Day
Time Integration
|
Specialization of IMEX ME for "combined" FSA method. More...
#include <Tempus_WrapperModelEvaluatorPairIMEX_CombinedFSA.hpp>
Public Member Functions | |
WrapperModelEvaluatorPairIMEX_CombinedFSA (const Teuchos::RCP< const WrapperModelEvaluatorPairIMEX_Basic< Scalar > > &forwardModel, const Teuchos::RCP< const Teuchos::ParameterList > &pList=Teuchos::null) | |
Constructor. | |
virtual | ~WrapperModelEvaluatorPairIMEX_CombinedFSA () |
Destructor. | |
![]() | |
SensitivityModelEvaluatorBase () | |
Constructor. | |
virtual | ~SensitivityModelEvaluatorBase () |
Destructor. | |
virtual void | setForwardSolutionHistory (const Teuchos::RCP< const Tempus::SolutionHistory< Scalar > > &) |
Set solution history from forward state evaluation (for interpolation) | |
virtual void | setForwardSolutionState (const Teuchos::RCP< const Tempus::SolutionState< Scalar > > &) |
Set solution state from forward state evaluation (for frozen state) | |
virtual void | setSolver (const Teuchos::RCP< Thyra::NonlinearSolverBase< Scalar > > &, const bool) |
Set the solver of the underlying model if you want to reuse it. | |
![]() | |
WrapperModelEvaluatorPairIMEX_Basic (const Teuchos::RCP< const Thyra::ModelEvaluator< Scalar > > &explicitModel, const Teuchos::RCP< const Thyra::ModelEvaluator< Scalar > > &implicitModel) | |
Constructor. | |
virtual | ~WrapperModelEvaluatorPairIMEX_Basic () |
Destructor. | |
virtual void | initialize () |
Initialize after setting member data. | |
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 |
virtual void | setAppModel (const Teuchos::RCP< const Thyra::ModelEvaluator< Scalar > > &me) |
Set the underlying application ModelEvaluator. | |
virtual Teuchos::RCP< const Thyra::ModelEvaluator< Scalar > > | getAppModel () const |
Get the underlying application ModelEvaluator. | |
void | setForSolve (const Teuchos::RCP< Thyra::VectorBase< Scalar > > &x, const Teuchos::RCP< Thyra::VectorBase< Scalar > > &xDot, const Scalar time, const Teuchos::RCP< ImplicitODEParameters< Scalar > > &p, const Teuchos::RCP< Thyra::VectorBase< Scalar > > &y=Teuchos::null, const int index=-1) |
Set parameters for application implicit ModelEvaluator solve. | |
virtual Teuchos::RCP< const Thyra::VectorSpaceBase< Scalar > > | get_x_space () const |
Get the x-solution space. | |
virtual Teuchos::RCP< const Thyra::VectorSpaceBase< Scalar > > | get_g_space (int i) const |
Get the g space. | |
virtual Teuchos::RCP< const Thyra::VectorSpaceBase< Scalar > > | get_p_space (int i) const |
Get the p space. | |
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 |
![]() | |
![]() |
Overridden from Tempus::SensitivityModelEvaluatorBase | |
typedef WrapperModelEvaluatorPairIMEX_Basic< Scalar > | Base |
typedef CombinedForwardSensitivityModelEvaluator< Scalar > | FSAME |
Teuchos::RCP< const WrapperModelEvaluatorPairIMEX_Basic< Scalar > > | forwardModel_ |
Teuchos::RCP< const Thyra::ModelEvaluator< Scalar > > | appExplicitModel_ |
Teuchos::RCP< const Thyra::ModelEvaluator< Scalar > > | appImplicitModel_ |
Teuchos::RCP< FSAME > | fsaExplicitModel_ |
Teuchos::RCP< FSAME > | fsaImplicitModel_ |
virtual Teuchos::RCP< const Thyra::ModelEvaluator< Scalar > > | getForwardModel () const |
Get the underlying forward model. | |
WrapperModelEvaluatorPairIMEX_CombinedFSA () | |
Default constructor - not allowed. | |
Additional Inherited Members | |
![]() | |
WrapperModelEvaluatorPairIMEX_Basic () | |
Default constructor – only allowed for derived classes. | |
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. | |
![]() | |
Teuchos::RCP< const Thyra::ModelEvaluator< Scalar > > | explicitModel_ |
Teuchos::RCP< const Thyra::ModelEvaluator< Scalar > > | implicitModel_ |
Teuchos::RCP< Thyra::VectorBase< Scalar > > | x_ |
Teuchos::RCP< Thyra::VectorBase< Scalar > > | xDot_ |
Scalar | time_ |
Teuchos::RCP< ImplicitODEParameters< Scalar > > | p_ |
Teuchos::RCP< Thyra::VectorBase< Scalar > > | y_ |
int | index_ |
Teuchos::RCP< TimeDerivative< Scalar > > | timeDer_ |
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 28 of file Tempus_WrapperModelEvaluatorPairIMEX_CombinedFSA.hpp.
|
protected |
Definition at line 68 of file Tempus_WrapperModelEvaluatorPairIMEX_CombinedFSA.hpp.
|
protected |
Definition at line 69 of file Tempus_WrapperModelEvaluatorPairIMEX_CombinedFSA.hpp.
|
inline |
Constructor.
Definition at line 33 of file Tempus_WrapperModelEvaluatorPairIMEX_CombinedFSA.hpp.
|
inlinevirtual |
Destructor.
Definition at line 49 of file Tempus_WrapperModelEvaluatorPairIMEX_CombinedFSA.hpp.
|
inlineprivate |
Default constructor - not allowed.
Definition at line 65 of file Tempus_WrapperModelEvaluatorPairIMEX_CombinedFSA.hpp.
|
inlinevirtual |
Get the underlying forward model.
Reimplemented from Tempus::SensitivityModelEvaluatorBase< Scalar >.
Definition at line 55 of file Tempus_WrapperModelEvaluatorPairIMEX_CombinedFSA.hpp.
|
protected |
Definition at line 72 of file Tempus_WrapperModelEvaluatorPairIMEX_CombinedFSA.hpp.
|
protected |
Definition at line 73 of file Tempus_WrapperModelEvaluatorPairIMEX_CombinedFSA.hpp.
|
protected |
Definition at line 74 of file Tempus_WrapperModelEvaluatorPairIMEX_CombinedFSA.hpp.
|
protected |
Definition at line 75 of file Tempus_WrapperModelEvaluatorPairIMEX_CombinedFSA.hpp.
|
protected |
Definition at line 76 of file Tempus_WrapperModelEvaluatorPairIMEX_CombinedFSA.hpp.