Dario Panici
Dario Panici
Add option to NOT "contract" the profile, as a fallback (or to always make a spline as a fallback if the profile is not a power series or spline) or...
Or just change to force grids to be the same toroidal angle, then look at things plane by plane and check distances like in the circular objective (find dist to...
Algorithm implementing the winding number approach to find if a point is inside a surface can use this to assign signs to the min distancesof each point on the plasma,...
#680 should resolve this maybe
#1023 will be useful for flux measurements through coil loops external to the plasma (to do $\Phi = \int \mathbf{A} \cdot d\mathbf{l}$ instead of a 2D integral of the magnetic...
just using from_values would do the same thing already now @dpanici add the code
Util function where you add theta(zeta) fxn so you don't have to do Grid
can't handle *symmetric* grids right?
Must also update objective units when this weighting is added
Easy for `target=0` case