Back to Finite Element (MFEM)
mfem.coefficients.restricted
Create a restricted coefficient from a base coefficient.
Syntax
mfem.coefficients.restricted(baseCoeff, attributes)
Description
Create a restricted coefficient from a base coefficient.
Parameters
| Name | Description |
|---|---|
| baseCoeff | - The base coefficient to restrict |
| attributes | - Array of mesh attributes where the coefficient is active (1-based) |
Returns
Promise<RestrictedCoefficient>