25 virtual int order()
override {
return 2; }
26 virtual void preStep()
override;
29 const dof_id_type & dof,
30 ADReal & ad_u_dotdot)
const override;
31 virtual void postResidual(NumericVector<Number> & residual)
override;
34 const std::vector<Real> & factors)
const override;
42 template <
typename T,
typename T2,
typename T3,
typename T4>
58template <
typename T,
typename T2,
typename T3,
typename T4>
63 const T4 & u_older)
const
DualNumber< Real, DNDerivativeType, true > ADReal
virtual bool overridesSolve() const override
virtual Real duDotDuCoeff() const override
virtual void postResidual(NumericVector< Number > &residual) override
Callback to the NonLinearTimeIntegratorInterface called immediately after the residuals are computed ...
virtual int order() override
virtual Real timeDerivativeRHSContribution(const dof_id_type dof_id, const std::vector< Real > &factors) const override
The time derivative's contribution to the right hand side of a linear system.
std::vector< Real > & _weight
virtual unsigned int numStatesRequired() const override
Return the number of states this requires in a linear system setting.
void computeADTimeDerivatives(ADReal &ad_u_dot, const dof_id_type &dof, ADReal &ad_u_dotdot) const override
method for computing local automatic differentiation time derivatives
void computeTimeDerivativeHelper(T &u_dot, const T2 &u, const T3 &u_old, const T4 &u_older) const
Helper function that actually does the math for computing the time derivative.
virtual void computeTimeDerivatives() override
Computes the time derivative and the Jacobian of the time derivative.
virtual Real timeDerivativeMatrixContribution(const Real factor) const override
The time derivative's contribution to the right hand side of a linear system.
virtual void preStep() override
static InputParameters validParams()
const NumericVector< Number > & _solution_older
The older solution.
const InputParameters & parameters() const
Get the parameters of the object.
Base class for time integrators.
Real & _dt
The current time step size.
int & _t_step
The current time step number.
void addScaled(const T &a, const T2 &b, T3 &result)