https://mooseframework.inl.gov
SideDiffusiveFluxIntegral.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 
15 // Forward Declarations
16 template <bool, typename>
22 
26 template <bool is_ad, typename T>
28 {
29 public:
31 
33 
34 protected:
35  Real computeQpIntegral() override;
36  Real computeFaceInfoIntegral(const FaceInfo * fi) override;
37 
40 
41 private:
43  RealVectorValue diffusivityGradientProduct(const RealVectorValue & grad_u, Real diffusivity);
44 
47  const RealVectorValue & diffusivity);
48 };
const GenericMaterialProperty< T, is_ad > *const _diffusion_coef
Real computeFaceInfoIntegral(const FaceInfo *fi) override
const Moose::Functor< Moose::GenericType< T, is_ad > > *const _functor_diffusion_coef
This is a wrapper that forwards calls to the implementation, which can be switched out at any time wi...
This postprocessor computes a side integral of the mass flux.
SideDiffusiveFluxIntegralTempl< true, Real > ADSideDiffusiveFluxIntegral
The main MOOSE class responsible for handling user-defined parameters in almost every MOOSE system...
This data structure is used to store geometric and variable related metadata about each cell face in ...
Definition: FaceInfo.h:36
SideDiffusiveFluxIntegralTempl< false, RealVectorValue > SideVectorDiffusivityFluxIntegral
typename GenericMaterialPropertyStruct< T, is_ad >::type GenericMaterialProperty
SideDiffusiveFluxIntegralTempl< true, RealVectorValue > ADSideVectorDiffusivityFluxIntegral
SideDiffusiveFluxIntegralTempl< false, Real > SideDiffusiveFluxIntegral
SideDiffusiveFluxIntegralTempl(const InputParameters &parameters)
DIE A HORRIBLE DEATH HERE typedef LIBMESH_DEFAULT_SCALAR_TYPE Real
RealVectorValue diffusivityGradientProduct(const RealVectorValue &grad_u, Real diffusivity)
Routine to get the diffusive flux with a Real diffusivity.
const InputParameters & parameters() const
Get the parameters of the object.
This postprocessor computes a surface integral of the specified variable.