13#include "libmesh/node.h"
22 "is calculated by a function.");
23 params.
addParam<FunctionName>(
"function", 0,
"The function describing the Dirichlet condition");
registerMooseObject("MooseApp", ADFunctionDirichletBC)
DualNumber< Real, DNDerivativeType, true > ADReal
Base class for automatic differentiation Dirichlet BCs.
static InputParameters validParams()
Boundary condition of a Dirichlet type.
static InputParameters validParams()
const Function & _function
The function describing the Dirichlet condition.
virtual ADReal computeQpValue() override
Compute the value of the Dirichlet BC at the current quadrature point.
ADFunctionDirichletBC(const InputParameters ¶meters)
const Node *const & _current_node
current node being processed
virtual Real value(Real t, const Point &p) const
Override this to evaluate the scalar function at point (t,x,y,z), by default this returns zero,...