Line data Source code
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 "MFEMDataCollection.h" 14 : 15 : /** 16 : * Class for output information saved in MFEM ParaViewDataCollections 17 : */ 18 : class MFEMParaViewDataCollection : public MFEMDataCollection 19 : { 20 : public: 21 : static InputParameters validParams(); 22 : 23 : MFEMParaViewDataCollection(const InputParameters & parameters); 24 : 25 428 : virtual mfem::DataCollection & getDataCollection() override { return _pv_dc; } 26 : 27 : protected: 28 : mfem::ParaViewDataCollection _pv_dc; 29 : const bool _high_order_output; 30 : const unsigned int _refinements; 31 : const mfem::VTKFormat _vtk_format; 32 : }; 33 : 34 : #endif