25 virtual int order()
override {
return 1; }
29 ADReal & ad_u_dotdot)
const override;
34 const std::vector<Real> & factors)
const override;
41 template <
typename T,
typename T2>
45 template <
typename T,
typename T2>
virtual void computeTimeDerivatives() override
Computes the time derivative and the Jacobian of the time derivative.
virtual bool overridesSolve() const override
DualNumber< Real, DNDerivativeType, true > ADReal
Real & _dt
The current time step size.
void computeTimeDerivativeHelper(T &u_dot, const T2 &u_old) const
Helper function that actually does the math for computing the time derivative.
static InputParameters validParams()
DIE A HORRIBLE DEATH HERE typedef LIBMESH_DEFAULT_SCALAR_TYPE Real
Base class for time integrators.
ImplicitEuler(const InputParameters ¶meters)
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
const InputParameters & parameters() const
Get the parameters of the object.
virtual Real timeDerivativeMatrixContribution(const Real factor) const override
The time derivative's contribution to the right hand side of a linear system.
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.
virtual void postResidual(NumericVector< Number > &residual) override
Callback to the NonLinearTimeIntegratorInterface called immediately after the residuals are computed ...
virtual int order() override
Implicit Euler's method.