Back to Finite Element (MFEM)
mfem.coefficients.sum
Create a sum of two coefficients.
Syntax
mfem.coefficients.sum(c1, c2, alpha?, beta?)
Description
Create a sum of two coefficients.
Parameters
| Name | Description |
|---|---|
| c1 | - First coefficient |
| c2 | - Second coefficient |
| alpha(optional) | - Scale factor for c1 (default 1.0) |
| beta(optional) | - Scale factor for c2 (default 1.0) |
Returns
Promise<SumCoefficient>