https://mooseframework.inl.gov
MFEMGenericFESpace.h
Go to the documentation of this file.
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 MFEM_ENABLED
11 
12 #pragma once
13 #include "MFEMFESpace.h"
14 
20 {
21 public:
23 
25 
26  virtual bool isScalar() const override;
27 
28  virtual bool isVector() const override;
29 
30 protected:
32  virtual std::string getFECName() const override;
33 
36  virtual int getVDim() const override;
37 
38 private:
40  const std::string _fec_name;
41 
43  const int _vdim;
44 };
45 
46 #endif
virtual bool isVector() const override
The main MOOSE class responsible for handling user-defined parameters in almost every MOOSE system...
const std::string _fec_name
The name of the finite element collection.
Constructs and stores an mfem::ParFiniteElementSpace object.
const int _vdim
The number of degrees of freedom per basis function.
MFEMGenericFESpace(const InputParameters &parameters)
Constructs and stores an mfem::ParFiniteElementSpace object.
Definition: MFEMFESpace.h:22
virtual std::string getFECName() const override
Get the name of the desired FECollection.
static InputParameters validParams()
virtual bool isScalar() const override
const InputParameters & parameters() const
Get the parameters of the object.
virtual int getVDim() const override
Get the number of degrees of freedom per basis function needed in this finite element space...