https://mooseframework.inl.gov
Loading...
Searching...
No Matches
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 MOOSE_MFEM_ENABLED
11
12#pragma once
13
14#include "MFEMFESpace.h"
15
21{
22public:
24
26
27 virtual bool isScalar() const override;
28
29 virtual bool isVector() const override;
30
31protected:
33 virtual std::string getFECName() const override;
34
37 virtual int getVDim() const override;
38
39private:
41 const std::string _fec_name;
42
44 const int _vdim;
45};
46
47#endif
The main MOOSE class responsible for handling user-defined parameters in almost every MOOSE system.
Constructs and stores an mfem::ParFiniteElementSpace object.
Definition MFEMFESpace.h:21
Constructs and stores an mfem::ParFiniteElementSpace object.
virtual bool isScalar() const override
static InputParameters validParams()
virtual std::string getFECName() const override
Get the name of the desired FECollection.
const std::string _fec_name
The name of the finite element collection.
const int _vdim
The number of degrees of freedom per basis function.
virtual int getVDim() const override
Get the number of degrees of freedom per basis function needed in this finite element space.
virtual bool isVector() const override
const InputParameters & parameters() const
Get the parameters of the object.
Definition MooseBase.h:131