AddMFEMQuadratureFunctionAction

Overview

Action called to add an MFEM quadrature function coefficient to the problem, parsing content inside a QuadratureFunctions block in the user input. Only has an effect if the Problem type is set to MFEMProblem.

Example Input File Syntax

[Problem<<<{"href": "../../../syntax/Problem/index.html"}>>>]
  type = MFEMProblem
[]

[QuadratureFunctions<<<{"href": "../../../syntax/QuadratureFunctions/index.html"}>>>]
  [qf_source]
    type = MFEMScalarQuadratureFunction<<<{"description": "Declares a scalar MFEM coefficient holding precomputed values of a source coefficient at quadrature points. Values are (re)projected lazily when the coefficient is used.", "href": "../functions/MFEMScalarQuadratureFunction.html"}>>>
    coefficient<<<{"description": "Scalar coefficient to project onto the quadrature points. A functor is any of the following: a variable, an MFEM material property, a function, a postprocessor or a number."}>>> = source
    # match the default integration rule order used by DomainLFIntegrator
    # for first-order elements (oa * fe_order + ob = 2 * 1 + 0)
    order<<<{"description": "Order of the quadrature rule the projected values are stored on. This must match the integration rule used by the objects consuming this coefficient."}>>> = 2
  []
[]
(test/tests/mfem/functions/quadrature_function_source.i)

Input Parameters

  • active__all__ If specified only the blocks named will be visited and made active

    Default:__all__

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

    Controllable:No

    Description:If specified only the blocks named will be visited and made active

  • inactiveIf specified blocks matching these identifiers will be skipped.

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

    Controllable:No

    Description:If specified blocks matching these identifiers will be skipped.

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.

Advanced Parameters