39 mooseError(
"ExplicitEuler: Time derivative of solution (`u_dot`) is not stored. Please set " 40 "uDotRequested() to true in FEProblemBase before requesting `u_dot`.");
static InputParameters validParams()
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
FEProblemBase & _fe_problem
Reference to the problem.
ExplicitEuler(const InputParameters ¶meters)
SystemBase & _sys
Reference to the system this time integrator operates on.
virtual void computeTimeDerivatives() override
Computes the time derivative and the Jacobian of the time derivative.
DualNumber< Real, DNDerivativeType, true > ADReal
virtual void postResidual(NumericVector< Number > &residual) override
Callback to the NonLinearTimeIntegratorInterface called immediately after the residuals are computed ...
Real & _dt
The current time step size.
Real & _dt_old
The previous time step size.
NumericVector< Number > * _Re_time
residual vector for time contributions
virtual NumericVector< Number > * solutionUDot()
void computeTimeDerivativeHelper(T &u_dot, const T2 &u_old) const
Helper function that actually does the math for computing the time derivative.
const NumericVector< Number > *const & _solution
Explicit Euler time integrator.
Base class for time integrators.
void setConstJacobian(bool state)
Set flag that Jacobian is constant (for optimization purposes)
void mooseError(Args &&... args) const
Emits an error prefixed with object name and type.
const NumericVector< Number > & _solution_old
virtual void preSolve() override
registerMooseObject("MooseApp", ExplicitEuler)
NumericVector< Number > * _Re_non_time
residual vector for non-time contributions
static InputParameters validParams()
void computeDuDotDu()
Compute _du_dot_du.