9 #ifndef Tempus_StepperExplicit_decl_hpp
10 #define Tempus_StepperExplicit_decl_hpp
13 #include "Tempus_Stepper.hpp"
16 template<
class Scalar>
40 template<
class Scalar>
48 const Teuchos::RCP<
const Thyra::ModelEvaluator<Scalar> >& appModel);
50 virtual Teuchos::RCP<const Thyra::ModelEvaluator<Scalar> >
55 {
return std::numeric_limits<Scalar>::max();}
62 Teuchos::RCP<Thyra::NonlinearSolverBase<Scalar> > solver);
64 virtual Teuchos::RCP<Thyra::NonlinearSolverBase<Scalar> >
getSolver()
const
65 {
return Teuchos::null; }
70 Teuchos::RCP<
const Thyra::VectorBase<Scalar> > ){}
81 Teuchos::RCP< Thyra::VectorBase<Scalar> > xDot,
82 Teuchos::RCP<
const Thyra::VectorBase<Scalar> > x,
88 Teuchos::RCP< Thyra::VectorBase<Scalar> > xDotDot,
89 Teuchos::RCP<
const Thyra::VectorBase<Scalar> > x,
90 Teuchos::RCP<
const Thyra::VectorBase<Scalar> > xDot,
97 virtual void describe(Teuchos::FancyOStream & out,
98 const Teuchos::EVerbosityLevel verbLevel)
const;
101 virtual bool isValidSetup(Teuchos::FancyOStream & out)
const;
106 Teuchos::RCP<const Thyra::ModelEvaluator<Scalar> >
appModel_;
108 Thyra::ModelEvaluatorBase::InArgs<Scalar>
inArgs_;
109 Thyra::ModelEvaluatorBase::OutArgs<Scalar>
outArgs_;
115 #endif // Tempus_StepperExplicit_decl_hpp
virtual bool isValidSetup(Teuchos::FancyOStream &out) const
virtual bool isImplicit() const
Teuchos::RCP< const Thyra::ModelEvaluator< Scalar > > appModel_
Explicit ODE ModelEvaluator.
virtual bool isExplicit() const
virtual void setSolver(Teuchos::RCP< Thyra::NonlinearSolverBase< Scalar > > solver)
Set solver.
Thyra::ModelEvaluatorBase::OutArgs< Scalar > outArgs_
Thyra Base interface for time steppers.
ExplicitODEParameters(Scalar timeStepSize, int stageNumber=0)
Constructor.
virtual Teuchos::RCP< const Thyra::ModelEvaluator< Scalar > > getModel()
virtual Scalar getInitTimeStep(const Teuchos::RCP< SolutionHistory< Scalar > > &) const
virtual void setInitialConditions(const Teuchos::RCP< SolutionHistory< Scalar > > &solutionHistory)
Set the initial conditions, make them consistent, and set needed memory.
virtual void describe(Teuchos::FancyOStream &out, const Teuchos::EVerbosityLevel verbLevel) const
Teuchos::RCP< StepperObserver< Scalar > > stepperObserver_
SolutionHistory is basically a container of SolutionStates. SolutionHistory maintains a collection of...
virtual void setModel(const Teuchos::RCP< const Thyra::ModelEvaluator< Scalar > > &appModel)
virtual Teuchos::RCP< Thyra::NonlinearSolverBase< Scalar > > getSolver() const
Get solver.
virtual void setInitialGuess(Teuchos::RCP< const Thyra::VectorBase< Scalar > >)
Pass initial guess to Newton solver (only relevant for implicit solvers)
virtual void evaluateExplicitODE(Teuchos::RCP< Thyra::VectorBase< Scalar > > xDot, Teuchos::RCP< const Thyra::VectorBase< Scalar > > x, const Scalar time, const Teuchos::RCP< ExplicitODEParameters< Scalar > > &p)
Evaluate xDot = f(x,t).
virtual bool isExplicitImplicit() const
virtual bool isMultiStepMethod() const
virtual bool isOneStepMethod() const
Thyra::ModelEvaluatorBase::InArgs< Scalar > inArgs_
ExplicitODEParameters()
Constructor.
Thyra Base interface for implicit time steppers.