17 #include "libmesh/quadrature.h" 31 :
VectorKernel(parameters), _u_dot(_var.uDot()), _du_dot_du(_var.duDotDu())
49 Threads::spin_mutex::scoped_lock lock(Threads::spin_mtx);
50 for (
unsigned int i = 0; i <
_save_in.size(); i++)
VectorTimeKernel(const InputParameters ¶meters)
const VectorVariableTestValue & _test
the current test function
void accumulateTaggedLocalResidual()
Local residual blocks will be appended by adding the current local kernel residual.
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()
static InputParameters validParams()
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.
static InputParameters validParams()
DenseVector< Number > _local_re
Holds local residual entries as they are accumulated by this Kernel.
virtual Real computeQpResidual()=0
Compute this Kernel's contribution to the residual at the current quadrature point.
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.
virtual void computeResidual() override
Compute this VectorKernel's contribution to the residual.
const VectorMooseVariable & _var
This is a regular kernel so we cast to a regular MooseVariable.
unsigned int _qp
The current quadrature point index.