19 params.
addRequiredParam<FunctionName>(
"exact_solution",
"The exact solution.");
20 params.
addParam<
Real>(
"coeff", 1,
"The diffusion, thermal conductivity, etc. coefficient");
22 "arising from integration by parts of a diffusion/heat conduction " 23 "operator, and where the exact solution can be specified.");
29 _exact_solution(getFunction(
"exact_solution")),
30 _coeff(getParam<
Real>(
"coeff"))
const VariableTestValue & _test
test function values (in QPs)
static InputParameters validParams()
Boundary condition of a Neumann style whose value is computed by a user-defined function.
const MooseArray< Point > & _normals
normals at quadrature points
static InputParameters validParams()
unsigned int _i
i-th, j-th index for enumerating test and shape functions
const Function & _exact_solution
The function being used for setting the value.
unsigned int _qp
quadrature point index
const MooseArray< Point > & _q_point
active quadrature points
Base class for deriving any boundary condition of a integrated type.
DIE A HORRIBLE DEATH HERE typedef LIBMESH_DEFAULT_SCALAR_TYPE Real
virtual Real computeQpResidual() override
Method for computing the residual at quadrature points.
FunctionGradientNeumannBC(const InputParameters ¶meters)
virtual RealGradient gradient(Real t, const Point &p) const
Function objects can optionally provide a gradient at a point.
registerMooseObject("MooseApp", FunctionGradientNeumannBC)