https://mooseframework.inl.gov
Loading...
Searching...
No Matches
MfrPostprocessor.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#include <unordered_map>
16
21{
22public:
24
26 void setMfr(const FaceInfo * fi, Real mfr, bool includes_area = true);
27
28protected:
29 virtual Real computeQpIntegral() override;
30 virtual Real computeIntegral() override;
31
32 std::unordered_map<const FaceInfo *, Real> _fi_to_mfr;
33};
This postprocessor computes the volumetric flow rate through a boundary.
virtual Real computeQpIntegral() override
std::unordered_map< const FaceInfo *, Real > _fi_to_mfr
virtual Real computeIntegral() override
static InputParameters validParams()
void setMfr(const FaceInfo *fi, Real mfr, bool includes_area=true)
const InputParameters & parameters() const