AddMFEMWeakFormAction

Summary

Adds an MFEMWeakFormBase derived object to an MFEM problem for each block in the WeakForms syntax.

Overview

Action called to add an MFEMWeakFormBase derived object to an MFEM problem, parsing content inside a WeakForms syntax block in the user input. Only has an effect if the Problem type is set to MFEMProblem.

MFEMWeakFormBase derived objects are used to create MFEM EquationSystem objects from kernels and boundary conditions that can be used as operators for downstream solvers and preconditioners. The equation systems themselves are built later, during the set_mfem_equation_systems task, by SetMFEMEquationSystemsAction.

Example Input File Syntax

[WeakForms<<<{"href": "../../../syntax/WeakForms/index.html"}>>>]
  [Darcy]
    type = MFEMWeakForm<<<{"description": "Builds a real-valued MFEM EquationSystem from the kernels and boundary conditions named by this weak form.", "href": "../weakforms/MFEMWeakForm.html"}>>>
    kernels<<<{"description": "List of kernels to add to the weak form"}>>> = 'VelocityMass PressureGrad VelocityDiv'
    bcs<<<{"description": "List of boundary conditions to add to the weak form"}>>> = 'flux_boundaries'
  []
[]
(test/tests/mfem/weakforms/steady_weakform.i)