Closed TheBB closed 6 years ago
I just realized the date... this is what you get when living in a country where May 1 is not a public holiday.
Added function for getting faces, which is the major one for OpenFOAM output.
Okay, tests are in. This is ready for review.
To clarify: This adds global numbering of "cells" (defined as gaps in knot vectors, i.e. elements) and control points (what IFEM would call nodes). The face functionality assumes linear geometry, that is to say it equates control points with cell intersection points. I think that's enough for now.
@VikingScientist I have updated.
A short script to demonstrate:
(For extra fun, try reversing or swapping parametric directions on
v
orq
.)