MFEMWeakFormProblemComposerBase

Overview

MFEMWeakFormProblemComposerBase is the base class of those MFEMProblemComposer classes whose ProblemOperator solves an EquationSystem built by an object in the WeakForms block. It adds the weak_form parameter naming that object, and is the parent of MFEMWeakFormProblemComposer, MFEMComplexWeakFormProblemComposer, MFEMTimeDependentWeakFormProblemComposer and MFEMEigenWeakFormProblemComposer.

The weak_form parameter may be omitted only when the problem has a single weak form, whose equation system is then used; if several are present and no name is given, the operator cannot infer which system was intended and an error is raised.

Composers that build a problem operator with no associated weak form - such as a user-defined custom operator - should derive from MFEMProblemComposer directly, and do not gain the weak_form parameter.