17#include "libmesh/quadrature.h"
31 :
Kernel(parameters), _u_dot(_var.uDot()), _du_dot_du(_var.duDotDu())
50 for (
unsigned int i = 0; i <
_save_in.size(); i++)
std::vector< MooseVariableFEBase * > _save_in
const MooseArray< Real > & _coord
The scaling factor to convert from cartesian to another coordinate system (e.g rz,...
unsigned int _qp
The current quadrature point index.
bool _has_save_in
The aux variables to save the residual contributions to.
const MooseArray< Real > & _JxW
The current quadrature point weight value.
unsigned int _i
current index for the test function
const QBase *const & _qrule
active quadrature rule
virtual Real computeQpResidual()=0
Compute this Kernel's contribution to the residual at the current quadrature point.
MooseVariable & _var
This is a regular kernel so we cast to a regular MooseVariable.
const VariableTestValue & _test
the current test function
static InputParameters validParams()
unsigned int number() const
Get variable number coming from libMesh.
This is a "smart" enum class intended to replace many of the shortcomings in the C++ enum type.
Assembly & _assembly
Reference to this Kernel's assembly object.
virtual void precalculateResidual()
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.
virtual void computeResidualAdditional()
Entry point for additional computation for the local residual after the standard calls.
TimeKernel(const InputParameters ¶meters)
virtual void computeResidual() override
Compute this Kernel's contribution to the residual.
static InputParameters validParams()