https://mooseframework.inl.gov
SideAdvectiveFluxIntegral.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 includes
14 #include "MooseVariableInterface.h"
15 
16 // Forward Declarations
17 template <bool>
21 
25 template <bool is_ad>
27 {
28 public:
30 
32 
33 protected:
34  Real computeQpIntegral() override;
35  Real computeFaceInfoIntegral(const FaceInfo * fi) override;
36 
38  const bool _use_normal;
39 
41  const int _component;
42 
45 
48 
51 
54 
57 
62 };
SideAdvectiveFluxIntegralTempl< false > SideAdvectiveFluxIntegral
const VariableValue & _advected_variable
Variable storing the advected quantity; used for finite elements.
This is a wrapper that forwards calls to the implementation, which can be switched out at any time wi...
SideAdvectiveFluxIntegralTempl(const InputParameters &parameters)
The main MOOSE class responsible for handling user-defined parameters in almost every MOOSE system...
const Moose::Functor< Real > & _vel_x
Velocity components.
const int _component
Will hold 0, 1, or 2 corresponding to x, y, or z.
This data structure is used to store geometric and variable related metadata about each cell face in ...
Definition: FaceInfo.h:36
Real computeFaceInfoIntegral(const FaceInfo *fi) override
const bool _advected_variable_supplied
Whether an advected variable was supplied in the input.
const Moose::Functor< Real > *const _vel_z
typename GenericMaterialPropertyStruct< T, is_ad >::type GenericMaterialProperty
This postprocessor computes a surface integral of the specified variable on a sideset on the boundary...
const bool _advected_mat_prop_supplied
Whether an advected material property was supplied in the input.
This postprocessor computes a side integral of the mass flux.
forward declarations
DIE A HORRIBLE DEATH HERE typedef LIBMESH_DEFAULT_SCALAR_TYPE Real
const Moose::Functor< Real > *const _adv_quant
The functor representing the advected quantity for finite volume.
const InputParameters & parameters() const
Get the parameters of the object.
SideAdvectiveFluxIntegralTempl< true > ADSideAdvectiveFluxIntegral
const bool _use_normal
Whether the normal component has been selected.
const Moose::Functor< Real > *const _vel_y
const GenericMaterialProperty< Real, is_ad > & _advected_material_property
Material property storing the advected quantity; used for finite elements.