LCOV - code coverage report
Current view: top level - src/mfem/fespaces - MFEMSimplifiedFESpace.C (source / functions) Hit Total Coverage
Test: idaholab/moose framework: #32971 (54bef8) with base c6cf66 Lines: 11 12 91.7 %
Date: 2026-05-29 20:35:17 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 "MFEMSimplifiedFESpace.h"
      13             : #include "MFEMProblem.h"
      14             : #include "AddVariableAction.h"
      15             : 
      16             : InputParameters
      17        9226 : MFEMSimplifiedFESpace::validParams()
      18             : {
      19        9226 :   InputParameters params = MFEMFESpace::validParams();
      20       18452 :   params.addClassDescription("Base class for the simplified interfaces to build MFEM finite "
      21             :                              "element spaces. It provides the common parameters.");
      22       18452 :   params.addParam<MooseEnum>("fec_order",
      23       18452 :                              AddVariableAction::getNonlinearVariableOrders(),
      24             :                              "Order of the FE shape function to use.");
      25        9226 :   return params;
      26           0 : }
      27             : 
      28        2515 : MFEMSimplifiedFESpace::MFEMSimplifiedFESpace(const InputParameters & parameters)
      29        2515 :   : MFEMFESpace(parameters), _fec_order(parameters.get<MooseEnum>("fec_order"))
      30             : {
      31        2515 : }
      32             : 
      33             : int
      34        2709 : MFEMSimplifiedFESpace::getProblemDim() const
      35             : {
      36        2709 :   return _pmesh.Dimension();
      37             : }
      38             : 
      39             : #endif

Generated by: LCOV version 1.14