https://mooseframework.inl.gov
MFEMVectorFESpace.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 "MFEMSimplifiedFESpace.h"
15 
17 {
18 public:
20 
22 
23  virtual bool isScalar() const override { return false; }
24 
25  virtual bool isVector() const override { return true; }
26 
27 protected:
29  virtual std::string getFECName() const override;
30 
33  virtual int getVDim() const override;
34 
35 private:
37  const std::string _fec_type;
38 
40  const int _range_dim;
41 };
42 
43 #endif
MFEMVectorFESpace(const InputParameters &parameters)
static InputParameters validParams()
const InputParameters & parameters() const
Get the parameters of the object.
Definition: MooseBase.h:131
virtual int getVDim() const override
Get the number of degrees of freedom per basis function needed in this finite element space...
The main MOOSE class responsible for handling user-defined parameters in almost every MOOSE system...
virtual std::string getFECName() const override
Get the name of the desired FECollection.
virtual bool isScalar() const override
const std::string _fec_type
Name of the family of finite element collections to use.
Class with common parameters for MFEMVectorFESpace and MFEMScalarFESpace.
virtual bool isVector() const override
const int _range_dim
The number of vector components in the reference space.