https://mooseframework.inl.gov
ADFunctionNeumannBC.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 
12 #include "ADIntegratedBC.h"
13 
14 class Function;
15 
20 {
21 public:
23 
25 
26 protected:
27  virtual ADReal computeQpResidual() override;
28 
30  const Function & _func;
31 };
Base class for function objects.
Definition: Function.h:36
The main MOOSE class responsible for handling user-defined parameters in almost every MOOSE system...
const Function & _func
The function being used for setting the value.
DualNumber< Real, DNDerivativeType, true > ADReal
Definition: ADRealForward.h:47
Base class for deriving any boundary condition of a integrated type.
virtual ADReal computeQpResidual() override
Compute this IntegratedBC&#39;s contribution to the residual at the current quadrature point...
static InputParameters validParams()
ADFunctionNeumannBC(const InputParameters &parameters)
const InputParameters & parameters() const
Get the parameters of the object.
Boundary condition of a Neumann style whose value is computed by a user-defined function.