58 virtual int order()
override {
return 4; }
61 const dof_id_type & dof,
62 ADReal & ad_u_dotdot)
const override;
63 virtual void solve()
override;
64 virtual void postResidual(NumericVector<Number> & residual)
override;
71 template <
typename T,
typename T2>
107template <
typename T,
typename T2>
DualNumber< Real, DNDerivativeType, true > ADReal
Fourth-order diagonally implicit Runge Kutta method (Dirk) with three stages plus an update.
virtual void postResidual(NumericVector< Number > &residual) override
Callback to the NonLinearTimeIntegratorInterface called immediately after the residuals are computed ...
std::shared_ptr< LStableDirk4 > _bootstrap_method
void computeTimeDerivativeHelper(T &u_dot, const T2 &u_old) const
Helper function that actually does the math for computing the time derivative.
virtual int order() override
static InputParameters validParams()
NumericVector< Number > * _stage_residuals[3]
virtual void solve() override
Solves the time step and sets the number of nonlinear and linear iterations.
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 computeTimeDerivatives() override
Computes the time derivative and the Jacobian of the time derivative.
virtual bool overridesSolve() const override
Fourth-order diagonally implicit Runge Kutta method (Dirk) with five stages.
const InputParameters & parameters() const
Get the parameters of the object.
Base class for time integrators.
Real & _dt
The current time step size.