- prop_namesThe names of the properties this material will have
C++ Type:std::vector<std::string>
Controllable:No
Description:The names of the properties this material will have
- prop_valuesThe corresponding names of coefficients associated with the named properties
C++ Type:std::vector<MFEMMatrixCoefficientName>
Controllable:No
Description:The corresponding names of coefficients associated with the named properties
MFEMGenericFunctorMatrixMaterial
Overview
MFEMGenericFunctorMatrixMaterial defines one or more matrix material properties with values obtained from coefficients on one or more subdomains or boundaries of the mesh, given by the "block" or "boundary" parameters, if provided, or applied to the entire mesh if missing. The matrix material properties are named according to members in the "prop_names" parameter, with respective coefficients used to get property values given by the members of "prop_values". The coefficients in "prop_values" must be matrix-valued. Numeric constant matrix values can also be specified, but must be enclosed in curly braces to mark the start and end of the matrix, with entries given row by row and rows separated by semicolons, e.g. {1. 2.; 3. 4.}.
Example Input File Syntax
[FunctorMaterials<<<{"href": "../../../syntax/FunctorMaterials/index.html"}>>>]
[epsilon]
type = MFEMGenericFunctorMatrixMaterial<<<{"description": "Declares material matrix properties based on names and coefficients prescribed by input parameters.", "href": "MFEMGenericFunctorMatrixMaterial.html"}>>>
prop_names<<<{"description": "The names of the properties this material will have"}>>> = epsilon
prop_values<<<{"description": "The corresponding names of coefficients associated with the named properties"}>>> = '{2 ${fparse 1/sqrt(2)} 0; ${fparse 1/sqrt(2)} 2 ${fparse 1/sqrt(2)}; 0 ${fparse 1/sqrt(2)} 2}'
[]
[](test/tests/mfem/kernels/maxwell_anisotropic_eigenproblem.i)Input Parameters
- 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.
- boundary-1 The list of boundaries (ids or names) from the mesh where this object applies. Defaults to all boundaries.
Default:-1
C++ Type:std::vector<BoundaryName>
Controllable:No
Description:The list of boundaries (ids or names) from the mesh where this object applies. Defaults to all boundaries.
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.
- enableTrueSet the enabled status of the MooseObject.
Default:True
C++ Type:bool
Controllable:No
Description:Set the enabled status of the MooseObject.