https://mooseframework.inl.gov
MFEMDataCollection.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 "FileOutput.h"
14 #include "MFEMProblem.h"
15 
20 {
21 public:
24  virtual mfem::DataCollection & getDataCollection() = 0;
25 
26 protected:
27  void registerFields();
28  void output() override;
29 
34  mfem::ParMesh & _pmesh;
35 };
36 
37 #endif
Base problem data struct.
MFEMProblemData & _problem_data
Reference to the MFEMProblemData struct storing the output variables.
Class for output information saved in MFEM DataCollections.
The main MOOSE class responsible for handling user-defined parameters in almost every MOOSE system...
mfem::ParMesh & _pmesh
Mesh set of output variables are defined on.
MFEMDataCollection(const InputParameters &parameters)
static InputParameters validParams()
void output() override
Overload this function with the desired output activities.
const InputParameters & parameters() const
Get the parameters of the object.
An outputter with filename support.
Definition: FileOutput.h:20
virtual mfem::DataCollection & getDataCollection()=0