LCOV - code coverage report
Current view: top level - src/mfem/solvers - MFEMNonlinearSolverBase.C (source / functions) Hit Total Coverage
Test: idaholab/moose framework: fa5e60 Lines: 12 13 92.3 %
Date: 2026-06-24 08:03:36 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             : #include "MFEMNonlinearSolverBase.h"
      13             : 
      14             : namespace Moose::MFEM
      15             : {
      16             : InputParameters
      17        4280 : NonlinearSolverBase::validParams()
      18             : {
      19        4280 :   InputParameters params = SolverBase::validParams();
      20        8560 :   params.addClassDescription("Base class for defining nonlinear MFEM solver strategies for Moose.");
      21        8560 :   params.set<bool>("use_initial_guess", /*quiet_mode=*/true) = true;
      22       17120 :   params.addParam<unsigned int>("max_its", 1, "Maximum nonlinear iterations.");
      23       17120 :   params.addParam<Real>("abs_tol", 1.0e-50, "Absolute nonlinear tolerance.");
      24       17120 :   params.addParam<Real>("rel_tol", 1.0e-8, "Relative nonlinear tolerance.");
      25       12840 :   params.addParam<unsigned int>("print_level", 1, "Solver verbosity.");
      26        4280 :   return params;
      27           0 : }
      28             : 
      29          42 : NonlinearSolverBase::NonlinearSolverBase(const InputParameters & parameters)
      30          42 :   : SolverBase(parameters)
      31             : {
      32          42 : }
      33             : } // namespace Moose::MFEM
      34             : 
      35             : #endif

Generated by: LCOV version 1.14