|
Tempus
Version of the Day
Time Integration
|
Go to the documentation of this file.
9 #ifndef Tempus_StepperNewmarkExplicitAForm_decl_hpp
10 #define Tempus_StepperNewmarkExplicitAForm_decl_hpp
12 #include "Tempus_config.hpp"
22 template<
class Scalar>
29 const Teuchos::RCP<
const Thyra::ModelEvaluator<Scalar> >& appModel,
30 Teuchos::RCP<Teuchos::ParameterList> pList = Teuchos::null);
35 const Teuchos::RCP<
const Thyra::ModelEvaluator<Scalar> >& appModel);
37 const Teuchos::RCP<Thyra::ModelEvaluator<Scalar> >& appModel);
38 virtual Teuchos::RCP<const Thyra::ModelEvaluator<Scalar> >
41 virtual void setSolver(std::string solverName);
43 Teuchos::RCP<Teuchos::ParameterList> solverPL=Teuchos::null);
45 Teuchos::RCP<Thyra::NonlinearSolverBase<Scalar> > solver);
46 virtual Teuchos::RCP<Thyra::NonlinearSolverBase<Scalar> >
getSolver()
const
47 {
return Teuchos::null; }
60 virtual void setInitialGuess(Teuchos::RCP<
const Thyra::VectorBase<Scalar> > initial_guess)
64 {
return stepperPL_->get<std::string>(
"Stepper Type"); }
69 if (
gamma_ == 0.5)
return 2.0;
76 {
return std::numeric_limits<Scalar>::max();}
98 virtual void describe(Teuchos::FancyOStream & out,
99 const Teuchos::EVerbosityLevel verbLevel)
const;
103 const Thyra::VectorBase<Scalar>& v,
104 const Thyra::VectorBase<Scalar>& a,
105 const Scalar dt)
const;
108 const Thyra::VectorBase<Scalar>& d,
109 const Thyra::VectorBase<Scalar>& v,
110 const Thyra::VectorBase<Scalar>& a,
111 const Scalar dt)
const;
114 const Thyra::VectorBase<Scalar>& vPred,
115 const Thyra::VectorBase<Scalar>& a,
116 const Scalar dt)
const;
132 Teuchos::RCP<const Thyra::ModelEvaluator<Scalar> >
appModel_;
134 Thyra::ModelEvaluatorBase::InArgs<Scalar>
inArgs_;
135 Thyra::ModelEvaluatorBase::OutArgs<Scalar>
outArgs_;
139 Teuchos::RCP<Teuchos::FancyOStream>
out_;
147 #endif // Tempus_StepperNewmarkExplicitAForm_decl_hpp
Teuchos::RCP< SolutionHistory< Scalar > > solutionHistory(Teuchos::RCP< Teuchos::ParameterList > pList=Teuchos::null)
Nonmember constructor.
StepperObserver class for Stepper class.
SolutionHistory is basically a container of SolutionStates. SolutionHistory maintains a collection of...
Thyra Base interface for time steppers.