Back to Finite Element (MFEM)
mfem.fespace.getDofMap
Gets the DOF indices for a specific element.
Syntax
mfem.fespace.getDofMap(fespace, elemIndex)
Description
Gets the DOF indices for a specific element. Returns the global DOF indices associated with the specified element. This is useful for assembling local element contributions into global matrices and vectors.
Parameters
| Name | Description |
|---|---|
| fespace | - The finite element space |
| elemIndex | - The element index (0-based) |
Returns
Int32Array