10 #ifndef Tempus_Stepper_Optimization_Interface_hpp
11 #define Tempus_Stepper_Optimization_Interface_hpp
18 #include "Thyra_VectorBase.hpp"
19 #include "Thyra_LinearOpBase.hpp"
20 #include "Thyra_LinearOpWithSolveBase.hpp"
21 #include "Tempus_config.hpp"
40 template <
class Scalar>
55 const int param_index)
const = 0;
66 const int param_index,
const int deriv_index)
const = 0;
73 const int param_index)
const = 0;
83 const int param_index)
const = 0;
88 #endif // Tempus_Stepper_hpp
virtual void computeStepResidual(Thyra::VectorBase< Scalar > &residual, const Teuchos::Array< Teuchos::RCP< const Thyra::VectorBase< Scalar > > > &x, const Teuchos::Array< Scalar > &t, const Thyra::VectorBase< Scalar > &p, const int param_index) const =0
Compute time step residual.
virtual void computeStepParamDeriv(Thyra::LinearOpBase< Scalar > &deriv, const Teuchos::Array< Teuchos::RCP< const Thyra::VectorBase< Scalar > > > &x, const Teuchos::Array< Scalar > &t, const Thyra::VectorBase< Scalar > &p, const int param_index) const =0
Compute time step derivative w.r.t. model parameters.
virtual int stencilLength() const =0
Return the number of solution vectors in the time step stencil.
virtual void computeStepSolver(Thyra::LinearOpWithSolveBase< Scalar > &jacobian_solver, const Teuchos::Array< Teuchos::RCP< const Thyra::VectorBase< Scalar > > > &x, const Teuchos::Array< Scalar > &t, const Thyra::VectorBase< Scalar > &p, const int param_index) const =0
Compute time step Jacobian solver.
virtual ~StepperOptimizationInterface()
virtual void computeStepJacobian(Thyra::LinearOpBase< Scalar > &jacobian, const Teuchos::Array< Teuchos::RCP< const Thyra::VectorBase< Scalar > > > &x, const Teuchos::Array< Scalar > &t, const Thyra::VectorBase< Scalar > &p, const int param_index, const int deriv_index) const =0
Compute time step Jacobian.
Stepper interface to support full-space optimization.
StepperOptimizationInterface()