splinepy.io.mfem.export#
- splinepy.io.mfem.export(fname, nurbs, precision=10)[source]#
Exports current nurbs in mfem format.
IDs of MFEM Geometry types are:
Segment = 1
Square = 3
CUBS = 5
Sections required are:
dimension (space dim)
elements
boundary
edges
vertices
knotvectors
weights
FiniteElementSpace
FiniteElementCollection: <name>
VDim
Ordering (1?)
- Parameters:
nurbs (NURBS)
fname (str)
- Return type:
None