53 virtual int order()
override {
return 2; }
57 const dof_id_type & dof,
58 ADReal & ad_u_dotdot)
const override;
59 virtual void solve()
override;
60 virtual void postResidual(NumericVector<Number> & residual)
override;
67 template <
typename T,
typename T2,
typename T3>
79template <
typename T,
typename T2,
typename T3>
DualNumber< Real, DNDerivativeType, true > ADReal
Explicit TVD (total-variation-diminishing) second-order Runge-Kutta time integration methods:
virtual void preSolve() override
NumericVector< Number > * _residual_old
Buffer to store non-time residual from the first stage.
virtual void computeTimeDerivatives() override
Computes the time derivative and the Jacobian of the time derivative.
virtual void solve() override
Solves the time step and sets the number of nonlinear and linear iterations.
static InputParameters validParams()
void computeTimeDerivativeHelper(T &u_dot, const T2 &u_old, const T3 &u_older) const
Helper function that actually does the math for computing the time derivative.
virtual bool overridesSolve() const override
virtual int order() override
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
virtual void postResidual(NumericVector< Number > &residual) override
Callback to the NonLinearTimeIntegratorInterface called immediately after the residuals are computed ...
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.