LCOV - code coverage report
Current view: top level - src/mfem/problem_operators - EquationSystemProblemOperator.C (source / functions) Hit Total Coverage
Test: idaholab/moose framework: #33416 (b10b36) with base 9fbd27 Lines: 14 14 100.0 %
Date: 2026-07-23 16:15:30 Functions: 3 3 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             : #include "EquationSystemProblemOperator.h"
      13             : 
      14             : namespace Moose::MFEM
      15             : {
      16             : void
      17        1212 : EquationSystemProblemOperator::SetGridFunctions()
      18             : {
      19        1212 :   _trial_var_names = GetEquationSystem()->GetTrialVarNames();
      20        1212 :   _test_var_names = GetEquationSystem()->GetTestVarNames();
      21        1212 :   ProblemOperator::SetGridFunctions();
      22        1212 : }
      23             : 
      24             : void
      25         847 : EquationSystemProblemOperator::Solve()
      26             : {
      27         847 :   FormEquationSystemOperator();
      28             : 
      29         845 :   auto * const es = GetEquationSystem();
      30         845 :   SolveWithOperator(*es, _true_rhs, _true_x);
      31             : 
      32         843 :   es->SetTrialVariablesFromTrueVectors(_true_x);
      33         843 : }
      34             : 
      35             : void
      36         889 : EquationSystemProblemOperator::FormEquationSystemOperator()
      37             : {
      38         889 :   GetEquationSystem()->FormSystem(_true_x, _true_rhs);
      39         887 : }
      40             : 
      41             : } // namespace Moose::MFEM
      42             : 
      43             : #endif

Generated by: LCOV version 1.14