Back to Finite Element (MFEM)
mfem.coefficients.RestrictedCoefficient.create
Creates a new restricted coefficient.
Syntax
mfem.coefficients.RestrictedCoefficient.create(baseCoeff, attributes)
Description
Creates a new restricted 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>