splinepy.io.mfem.dof_mapping#

splinepy.io.mfem.dof_mapping(spline)[source]#

MFEM stores vertices in a special order. This function gives dof index mapping between splinepy and mfem

Parameters:

spline (Spline)

Returns:

  • to_mfem (list)

  • from_mfem (array)