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

How to have new classes which inherit or require interaction btwn optimizable params of multiple other classes #1282

Open
dpanici opened this issue Sep 30, 2024 · 0 comments
Labels
enhancement General label for enhancement. Please also tag with "Speed", "Interface", "Functionality", etc

Comments

@dpanici
Copy link
Collaborator

dpanici commented Sep 30, 2024

  • Planar curves where centers/normals are tangent or on a Surface
    • need Surface parameters to define the surface
    • plus, need to know how many coils to put on the surface, evenly spaced in theta/zeta, with some specified radius, with center/normal specified by the x/n_rho at those theta/zeta points on the surface
    • one option: a Coil wihich as an attribute for Surface
    • attribute for R_lmn, Z_lmn which just are alias for Surface.R_lmn and Z_lmn
    • compute fxn just takes in R_lmn Z_lmn and computes R,Z from there for centers and normals
    • optimizable param: theta and zeta which are each an array of len(num_coils_per_FP) and theta[i],zeta[i] is the angular location on the surface of the coil center/normal (which are calculated from surface).
  • New object (OptimizableWrapper) with attributes are curve and surface, DOFs are = [Rlmn, Zlmn, r_n] , but it knows that surface/curve are separate objects
    • look at OptimizableCollection to figure this out
@dpanici dpanici added the enhancement General label for enhancement. Please also tag with "Speed", "Interface", "Functionality", etc label Sep 30, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement General label for enhancement. Please also tag with "Speed", "Interface", "Functionality", etc
Projects
None yet
Development

No branches or pull requests

1 participant