16 #include "libmesh/quadrature.h" 25 "Lumped formulation of the time derivative $\\frac{\\partial u}{\\partial t}$. Its " 26 "corresponding weak form is $\\dot{u_i}(\\psi_i, 1)$ where $\\dot{u_i}$ denotes the time " 27 "derivative of the solution coefficient associated with node $i$.");
32 :
TimeKernel(parameters), _u_dot_nodal(_var.dofValuesDot())
MooseVariable & _var
This is a regular kernel so we cast to a regular MooseVariable.
const MooseArray< Real > & _JxW
The current quadrature point weight value.
unsigned int number() const
Get variable number coming from libMesh.
virtual void computeJacobian() override
Compute this Kernel's contribution to the diagonal Jacobian entries.
virtual Real computeQpJacobian() override
Compute this Kernel's contribution to the Jacobian at the current quadrature point.
registerMooseObject("MooseApp", MassLumpedTimeDerivative)
DenseMatrix< Number > _local_ke
Holds local Jacobian entries as they are accumulated by this Kernel.
const VariableTestValue & _test
the current test function
static InputParameters validParams()
const QBase *const & _qrule
active quadrature rule
unsigned int _i
current index for the test function
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.
DIE A HORRIBLE DEATH HERE typedef LIBMESH_DEFAULT_SCALAR_TYPE Real
All time kernels should inherit from this class.
MassLumpedTimeDerivative(const InputParameters ¶meters)
const VariableValue & _u_dot_nodal
void prepareMatrixTag(Assembly &assembly, unsigned int ivar, unsigned int jvar)
Prepare data for computing element jacobian according to the active tags.
virtual Real computeQpResidual() override
Compute this Kernel's contribution to the residual at the current quadrature point.
static InputParameters validParams()
const VariableValue & _du_dot_du
Derivative of u_dot with respect to u.
unsigned int _qp
The current quadrature point index.