LCOV - code coverage report
Current view: top level - include/mfem/executioners - MFEMSteady.h (source / functions) Hit Total Coverage
Test: idaholab/moose framework: 909fe5 Lines: 1 1 100.0 %
Date: 2025-08-29 20:01:24 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 MOOSE_MFEM_ENABLED
      11             : 
      12             : #pragma once
      13             : #include "Executioner.h"
      14             : #include "ProblemOperatorInterface.h"
      15             : #include "MFEMProblemSolve.h"
      16             : #include "EquationSystemProblemOperator.h"
      17             : 
      18             : class MFEMSteady : public Executioner, public Moose::MFEM::ProblemOperatorInterface
      19             : {
      20             : public:
      21             :   static InputParameters validParams();
      22             : 
      23             :   explicit MFEMSteady(const InputParameters & params);
      24             : 
      25             :   virtual void init() override;
      26             :   virtual void execute() override;
      27             : 
      28             :   /// Check if last solve converged.
      29         205 :   virtual bool lastSolveConverged() const override { return _last_solve_converged; };
      30             : 
      31             : private:
      32             :   MFEMProblem & _mfem_problem;
      33             :   MFEMProblemData & _mfem_problem_data;
      34             :   MFEMProblemSolve _mfem_problem_solve;
      35             : 
      36             :   // Time variables used for consistency with MOOSE, needed for outputs.
      37             :   // Important for future synchronisation of solves in MultiApps
      38             :   Real _system_time;
      39             :   int & _time_step;
      40             :   Real & _time;
      41             : 
      42             :   /// Flag showing if the last solve converged
      43             :   bool _last_solve_converged;
      44             : };
      45             : 
      46             : #endif

Generated by: LCOV version 1.14