www.mooseframework.org
SideIntegralVariablePostprocessor.h
Go to the documentation of this file.
1 //* This file is part of the MOOSE framework
2 //* https://www.mooseframework.org
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 
13 #include "MooseVariableInterface.h"
14 #include "FaceArgInterface.h"
15 
23  public MooseVariableInterface<Real>,
25 {
26 public:
28 
30 
31  bool hasFaceSide(const FaceInfo & fi, const bool fi_elem_side) const override;
32 
33 protected:
34  Real computeQpIntegral() override;
35  Real computeFaceInfoIntegral(const FaceInfo * fi) override;
36 
38  const VariableValue & _u;
42  const bool _fv;
43 };
OutputTools< Real >::VariableGradient VariableGradient
Definition: MooseTypes.h:303
The main MOOSE class responsible for handling user-defined parameters in almost every MOOSE system...
const VariableValue & _u
Holds the solution at current quadrature points.
const bool _fv
Whether this is acting on a finite volume variable.
This data structure is used to store geometric and variable related metadata about each cell face in ...
Definition: FaceInfo.h:35
An interface for producers of functor face arguments, e.g.
Real computeFaceInfoIntegral(const FaceInfo *fi) override
This postprocessor computes a surface integral of the specified variable on a sideset on the boundary...
SideIntegralVariablePostprocessor(const InputParameters &parameters)
forward declarations
Definition: MooseArray.h:17
DIE A HORRIBLE DEATH HERE typedef LIBMESH_DEFAULT_SCALAR_TYPE Real
Interface for objects that need to get values of MooseVariables.
const InputParameters & parameters() const
Get the parameters of the object.
This postprocessor computes a surface integral of the specified variable.
bool hasFaceSide(const FaceInfo &fi, const bool fi_elem_side) const override
const VariableGradient & _grad_u
Holds the solution gradient at the current quadrature points.