DESC icon indicating copy to clipboard operation
DESC copied to clipboard

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

Open dpanici opened this issue 4 months ago • 0 comments

  • 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 avatar Sep 30 '24 19:09 dpanici