https://mooseframework.inl.gov
MFEMPostprocessor.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 MFEM_ENABLED
11 
12 #pragma once
13 #include "Postprocessor.h"
14 #include "MFEMGeneralUserObject.h"
15 #include "libmesh/ignore_warnings.h"
16 #include "mfem.hpp"
17 #include "libmesh/restore_warnings.h"
18 
19 /*
20  * Postprocessor for MFEM results. Must inherit from Postprocessor in
21  * order for MOOSE to call it.
22  */
24 {
25 public:
27 
29 
36  virtual void finalize() override {}
37 };
38 
39 #endif
The main MOOSE class responsible for handling user-defined parameters in almost every MOOSE system...
Base class for all Postprocessors.
Definition: Postprocessor.h:23
static InputParameters validParams()
const InputParameters & parameters() const
Get the parameters of the object.
virtual void finalize() override
This is called after execute() and after threadJoin()! This is probably where you want to do MPI comm...
MFEMPostprocessor(const InputParameters &parameters)