Go to the documentation of this file.
80 mooseError(
"The computeADOffDiagJacobian method should only be called on ADKernel objects");
unsigned int _i
current index for the test function
std::vector< MooseVariableFEBase * > _diag_save_in
Assembly & _assembly
Reference to this Kernel's assembly object.
void mooseError(Args &&... args) const
std::vector< AuxVariableName > _save_in_strings
unsigned int _j
current index for the shape function
MooseVariableFE< Real > MooseVariable
virtual void computeJacobian()=0
Compute this Kernel's contribution to the diagonal Jacobian entries.
SubProblem & _subproblem
Reference to this kernel's SubProblem.
MooseMesh & _mesh
Reference to this Kernel's mesh object.
SubProblem & subProblem()
Returns a reference to the SubProblem for which this Kernel is active.
const Elem *const & _current_elem
Interface for objects that need to use functions.
const InputParameters & parameters() const
Get the parameters of the object.
Interface for objects that need to use UserObjects.
virtual void precalculateResidual()
Following methods are used for Kernels that need to perform a per-element calculation.
virtual void computeADOffDiagJacobian()
static InputParameters validParams()
virtual MooseVariableFEBase & variable()=0
Returns the variable that this Kernel operates on.
Every object that can be built by the factory should be derived from this class.
unsigned int _qp
The current quadrature point index.
Generic class for solving transient nonlinear problems.
virtual void computeOffDiagJacobianScalar(unsigned int jvar)=0
Computes jacobian block with respect to a scalar variable.
Interface class for classes which interact with Postprocessors.
FEProblemBase & _fe_problem
Reference to this kernel's FEProblemBase.
std::vector< MooseVariableFEBase * > _save_in
A class for creating restricted objects.
THREAD_ID _tid
The thread ID for this kernel.
const MooseArray< Real > & _JxW
The current quadrature point weight value.
Interface for objects that needs transient capabilities.
const MooseArray< Point > & _q_point
The physical location of the element's quadrature Points, indexed by _qp.
Interface for notifications that the mesh has changed.
virtual void computeOffDiagJacobian(MooseVariableFEBase &jvar)=0
Computes d-residual / d-jvar... storing the result in Ke.
Keeps track of stuff related to assembling.
virtual void precalculateOffDiagJacobian(unsigned int)
KernelBase(const InputParameters ¶meters)
SystemBase & _sys
Reference to the EquationSystem object.
bool _has_diag_save_in
The aux variables to save the diagonal Jacobian contributions to.
virtual void computeResidual()=0
Compute this Kernel's contribution to the residual.
An interface that restricts an object to subdomains via the 'blocks' input parameter.
std::vector< AuxVariableName > _diag_save_in_strings
Base class for a system (of equations)
virtual void precalculateJacobian()
MooseMesh wraps a libMesh::Mesh object and enhances its capabilities by caching additional data and s...
const QBase *const & _qrule
active quadrature rule
MooseVariableFE< VectorValue< Real > > VectorMooseVariable
Interface for objects that need parallel consistent random numbers without patterns over the course o...
InputParameters validParams< KernelBase >()
This is the common base class for the three main kernel types implemented in MOOSE,...
Specialization of SubProblem for solving nonlinear equations plus auxiliary equations.
virtual void computeNonlocalJacobian()
Compute this Kernel's contribution to the diagonal Jacobian entries corresponding to nonlocal dofs of...
virtual void computeNonlocalOffDiagJacobian(unsigned int)
Computes d-residual / d-jvar...
Class for stuff related to variables.
An interface for accessing Materials.
std::vector< unsigned int > _displacements
const Real & _current_elem_volume
Volume of the current element.
bool _has_save_in
The aux variables to save the residual contributions to.
const MooseArray< Real > & _coord
The scaling factor to convert from cartesian to another coordinate system (e.g rz,...