21 "Enforces a Dirichlet boundary condition " 22 "in a weak sense with $p(\\vec{u}^\\ast, \\vec{u} - \\vec{u}_0)$, where $p$ is the constant " 23 "scalar penalty; $\\vec{u}^\\ast$ is the test functions and $\\vec{u} - \\vec{u}_0$ is the " 24 "differences between the current solution and the Dirichlet data.");
30 _p(getParam<
Real>(
"penalty")),
35 "value",
"Number of 'values' must equal number of variable components (",
_count,
").");
const ArrayVariablePhiValue & _phi
shape function values (in QPs)
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 ...
ArrayPenaltyDirichletBC(const InputParameters ¶meters)
const RealEigenVector & _v
unsigned int _i
i-th, j-th index for enumerating test and shape functions
const ArrayVariableValue & _u
the values of the unknown variable this BC is acting on
const unsigned int _count
Number of components of the array variable.
static InputParameters validParams()
unsigned int _qp
quadrature point index
registerMooseObject("MooseApp", ArrayPenaltyDirichletBC)
virtual void computeQpResidual(RealEigenVector &residual) override
Method for computing the residual at quadrature points, to be filled in residual. ...
DIE A HORRIBLE DEATH HERE typedef LIBMESH_DEFAULT_SCALAR_TYPE Real
static InputParameters validParams()
const ArrayVariableTestValue & _test
test function values (in QPs)
Base class for deriving any boundary condition of a integrated type.
Eigen::Matrix< Real, Eigen::Dynamic, 1 > RealEigenVector
virtual RealEigenVector computeQpJacobian() override
Method for computing the diagonal Jacobian at quadrature points.