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