Back to Finite Element (MFEM)
mfem.coefficients.VectorFunctionCoefficient.create
Creates a new vector function coefficient.
Syntax
mfem.coefficients.VectorFunctionCoefficient.create(fn, dim)
Description
Creates a new vector function coefficient.
Parameters
| Name | Description |
|---|---|
| fn | - Function that takes (x, y, z) and returns a vector |
| dim | - Output vector dimension |
Returns
Promise<VectorFunctionCoefficient>