-
Notifications
You must be signed in to change notification settings - Fork 26
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
ko/test coils #1025
ko/test coils #1025
Conversation
- also added to compute function for each interval - didn't add for all compute functions yet
- added equal signs to ranges - used jnp.where instead of directly slicing
… into ko/discon_curve
- now works for batch arrays - interpolate over whole array
… into ko/discon_curve
- use ifor_loop - delete double stack - use jnp.where for istop
- add is_discontinuous - use [[]] as default indices
- still have to do it for the others
… into ko/discon_curve
… into ko/discon_curve
I guess I didn't try if it worked without loading but it does
So should I have one of the dummy coil sets to load/save and then the other would just return the coil set? Or should both |
the arrays are NaN for linear interpolation I guess
Close this probably and open a new PR (and one for method fix PR) |
Also, try to test |
PR #1099 replaced this one |
Test every coil type. Resolves #1021 Also contains bug fixes: - fixes bug when computing magnetic field with `FourierRZcoil` that has `NFP>1`, previously the grid used had the same `NFP` but that meant that only part of the coil was being included in the biot savart integral. Now grids for magnetic field computation from `FourierRZCoil` have `NFP=1` and have `NFP` multiplying the usual default grid resolution to avoid this issue Replaces PR #1025
resolves #1021