17 #include "libmesh/quadrature.h" 31 :
Kernel(parameters), _u_dot(_var.uDot()), _du_dot_du(_var.duDotDu())
51 Threads::spin_mutex::scoped_lock lock(Threads::spin_mtx);
52 for (
unsigned int i = 0; i <
_save_in.size(); i++)
virtual void computeResidual() override
Compute this Kernel's contribution to the residual.
static InputParameters validParams()
void accumulateTaggedLocalResidual()
Local residual blocks will be appended by adding the current local kernel residual.
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.
std::vector< MooseVariableFEBase * > _save_in
const MooseArray< Real > & _JxW
The current quadrature point weight value.
unsigned int number() const
Get variable number coming from libMesh.
virtual void precalculateResidual()
virtual void computeResidualAdditional()
Entry point for additional computation for the local residual after the standard calls.
const VariableTestValue & _test
the current test function
const QBase *const & _qrule
active quadrature rule
bool _has_save_in
The aux variables to save the residual contributions to.
unsigned int _i
current index for the test function
const MooseArray< Real > & _coord
The scaling factor to convert from cartesian to another coordinate system (e.g rz, spherical, etc.)
Assembly & _assembly
Reference to this Kernel's assembly object.
TimeKernel(const InputParameters ¶meters)
DenseVector< Number > _local_re
Holds local residual entries as they are accumulated by this Kernel.
This is a "smart" enum class intended to replace many of the shortcomings in the C++ enum type...
void prepareVectorTag(Assembly &assembly, unsigned int ivar)
Prepare data for computing element residual according to active tags.
static InputParameters validParams()
unsigned int _qp
The current quadrature point index.