9 #ifndef Tempus_StepperNewmarkImplicitDForm_decl_hpp
10 #define Tempus_StepperNewmarkImplicitDForm_decl_hpp
12 #include "Tempus_WrapperModelEvaluatorSecondOrder.hpp"
13 #include "Tempus_StepperImplicit.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; }
87 virtual Teuchos::RCP<Tempus::StepperState<Scalar>>
116 {
return Scalar(1.0)/(
beta_*dt*dt); }
120 virtual Scalar
getBeta (
const Scalar )
const {
return Scalar(1.0); }
126 virtual void describe(Teuchos::FancyOStream& out,
127 const Teuchos::EVerbosityLevel verbLevel)
const;
132 Thyra::VectorBase<Scalar>& vPred,
const Thyra::VectorBase<Scalar>& v,
133 const Thyra::VectorBase<Scalar>& a,
const Scalar dt)
const;
137 Thyra::VectorBase<Scalar>& dPred,
const Thyra::VectorBase<Scalar>& d,
138 const Thyra::VectorBase<Scalar>& v,
const Thyra::VectorBase<Scalar>& a,
139 const Scalar dt)
const;
143 Thyra::VectorBase<Scalar>& v,
const Thyra::VectorBase<Scalar>& vPred,
144 const Thyra::VectorBase<Scalar>& a,
const Scalar dt)
const;
148 Thyra::VectorBase<Scalar>& d,
const Thyra::VectorBase<Scalar>& dPred,
149 const Thyra::VectorBase<Scalar>& a,
const Scalar dt)
const;
153 Thyra::VectorBase<Scalar>& a,
const Thyra::VectorBase<Scalar>& dPred,
154 const Thyra::VectorBase<Scalar>& d,
const Scalar dt)
const;
163 Thyra::ModelEvaluatorBase::InArgs<Scalar>
inArgs_;
164 Thyra::ModelEvaluatorBase::OutArgs<Scalar>
outArgs_;
170 Teuchos::RCP<Teuchos::FancyOStream>
out_;
175 #endif // Tempus_StepperNewmarkImplicitDForm_decl_hpp
Stepper integrates second-order ODEs.
Thyra Base interface for implicit time steppers.
StepperObserver class for Stepper class.
Teuchos::RCP< SolutionHistory< Scalar > > solutionHistory(Teuchos::RCP< Teuchos::ParameterList > pList=Teuchos::null)
Nonmember constructor.
SolutionHistory is basically a container of SolutionStates. SolutionHistory maintains a collection of...