https://mooseframework.inl.gov
MFEMVectorBoundaryFluxIntegralPostprocessor.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 #ifdef MOOSE_MFEM_ENABLED
11 
12 #pragma once
13 
14 #include "MFEMPostprocessor.h"
16 
23 {
24 public:
26 
28 
32  virtual void execute() override;
33 
37  virtual PostprocessorValue getValue() const override final;
38 
39 private:
40  mfem::real_t _integral;
41  mfem::ParGridFunction & _var;
42  mfem::Coefficient & _scalar_coef;
43  mfem::VectorGridFunctionCoefficient _var_coef;
44  mfem::RT_FECollection _rt_fec;
45  mfem::ParFiniteElementSpace _rt_vector_fespace;
46  mfem::ParGridFunction _rt_var;
47  mfem::ParLinearForm _boundary_integrator;
48 };
49 
50 #endif
const InputParameters & parameters() const
Get the parameters of the object.
Definition: MooseBase.h:131
The main MOOSE class responsible for handling user-defined parameters in almost every MOOSE system...
Postprocessor for MFEM results.
Real PostprocessorValue
various MOOSE typedefs
Definition: MooseTypes.h:230
virtual PostprocessorValue getValue() const override final
Return the last evaluated integral value.
Base class for construction of an object that is restricted to a subset of boundaries of the problem ...
Compute the integral of the flux of an MFEM vector variable across a boundary, scaled by an optional ...