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 VariableTestValue & _test
test function values (in QPs)
static InputParameters validParams()
static InputParameters validParams()
unsigned int _i
i-th, j-th index for enumerating test and shape functions
const VariablePhiValue & _phi
shape function values (in QPs)
unsigned int _qp
quadrature point index
registerMooseObject("MooseApp", PenaltyDirichletBC)
Base class for deriving any boundary condition of a integrated type.
Weakly enforce a Dirichlet BC using a penalty term.
DIE A HORRIBLE DEATH HERE typedef LIBMESH_DEFAULT_SCALAR_TYPE Real
virtual Real computeQpJacobian() override
Method for computing the diagonal Jacobian at quadrature points.
virtual Real computeQpResidual() override
Method for computing the residual at quadrature points.
const VariableValue & _u
the values of the unknown variable this BC is acting on
PenaltyDirichletBC(const InputParameters ¶meters)