https://mooseframework.inl.gov
Loading...
Searching...
No Matches
MatNeumannBC.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 "NeumannBC.h"
13
19template <bool is_ad>
37
MatNeumannBCTempl< false > MatNeumannBC
MatNeumannBCTempl< true > ADMatNeumannBC
typename GenericMaterialPropertyStruct< T, is_ad >::type GenericMaterialProperty
Moose::GenericType< Real, is_ad > GenericReal
Definition MooseTypes.h:698
The main MOOSE class responsible for handling user-defined parameters in almost every MOOSE system.
Implements a Neumann BC where D grad(u) = value * M on the boundary, where value is a constant and M ...
virtual GenericReal< is_ad > computeQpResidual() override
Method for computing the residual at quadrature points.
const GenericMaterialProperty< Real, is_ad > & _boundary_prop
Value of material property on the boundary.
static InputParameters validParams()
const InputParameters & parameters() const
Get the parameters of the object.
Definition MooseBase.h:131
Implements a simple constant Neumann BC where grad(u)=value on the boundary.
Definition NeumannBC.h:20
const Real & _value
Value of grad(u) on the boundary.
Definition NeumannBC.h:30