29 :
NodalKernel(parameters), _u_dot(_var.dofValuesDot()), _du_dot_du(_var.dofValuesDuDotDu())
42 std::array<Real, 1>{{res}},
43 std::array<dof_id_type, 1>{{dof_idx}},
48 var->sys().solution().add(var->nodalDofIndex(), res);
static InputParameters validParams()
Constructor initializes the rate.
void addResiduals(Assembly &assembly, const Residuals &residuals, const Indices &dof_indices, Real scaling_factor)
Add the provided incoming residuals corresponding to the provided dof indices.
MooseVariable & _var
variable this works on
Assembly & _assembly
Reference to this Kernel's assembly object.
bool _has_save_in
The aux variables to save the residual contributions to.
DIE A HORRIBLE DEATH HERE typedef LIBMESH_DEFAULT_SCALAR_TYPE Real
virtual bool isNodalDefined() const override
Is this variable defined at nodes.
const dof_id_type & nodalDofIndex() const override
virtual void computeResidual() override
Compute the residual at the current node.
TimeNodalKernel(const InputParameters ¶meters)
std::vector< MooseVariableFEBase * > _save_in
This is a "smart" enum class intended to replace many of the shortcomings in the C++ enum type...
static InputParameters validParams()
Class constructor.
Base class for creating nodal kernels with hand-coded Jacobians.
unsigned int _qp
Quadrature point index.
virtual Real computeQpResidual()=0
The user can override this function to compute the residual at a node.
void scalingFactor(const std::vector< Real > &factor)
Set the scaling factor for this variable.