19 params.
addParam<
Real>(
"value", 0.0,
"Boundary value of the variable");
22 "in a weak sense by penalizing differences between the current " 23 "solution and the Dirichlet data.");
const ADTemplateVariableValue< T > & _u
the values of the unknown variable this BC is acting on
const Real _p
Penalty value.
virtual ADReal computeQpResidual() override
Compute this IntegratedBC's contribution to the residual at the current quadrature point...
ADPenaltyDirichletBC(const InputParameters ¶meters)
unsigned int _i
i-th, j-th index for enumerating test and shape functions
DualNumber< Real, DNDerivativeType, true > ADReal
static InputParameters validParams()
unsigned int _qp
quadrature point index
const Real & _v
Value of u on the boundary.
Base class for deriving any boundary condition of a integrated type.
static InputParameters validParams()
DIE A HORRIBLE DEATH HERE typedef LIBMESH_DEFAULT_SCALAR_TYPE Real
const ADTemplateVariableTestValue< T > & _test
test function values (in QPs)
registerMooseObject("MooseApp", ADPenaltyDirichletBC)
Weakly enforce a Dirichlet BC using a penalty term.