Closed felipegonzalezco closed 2 months ago
@felipegonzalezco Would it be possible to quickly post a minimal example of the current state and how it should be fixed, to better understand what is the issue, please? That would be very helpful.
Sure. As examples, here are screenshots of each case.
First, the keyword closed
expects splDim
entries. Currently, splinepy
is writing only one value.
Second, kntVec
is used for individual knot vectors. It's kinda consistent with kntVecs
which is the vector of knot vectors.
And third, I get an error if weights
are not defined:
I hope it is more clear now.
Just to make sure, for the second we need to rename knotVec
to kntVec
?
For the third, are weights only exported for rational splines or do they need to be exported for non-rational splines as well.
I updated the code to deal with the first two issues, please check out the branch bf-433
After looking through the sources of cats-splinelib, it seems that the static buffer - that fortran splinelib creates for xml.io - is too small to load a "long" line or expects less value per line. Not conclusive yet
@felipegonzalezco did you try it out?
fixed in #436 and #433. will be available in v0.1.1
Sorry for the late reply. I tried it out and it worked, so the issues are resolved. Thank you for fixing them.
I found the following problems when generating a spline for CATS SplineLib:
closed
expects at leastsplDim
entrieskntVec
instead ofknotVec
for each individual knot vectorweights
are not optional and must be present