16 #include "libmesh/quadrature.h" 24 params.
addClassDescription(
"The time derivative operator with the weak form of $(\\vec{\\psi_i}, " 25 "\\frac{\\partial \\vec{u_h}}{\\partial t})$.");
26 params.
addParam<
bool>(
"lumping",
false,
"True for mass matrix lumping, false otherwise");
virtual void computeJacobian() override
Compute this VectorKernel's contribution to the diagonal Jacobian entries.
virtual Real computeQpJacobian() override
Compute this Kernel's contribution to the Jacobian at the current quadrature point.
const VectorVariableTestValue & _test
the current test function
const MooseArray< Real > & _JxW
The current quadrature point weight value.
static InputParameters validParams()
unsigned int number() const
Get variable number coming from libMesh.
registerMooseObject("MooseApp", VectorTimeDerivative)
DenseMatrix< Number > _local_ke
Holds local Jacobian entries as they are accumulated by this Kernel.
virtual void computeJacobian() override
Compute this VectorKernel's contribution to the diagonal Jacobian entries.
virtual void precalculateJacobian()
static InputParameters validParams()
const QBase *const & _qrule
active quadrature rule
unsigned int _i
current index for the test function
All vector time kernels should inherit from this class.
VectorTimeDerivative(const InputParameters ¶meters)
void accumulateTaggedLocalMatrix()
Local Jacobian blocks will be appended by adding the current local kernel Jacobian.
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.
unsigned int _j
current index for the shape function
const VectorVariablePhiValue & _phi
the current shape functions
DIE A HORRIBLE DEATH HERE typedef LIBMESH_DEFAULT_SCALAR_TYPE Real
const VariableValue & _du_dot_du
Derivative of u_dot with respect to u.
void prepareMatrixTag(Assembly &assembly, unsigned int ivar, unsigned int jvar)
Prepare data for computing element jacobian according to the active tags.
const VectorVariableValue & _u_dot
Time derivative of u.
virtual Real computeQpResidual() override
Compute this Kernel's contribution to the residual at the current quadrature point.
const VectorMooseVariable & _var
This is a regular kernel so we cast to a regular MooseVariable.
unsigned int _qp
The current quadrature point index.