9 #ifndef Tempus_StepperNewmarkImplicitDForm_decl_hpp
10 #define Tempus_StepperNewmarkImplicitDForm_decl_hpp
12 #include "Tempus_StepperImplicit.hpp"
13 #include "Tempus_WrapperModelEvaluatorSecondOrder.hpp"
39 template <
class Scalar>
52 const Teuchos::RCP<
const Thyra::ModelEvaluator<Scalar>>& appModel,
54 const Teuchos::RCP<Thyra::NonlinearSolverBase<Scalar> >& solver,
56 std::string ICConsistency,
57 bool ICConsistencyCheck,
58 bool zeroInitialGuess,
59 std::string schemeName,
66 setModel(
const Teuchos::RCP<
const Thyra::ModelEvaluator<Scalar>>& appModel);
71 virtual Teuchos::RCP<StepperObserver<Scalar> >
getObserver()
const
72 {
return Teuchos::null; }
83 virtual Teuchos::RCP<Tempus::StepperState<Scalar>>
112 {
return Scalar(1.0)/(
beta_*dt*dt); }
116 virtual Scalar
getBeta (
const Scalar )
const {
return Scalar(1.0); }
122 virtual void describe(Teuchos::FancyOStream& out,
123 const Teuchos::EVerbosityLevel verbLevel)
const;
126 virtual bool isValidSetup(Teuchos::FancyOStream & out)
const;
130 Thyra::VectorBase<Scalar>& vPred,
const Thyra::VectorBase<Scalar>& v,
131 const Thyra::VectorBase<Scalar>& a,
const Scalar dt)
const;
135 Thyra::VectorBase<Scalar>& dPred,
const Thyra::VectorBase<Scalar>& d,
136 const Thyra::VectorBase<Scalar>& v,
const Thyra::VectorBase<Scalar>& a,
137 const Scalar dt)
const;
141 Thyra::VectorBase<Scalar>& v,
const Thyra::VectorBase<Scalar>& vPred,
142 const Thyra::VectorBase<Scalar>& a,
const Scalar dt)
const;
146 Thyra::VectorBase<Scalar>& d,
const Thyra::VectorBase<Scalar>& dPred,
147 const Thyra::VectorBase<Scalar>& a,
const Scalar dt)
const;
151 Thyra::VectorBase<Scalar>& a,
const Thyra::VectorBase<Scalar>& dPred,
152 const Thyra::VectorBase<Scalar>& d,
const Scalar dt)
const;
165 Teuchos::RCP<Teuchos::FancyOStream>
out_;
170 #endif // Tempus_StepperNewmarkImplicitDForm_decl_hpp
Stepper integrates second-order ODEs.
Thyra Base interface for implicit time steppers.
StepperObserver class for Stepper class.
SolutionHistory is basically a container of SolutionStates. SolutionHistory maintains a collection of...