https://mooseframework.inl.gov
Loading...
Searching...
No Matches
FunctorDirichletBC.h
Go to the documentation of this file.
1//* This file is part of the MOOSE framework
2//* https://mooseframework.inl.gov
3//*
4//* All rights reserved, see COPYRIGHT for full restrictions
5//* https://github.com/idaholab/moose/blob/master/COPYRIGHT
6//*
7//* Licensed under LGPL 2.1, please see LICENSE for details
8//* https://www.gnu.org/licenses/lgpl-2.1.html
9
10#pragma once
11
13
18{
19public:
21
22 FunctorDirichletBC(const InputParameters & parameters);
23
24protected:
25 virtual ADReal computeQpValue() override;
26
31};
DualNumber< Real, DNDerivativeType, true > ADReal
Base class for automatic differentiation Dirichlet BCs.
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.
const Moose::Functor< ADReal > & _functor
The functor value to impose.
The main MOOSE class responsible for handling user-defined parameters in almost every MOOSE system.
This is a wrapper that forwards calls to the implementation, which can be switched out at any time wi...