20 "$u(t,\\vec{x})=h(t,\\vec{x})$, "
21 "where $h$ is a functor and can have complex dependencies.");
23 params.
addRequiredParam<MooseFunctorName>(
"functor",
"The functor to impose");
25 "coefficient", 1.0,
"An optional functor coefficient to multiply the imposed functor");
32 _functor(getFunctor<
ADReal>(
"functor")),
33 _coef(getFunctor<
ADReal>(
"coefficient"))
42 return _coef(space_arg, time_arg) *
_functor(space_arg, time_arg);
DualNumber< Real, DNDerivativeType, true > ADReal
registerMooseObject("MooseApp", FunctorDirichletBC)
Base class for automatic differentiation Dirichlet BCs.
static InputParameters validParams()
const Node *const & _current_node
current node being processed
Dirichlet boundary condition with functor inputs.
const Moose::Functor< ADReal > & _coef
Coefficient.
static InputParameters validParams()
virtual ADReal computeQpValue() override
Compute the value of the Dirichlet BC at the current quadrature point.
FunctorDirichletBC(const InputParameters ¶meters)
const Moose::Functor< ADReal > & _functor
The functor value to impose.
static const std::set< SubdomainID > undefined_subdomain_connection
A static member that can be used when the connection of a node to subdomains is unknown.
State argument for evaluating functors.