https://mooseframework.inl.gov
LinearFVAdvectionDiffusionBC.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 // MOOSE
14 
21 {
22 public:
28 
30 
35  virtual Real computeBoundaryValueMatrixContribution() const = 0;
36 
41  virtual Real computeBoundaryValueRHSContribution() const = 0;
42 
48 
53  virtual Real computeBoundaryGradientRHSContribution() const = 0;
54 
60  virtual bool includesMaterialPropertyMultiplier() const { return false; }
61 
67  virtual bool useBoundaryGradientExtrapolation() const { return false; }
68 };
Base class for boundary conditions for linear FV systems.
virtual Real computeBoundaryGradientRHSContribution() const =0
Computes the boundary gradient's contribution to the linear system right hand side.
virtual Real computeBoundaryGradientMatrixContribution() const =0
Computes the boundary gradient's contribution to the linear system matrix.
LinearFVAdvectionDiffusionBC(const InputParameters &parameters)
Class constructor.
The main MOOSE class responsible for handling user-defined parameters in almost every MOOSE system...
virtual bool useBoundaryGradientExtrapolation() const
Define if the value of the gradient of the field to compute fluxes at boundaries is prescribed by t...
Base class for boundary conditions that are valid for advection diffusion problems.
virtual bool includesMaterialPropertyMultiplier() const
Check if the contributions to the right hand side and matrix already include the material property mu...
virtual Real computeBoundaryValueMatrixContribution() const =0
Computes the boundary value's contribution to the linear system matrix.
DIE A HORRIBLE DEATH HERE typedef LIBMESH_DEFAULT_SCALAR_TYPE Real
virtual Real computeBoundaryValueRHSContribution() const =0
Computes the boundary value's contribution to the linear system right hand side.
const InputParameters & parameters() const
Get the parameters of the object.