LCOV - code coverage report
Current view: top level - include/mfem/fespaces - MFEMVectorFESpace.h (source / functions) Hit Total Coverage
Test: idaholab/moose framework: #32971 (54bef8) with base c6cf66 Lines: 2 2 100.0 %
Date: 2026-05-29 20:35:17 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             : #pragma once
      13             : 
      14             : #include "MFEMSimplifiedFESpace.h"
      15             : 
      16             : class MFEMVectorFESpace : public MFEMSimplifiedFESpace
      17             : {
      18             : public:
      19             :   static InputParameters validParams();
      20             : 
      21             :   MFEMVectorFESpace(const InputParameters & parameters);
      22             : 
      23        1373 :   virtual bool isScalar() const override { return false; }
      24             : 
      25         100 :   virtual bool isVector() const override { return true; }
      26             : 
      27             : protected:
      28             :   /// Get the name of the desired FECollection.
      29             :   virtual std::string getFECName() const override;
      30             : 
      31             :   /// Get the number of degrees of freedom per basis function needed
      32             :   /// in this finite element space.
      33             :   virtual int getVDim() const override;
      34             : 
      35             : private:
      36             :   /// Name of the family of finite element collections to use
      37             :   const std::string _fec_type;
      38             : 
      39             :   /// The number of vector components in the reference space.
      40             :   const int _range_dim;
      41             : };
      42             : 
      43             : #endif

Generated by: LCOV version 1.14