Go to the documentation of this file.
31 :
NodalKernel(parameters), _u_dot(_var.dofValuesDot()), _du_dot_du(_var.dofValuesDuDotDu())
48 Threads::spin_mutex::scoped_lock lock(Threads::spin_mtx);
50 var->sys().solution().add(var->nodalDofIndex(), res);
static InputParameters validParams()
Class constructor.
Represents a simple ODE of du/dt - rate = 0.
std::set< TagID > _vector_tags
The vectors this Kernel will contribute to.
void cacheResidualContribution(dof_id_type dof, Real value, TagID tag_id)
Cache individual residual contributions.
Base class for creating new types of boundary conditions.
static InputParameters validParams()
Constructor initializes the rate.
Assembly & _assembly
Reference to assembly.
std::vector< MooseVariableFEBase * > _save_in
MooseVariable & _var
variable this works on
virtual bool isNodalDefined() const override
Is this variable defined at nodes.
unsigned int _qp
Quadrature point index.
virtual void computeResidual() override
Compute the residual at the current node.
virtual Real computeQpResidual()=0
The user can override this function to compute the residual at a node.
void scalingFactor(Real factor)
Set the scaling factor for this variable.
This is a "smart" enum class intended to replace many of the shortcomings in the C++ enum type It sho...
bool _has_save_in
The aux variables to save the residual contributions to.
TimeNodalKernel(const InputParameters ¶meters)
defineLegacyParams(TimeNodalKernel)
const dof_id_type & nodalDofIndex() const override