LCOV - code coverage report
Current view: top level - include/mfem/postprocessors - MFEMPostprocessor.h (source / functions) Hit Total Coverage
Test: idaholab/moose framework: 2bf808 Lines: 1 1 100.0 %
Date: 2025-07-17 01:28:37 Functions: 1 1 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 MFEM_ENABLED
      11             : 
      12             : #pragma once
      13             : #include "Postprocessor.h"
      14             : #include "MFEMGeneralUserObject.h"
      15             : #include "libmesh/ignore_warnings.h"
      16             : #include "mfem.hpp"
      17             : #include "libmesh/restore_warnings.h"
      18             : 
      19             : /*
      20             :  * Postprocessor for MFEM results. Must inherit from Postprocessor in
      21             :  * order for MOOSE to call it.
      22             :  */
      23             : class MFEMPostprocessor : public MFEMGeneralUserObject, public Postprocessor
      24             : {
      25             : public:
      26             :   static InputParameters validParams();
      27             : 
      28             :   MFEMPostprocessor(const InputParameters & parameters);
      29             : 
      30             :   /**
      31             :    * This is called _after_ execute() and _after_ threadJoin()!  This is probably where you want to
      32             :    * do MPI communication!
      33             :    * Finalize is not required for Postprocessor implementations since work may be done in
      34             :    * getValue().
      35             :    */
      36          12 :   virtual void finalize() override {}
      37             : };
      38             : 
      39             : #endif

Generated by: LCOV version 1.14