55 for (
const auto & var : scalar_vars)
66 for (
_j = 0;
_j < var_j.order();
_j++)
virtual void computeJacobian() override
Compute this object's contribution to the diagonal Jacobian entries.
const std::vector< MooseVariableScalar * > & getScalarVariables(THREAD_ID tid)
void accumulateTaggedLocalResidual()
Local residual blocks will be appended by adding the current local kernel residual.
virtual Real computeQpOffDiagJacobianScalar(unsigned int jvar)
unsigned int number() const
Get variable number coming from libMesh.
MooseVariableScalar & _var
Scalar variable.
THREAD_ID _tid
The thread ID for this kernel.
DenseMatrix< Number > _local_ke
Holds local Jacobian entries as they are accumulated by this Kernel.
SystemBase & _sys
Reference to the EquationSystem object.
ODEKernel(const InputParameters ¶meters)
virtual void computeOffDiagJacobianScalar(unsigned int jvar) override
Computes jacobian block with respect to a scalar variable.
virtual Real computeQpResidual()
void accumulateTaggedLocalMatrix()
Local Jacobian blocks will be appended by adding the current local kernel Jacobian.
virtual Real computeQpJacobian() override
Assembly & _assembly
Reference to this Kernel's assembly object.
libMesh::Order order() const
Get the order of this variable Note: Order enum can be implicitly converted to unsigned int...
virtual MooseVariableScalar & getScalarVariable(THREAD_ID tid, const std::string &var_name) const
Gets a reference to a scalar variable with specified number.
DIE A HORRIBLE DEATH HERE typedef LIBMESH_DEFAULT_SCALAR_TYPE Real
virtual void computeResidual() override
Compute this object's contribution to the residual.
DenseVector< Number > _local_re
Holds local residual entries as they are accumulated by this Kernel.
Class for scalar variables (they are different).
void prepareVectorTag(Assembly &assembly, unsigned int ivar)
Prepare data for computing element residual according to active tags.
void prepareMatrixTag(Assembly &assembly, unsigned int ivar, unsigned int jvar)
Prepare data for computing element jacobian according to the active tags.
virtual void reinit() override
Reinitialization method called before each call to computeResidual()
static InputParameters validParams()
static InputParameters validParams()