9 #ifndef Tempus_StepperNewmarkExplicitAForm_decl_hpp
10 #define Tempus_StepperNewmarkExplicitAForm_decl_hpp
12 #include "Tempus_config.hpp"
13 #include "Tempus_StepperExplicit.hpp"
57 template<
class Scalar>
72 const Teuchos::RCP<
const Thyra::ModelEvaluator<Scalar> >& appModel,
75 std::string ICConsistency,
76 bool ICConsistencyCheck,
84 virtual Teuchos::RCP<StepperObserver<Scalar> >
getObserver()
const
85 {
return Teuchos::null; }
98 if (
gamma_ == 0.5)
return 2.0;
105 {
return Scalar(1.0e+99);}
121 virtual void describe(Teuchos::FancyOStream & out,
122 const Teuchos::EVerbosityLevel verbLevel)
const;
125 virtual bool isValidSetup(Teuchos::FancyOStream & out)
const;
128 const Thyra::VectorBase<Scalar>& v,
129 const Thyra::VectorBase<Scalar>& a,
130 const Scalar dt)
const;
133 const Thyra::VectorBase<Scalar>& d,
134 const Thyra::VectorBase<Scalar>& v,
135 const Thyra::VectorBase<Scalar>& a,
136 const Scalar dt)
const;
139 const Thyra::VectorBase<Scalar>& vPred,
140 const Thyra::VectorBase<Scalar>& a,
141 const Scalar dt)
const;
147 TEUCHOS_TEST_FOR_EXCEPTION( (
gamma_ > 1.0) || (
gamma_ < 0.0),
149 "Error in 'Newmark Explicit a-Form' stepper: invalid value of Gamma = "
150 <<
gamma_ <<
". Please select 0 <= Gamma <= 1. \n");
166 #endif // Tempus_StepperNewmarkExplicitAForm_decl_hpp
bool isInitialized_
True if stepper's member data is initialized.
Stepper integrates second-order ODEs.
StepperObserver class for Stepper class.
SolutionHistory is basically a container of SolutionStates. SolutionHistory maintains a collection of...
Thyra Base interface for implicit time steppers.