- blockThe list of subdomains (names or ids) that this object will be restricted to. Leave empty to apply to all subdomains.
C++ Type:std::vector<SubdomainName>
Controllable:No
Description:The list of subdomains (names or ids) that this object will be restricted to. Leave empty to apply to all subdomains.
- coefficient_imag0.The coefficient setting the imaginary part of the constrained values. A functor is any of the following: a variable, an MFEM material property, a function, a postprocessor or a number.
Default:0.
C++ Type:MFEMScalarCoefficientName
Controllable:No
Description:The coefficient setting the imaginary part of the constrained values. A functor is any of the following: a variable, an MFEM material property, a function, a postprocessor or a number.
- coefficient_real0.The coefficient setting the real part of the constrained values. A functor is any of the following: a variable, an MFEM material property, a function, a postprocessor or a number.
Default:0.
C++ Type:MFEMScalarCoefficientName
Controllable:No
Description:The coefficient setting the real part of the constrained values. A functor is any of the following: a variable, an MFEM material property, a function, a postprocessor or a number.
- constrain_subdomain_boundaryTrueWhether to constrain the degrees of freedom on the boundary of the subdomains given by 'block', both on interfaces with other subdomains and on the exterior boundary of the mesh. If false, only the degrees of freedom interior to the subdomains are constrained.
Default:True
C++ Type:bool
Controllable:No
Description:Whether to constrain the degrees of freedom on the boundary of the subdomains given by 'block', both on interfaces with other subdomains and on the exterior boundary of the mesh. If false, only the degrees of freedom interior to the subdomains are constrained.
- variableVariable on which to apply the constraint
C++ Type:VariableName
Unit:(no unit assumed)
Controllable:No
Description:Variable on which to apply the constraint
MFEMComplexScalarEssentialConstraint
Overview
Complex counterpart of MFEMScalarEssentialConstraint. It strongly constrains the real and imaginary parts of a complex scalar variable within the subdomain(s) given by block to the projections of the coefficient_real and coefficient_imag coefficients, respectively, onto the variable's finite element space. The true degrees of freedom in the constrained subdomain are added to the essential-DOF list, so both components of the discrete system row are eliminated in favor of the projected values.
Example Input File Syntax
[Constraints<<<{"href": "../../../syntax/Constraints/index.html"}>>>]
[circle_interior]
type = MFEMComplexScalarEssentialConstraint<<<{"description": "Strongly constrains the real and imaginary parts of a complex scalar variable in the specified subdomain(s).", "href": "MFEMComplexScalarEssentialConstraint.html"}>>>
variable<<<{"description": "Variable on which to apply the constraint"}>>> = temperature
block<<<{"description": "The list of subdomains (names or ids) that this object will be restricted to. Leave empty to apply to all subdomains."}>>> = wire
coefficient_real<<<{"description": "The coefficient setting the real part of the constrained values. A functor is any of the following: a variable, an MFEM material property, a function, a postprocessor or a number."}>>> = 2.0
coefficient_imag<<<{"description": "The coefficient setting the imaginary part of the constrained values. A functor is any of the following: a variable, an MFEM material property, a function, a postprocessor or a number."}>>> = 3.0
[]
[](test/tests/mfem/constraints/complex_subdomain_constraint_source.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.