28 :
NodalScalarKernel(parameters), _val_number(coupledIndices(
"var")), _value(coupledValues(
"var"))
39 for (
unsigned int k = 0; k <
_value.size(); k++)
51 for (
unsigned int i = 0; i <
_local_ke.
m(); i++)
52 for (
unsigned int j = 0; j <
_local_ke.
n(); j++)
57 for (
unsigned int k = 0; k <
_value.size(); k++)
virtual void computeJacobian() override
Compute this object's contribution to the diagonal Jacobian entries.
unsigned int number() const
Get variable number coming from libMesh.
void assignTaggedLocalMatrix()
Local Jacobian blocks will assigned as the current local kernel Jacobian.
static InputParameters validParams()
void assignTaggedLocalResidual()
Local residual blocks will assigned as the current local kernel residual.
const std::vector< unsigned int > _val_number
MooseVariableScalar & _var
Scalar variable.
registerMooseObject("MooseApp", NodalEqualValueConstraint)
DenseMatrix< Number > _local_ke
Holds local Jacobian entries as they are accumulated by this Kernel.
static InputParameters validParams()
NodalEqualValueConstraint(const InputParameters ¶meters)
void paramError(const std::string ¶m, Args... args) const
Emits an error prefixed with the file and line number of the given param (from the input file) along ...
virtual void computeResidual() override
Compute this object's contribution to the residual.
Assembly & _assembly
Reference to this Kernel's assembly object.
Constraint to enforce equal values (in 1D)
DenseVector< Number > _local_re
Holds local residual entries as they are accumulated by this Kernel.
std::vector< dof_id_type > _node_ids
List of node IDs.
void prepareVectorTag(Assembly &assembly, unsigned int ivar)
Prepare data for computing element residual according to active tags.
void prepareMatrixTag(Assembly &assembly, unsigned int ivar, unsigned int jvar)
Prepare data for computing element jacobian according to the active tags.
const std::vector< const VariableValue * > _value