Back to Finite Element (MFEM)
mfem.coefficients.VectorConstantCoefficient.create
Creates a new constant vector coefficient with the specified values.
Syntax
mfem.coefficients.VectorConstantCoefficient.create(values)
Description
Creates a new constant vector coefficient with the specified values.
Parameters
| Name | Description |
|---|---|
| values | - Array of constant values for each component |
Returns
Promise<VectorConstantCoefficient>