MFEMScalarFESpace

Overview

This is a convenience class for building finite element spaces to represent scalar variables. The family of shape functions is selected from the fec_type parameter, and the order is controlled using the fec_order parameter.

If you need a finite element space that can't be constructed using the options available in this class, you can use MFEMGenericFESpace instead.

Example Input File Syntax

[FESpaces<<<{"href": "../../../syntax/FESpaces/index.html"}>>>]
  [H1FESpace]
    type = MFEMScalarFESpace<<<{"description": "Convenience class to construct scalar finite element spaces.", "href": "MFEMScalarFESpace.html"}>>>
    fec_type<<<{"description": "Specifies the family of FE shape functions."}>>> = H1
    fec_order<<<{"description": "Order of the FE shape function to use."}>>> = FIRST
  []
[]

[Variables<<<{"href": "../../../syntax/Variables/index.html"}>>>]
  [temperature]
    type = MFEMVariable<<<{"description": "Class for adding MFEM variables to the problem (`mfem::ParGridFunction`s).", "href": "../variables/MFEMVariable.html"}>>>
    fespace<<<{"description": "The finite element space this variable is defined on."}>>> = H1FESpace
  []
[]
(test/tests/mfem/kernels/heattransfer.i)

Input Parameters

  • basisGaussLobattoSpecifies the basis used for scalar elements. H1 spaces require a closed basis (GaussLobatto Positive ClosedUniform Serendipity ClosedGL)

    Default:GaussLobatto

    C++ Type:MooseEnum

    Options:GaussLegendre, GaussLobatto, Positive, OpenUniform, ClosedUniform, OpenHalfUniform, Serendipity, ClosedGL, IntegratedGLL

    Controllable:No

    Description:Specifies the basis used for scalar elements. H1 spaces require a closed basis (GaussLobatto Positive ClosedUniform Serendipity ClosedGL)

  • fec_orderFIRSTOrder of the FE shape function to use.

    Default:FIRST

    C++ Type:MooseEnum

    Options:CONSTANT, FIRST, SECOND, THIRD, FOURTH, FIFTH, SIXTH, SEVENTH, EIGHTH, NINTH, TENTH, ELEVENTH, TWELFTH, THIRTEENTH, FOURTEENTH, FIFTEENTH, SIXTEENTH, SEVENTEENTH, EIGHTTEENTH, NINETEENTH, TWENTIETH, TWENTYFIRST, TWENTYSECOND, TWENTYTHIRD, TWENTYFOURTH, TWENTYFIFTH, TWENTYSIXTH, TWENTYSEVENTH, TWENTYEIGHTH, TWENTYNINTH, THIRTIETH, THIRTYFIRST, THIRTYSECOND, THIRTYTHIRD, THIRTYFOURTH, THIRTYFIFTH, THIRTYSIXTH, THIRTYSEVENTH, THIRTYEIGHTH, THIRTYNINTH, FORTIETH, FORTYFIRST, FORTYSECOND, FORTYTHIRD

    Controllable:No

    Description:Order of the FE shape function to use.

  • fec_typeH1Specifies the family of FE shape functions.

    Default:H1

    C++ Type:MooseEnum

    Options:H1, L2, L2Int

    Controllable:No

    Description:Specifies the family of FE shape functions.

  • orderingVDIMOrdering style to use for vector DoFs.

    Default:VDIM

    C++ Type:MooseEnum

    Options:NODES, VDIM

    Controllable:No

    Description:Ordering style to use for vector DoFs.

  • submeshSubmesh to define the FESpace on. Leave blank to use base mesh.

    C++ Type:std::string

    Controllable:No

    Description:Submesh to define the FESpace on. Leave blank to use base mesh.

  • vdim1The number of degrees of freedom per basis function.

    Default:1

    C++ Type:int

    Controllable:No

    Description:The number of degrees of freedom per basis function.

Optional Parameters

  • control_tagsAdds user-defined labels for accessing object parameters via control logic.

    C++ Type:std::vector<std::string>

    Controllable:No

    Description:Adds user-defined labels for accessing object parameters via control logic.

  • enableTrueSet the enabled status of the MooseObject.

    Default:True

    C++ Type:bool

    Controllable:No

    Description:Set the enabled status of the MooseObject.

Advanced Parameters

Input Files