19 "in a weak sense by penalizing differences between the current " 20 "solution and the Dirichlet value on nodesets.");
23 params.
addParam<
Real>(
"value", 0.0,
"Boundary value of the variable");
PenaltyDirichletNodalKernel(const InputParameters ¶meters)
virtual Real computeQpResidual() override
The user can override this function to compute the residual at a node.
registerMooseObject("MooseApp", PenaltyDirichletNodalKernel)
virtual Real computeQpJacobian() override
The user can override this function to compute the "on-diagonal" Jacobian contribution.
const VariableValue & _u
Value of the unknown variable this is acting on.
DIE A HORRIBLE DEATH HERE typedef LIBMESH_DEFAULT_SCALAR_TYPE Real
static InputParameters validParams()
static InputParameters validParams()
Class constructor.
Base class for creating nodal kernels with hand-coded Jacobians.
unsigned int _qp
Quadrature point index.