19 params.
addParam<Real>(
"alpha", 1,
"Diffusion coefficient.");
24 :
IntegratedBC(parameters), _alpha(getParam<Real>(
"alpha"))
registerMooseObject("MooseApp", VacuumBC)
unsigned int _qp
quadrature point index
unsigned int _i
i-th, j-th index for enumerating test and shape functions
Base class for deriving any boundary condition of a integrated type.
const VariableValue & _u
the values of the unknown variable this BC is acting on
static InputParameters validParams()
const VariablePhiValue & _phi
shape function values (in QPs)
const VariableTestValue & _test
test function values (in QPs)
Implements a simple Vacuum BC for neutron diffusion on the boundary.
static InputParameters validParams()
Factory constructor, takes parameters so that all derived classes can be built using the same constru...
VacuumBC(const InputParameters ¶meters)
Real _alpha
Ratio of u to du/dn.
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.