MFEMDataCollection

Summary

Base class for MFEM DataCollection outputs.

Overview

Virtual base class for classes that write out to mfem::DataCollection objects using MOOSE's Output system. Output interval and triggers for writing to file can be controlled with the execute_on and interval parameters, consistent with other MOOSE Outputs [as seen here.](syntax/Outputs/index.md)

Child classes should override the getDataCollection() method to return a reference to the mfem::DataCollection being written to at each output step.

Example Input File Syntax

[Outputs<<<{"href": "../../../syntax/Outputs/index.html"}>>>]
  active<<<{"description": "If specified only the blocks named will be visited and made active"}>>> = ParaViewDataCollection
  [ParaViewDataCollection]
    type = MFEMParaViewDataCollection<<<{"description": "Output for controlling export to an mfem::ParaViewDataCollection.", "href": "MFEMParaViewDataCollection.html"}>>>
    file_base<<<{"description": "The desired solution output name without an extension. If not provided, MOOSE sets it with Outputs/file_base when available. Otherwise, MOOSE uses input file name and this object name for a master input or uses master file_base, the subapp name and this object name for a subapp input to set it."}>>> = OutputData/Diffusion
    vtk_format<<<{"description": "Select VTK data format to use, choosing between BINARY, BINARY32, and ASCII."}>>> = ASCII
  []
  [VisItDataCollection]
    type = MFEMVisItDataCollection<<<{"description": "Output for controlling export to an mfem::VisItDataCollection.", "href": "MFEMVisItDataCollection.html"}>>>
    file_base<<<{"description": "The desired solution output name without an extension. If not provided, MOOSE sets it with Outputs/file_base when available. Otherwise, MOOSE uses input file name and this object name for a master input or uses master file_base, the subapp name and this object name for a subapp input to set it."}>>> = OutputData/VisItDataCollection
  []
  [ConduitDataCollection]
    type = MFEMConduitDataCollection<<<{"description": "Output for controlling MFEMConduitDataCollection inherited data.", "href": "MFEMConduitDataCollection.html"}>>>
    file_base<<<{"description": "The desired solution output name without an extension. If not provided, MOOSE sets it with Outputs/file_base when available. Otherwise, MOOSE uses input file name and this object name for a master input or uses master file_base, the subapp name and this object name for a subapp input to set it."}>>> = OutputData/ConduitDataCollection/Run
    protocol<<<{"description": "Conduit relay I/O protocol to use. Options: hdf5 (default), json, conduit_json, conduit_bin."}>>> = conduit_bin
  []
[]
(test/tests/mfem/kernels/diffusion.i)