- fespaceName of the base (coarsest-level) FESpace object.
C++ Type:MFEMFESpaceName
Controllable:No
Description:Name of the base (coarsest-level) FESpace object.
- refinementsOrdered sequence of refinements. Each entry is 'h' for uniform h-refinement or an integer string for p-refinement to that polynomial order (must be strictly increasing across p-entries).
C++ Type:std::vector<std::string>
Controllable:No
Description:Ordered sequence of refinements. Each entry is 'h' for uniform h-refinement or an integer string for p-refinement to that polynomial order (must be strictly increasing across p-entries).
MFEMFESpaceHierarchy
Overview
MFEMFESpaceHierarchy builds an mfem::ParFiniteElementSpaceHierarchy from a base MFEM finite element space. The hierarchy starts with the named coarsest FESpaces object and then applies the ordered refinements listed in "refinements".
Each refinement entry is either h, for one uniform h-refinement, or an integer polynomial order for p-refinement. P-refinement orders must increase relative to the current finest level.
The resulting hierarchy can be assigned to an MFEMVariable and used by MFEMGeometricMultigridSolver.
Example Input File Syntax
[Problem<<<{"href": "../../../syntax/Problem/index.html"}>>>]
type = MFEMProblem
[]
[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
[]
[]
[FESpaceHierarchies<<<{"href": "../../../syntax/FESpaceHierarchies/index.html"}>>>]
[h1_hierarchy]
type = MFEMFESpaceHierarchy<<<{"description": "Builds a mfem::ParFiniteElementSpaceHierarchy from a base FESpace by applying a sequence of h-refinements ('h') and/or p-refinements (integer order strings).", "href": "MFEMFESpaceHierarchy.html"}>>>
fespace<<<{"description": "Name of the base (coarsest-level) FESpace object."}>>> = H1FESpace
# One refinement entry adds the fine p=2 level, giving two total levels.
refinements<<<{"description": "Ordered sequence of refinements. Each entry is 'h' for uniform h-refinement or an integer string for p-refinement to that polynomial order (must be strictly increasing across p-entries)."}>>> = 2
[]
[](test/tests/mfem/solvers/pmg_diffusion.i)Input 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.