LCOV - code coverage report
Current view: top level - include/mfem/outputs - MFEMConduitDataCollection.h (source / functions) Hit Total Coverage
Test: idaholab/moose framework: 419b9d Lines: 2 2 100.0 %
Date: 2025-08-08 20:01:16 Functions: 2 2 100.0 %
Legend: Lines: hit not hit

          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 MOOSE_MFEM_ENABLED
      11             : 
      12             : #pragma once
      13             : #include "MFEMDataCollection.h"
      14             : 
      15             : /**
      16             :  * Class for output information saved in MFEM ConduitDataCollections
      17             :  */
      18             : class MFEMConduitDataCollection : public MFEMDataCollection
      19             : {
      20             : public:
      21             :   static InputParameters validParams();
      22             : 
      23             :   MFEMConduitDataCollection(const InputParameters & parameters);
      24             : 
      25          24 :   virtual mfem::DataCollection & getDataCollection() override { return _conduit_dc; }
      26             : 
      27             : protected:
      28          16 :   bool gridFunctionsNeedHostRead() const override { return true; }
      29             : 
      30             :   mfem::ConduitDataCollection _conduit_dc;
      31             :   const MooseEnum _protocol;
      32             : };
      33             : 
      34             : #endif

Generated by: LCOV version 1.14