29 virtual void init()
override;
30 virtual int order()
override {
return 2; }
34 ADReal & ad_u_dotdot)
const override;
43 template <
typename T,
typename T2>
51 template <
typename T,
typename T2>
NumericVector< Number > * _residual_old
virtual void postResidual(NumericVector< Number > &residual) override
Callback to the NonLinearTimeIntegratorInterface called immediately after the residuals are computed ...
void computeTimeDerivativeHelper(T &u_dot, const T2 &u_old) const
Helper function that actually does the math for computing the time derivative.
virtual void init() override
Called only before the very first timestep (t_step = 0) Never called again (not even during recover/r...
const InputParameters & parameters() const
Get the parameters of the object.
virtual Real duDotDuCoeff() const override
virtual bool overridesSolve() const override
virtual void postStep() override
Callback to the TimeIntegrator called at the very end of time step.
DualNumber< Real, DNDerivativeType, true > ADReal
Real & _dt
The current time step size.
virtual int order() override
CrankNicolson(const InputParameters ¶meters)
DIE A HORRIBLE DEATH HERE typedef LIBMESH_DEFAULT_SCALAR_TYPE Real
Base class for time integrators.
static InputParameters validParams()
virtual void computeTimeDerivatives() override
Computes the time derivative and the Jacobian of the time derivative.
Crank-Nicolson time integrator.
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