Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Redundancy in coil spline parametrization #73

Open
jbreslau opened this issue Jun 30, 2020 · 0 comments
Open

Redundancy in coil spline parametrization #73

jbreslau opened this issue Jun 30, 2020 · 0 comments
Assignees

Comments

@jbreslau
Copy link
Collaborator

The present implementation of coil splines in STELLOPT makes use of a a pair of arrays for each dimension, e.g. COIL_SPLINESX and COIL_SPLINEFX giving the values of the spline parameter s and the value of x(s) respectively for each knot. Neil has pointed out that it would make more sense to have a single s parameter for all dimensions, i.e. a single COIL_SPLINES array giving the s values, and then (x,y,z) triplets or (u,v) pairs giving the actual coordinates at each s value specified by the usual COIL_SPLINEFX, ...FY, ...FZ arrays.

If this makes sense to everyone, it could be achieved without sacrificing backward compatibility with the use of an EQUIVALENCE statement, effectively aliasing the new COIL_SPLINES array to the three previous ones.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants