https://mooseframework.inl.gov
Loading...
Searching...
No Matches
MFEMParaViewDataCollection.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 "MFEMDataCollection.h"
15
20{
21public:
23
25
26 virtual mfem::DataCollection & getDataCollection() override { return _pv_dc; }
27
29 void
30 registerScalarCoefficients(std::vector<MFEMScalarCoefficientName> & scalar_coefficient_names);
32 void
33 registerVectorCoefficients(std::vector<MFEMVectorCoefficientName> & vector_coefficient_names);
34
35protected:
36 mfem::ParaViewDataCollection _pv_dc;
37 std::vector<MFEMScalarCoefficientName> _scalar_coefficient_names;
38 std::vector<MFEMVectorCoefficientName> _vector_coefficient_names;
40 const unsigned int _refinements;
41 const mfem::VTKFormat _vtk_format;
42};
43
44#endif
The main MOOSE class responsible for handling user-defined parameters in almost every MOOSE system.
Class for output information saved in MFEM DataCollections.
Class for output information saved in MFEM ParaViewDataCollections.
virtual mfem::DataCollection & getDataCollection() override
void registerVectorCoefficients(std::vector< MFEMVectorCoefficientName > &vector_coefficient_names)
Register user-specified vector coefficients to the DataCollection.
static InputParameters validParams()
std::vector< MFEMScalarCoefficientName > _scalar_coefficient_names
void registerScalarCoefficients(std::vector< MFEMScalarCoefficientName > &scalar_coefficient_names)
Register user-specified scalar coefficients to the DataCollection.
std::vector< MFEMVectorCoefficientName > _vector_coefficient_names
mfem::ParaViewDataCollection _pv_dc
const InputParameters & parameters() const
Get the parameters of the object.
Definition MooseBase.h:131