@@ -53,10 +53,11 @@ def load(
5353 boundary is loaded and the DESC Equilibrium R,Z are constrained to
5454 match the given VMEC boundary.
5555
56- NOTE: This is only a fit, so the DESC Equilibrium returned is not
57- expected to be in force balance. It is recommended to solve the
58- Equilibrium once loaded before using the Equilibrium for any
59- analysis.
56+ NOTE: This is only a fit of the VMEC R, Z and lambda, so the DESC
57+ Equilibrium returned is not expected to be in force balance. It is
58+ recommended to solve the Equilibrium once loaded before using the
59+ Equilibrium for any analysis or computing any derived quantities in
60+ DESC (e.g. anything that is not just R, Z or lambda).
6061
6162 Parameters
6263 ----------
@@ -734,7 +735,7 @@ def save( # noqa: C901
734735 jcuru [0 ] = 0
735736
736737 jcurv = file .createVariable ("jcurv" , np .float64 , ("radius" ,))
737- jcuru .long_name = "flux surface average of sqrt(g)*J^zeta, on full mesh"
738+ jcurv .long_name = "flux surface average of sqrt(g)*J^zeta, on full mesh"
738739 jcurv .units = "A/m^3"
739740 jcurv [:] = surface_averages (
740741 grid_full ,
@@ -1331,7 +1332,7 @@ def fullfit(x):
13311332 # TODO (#1379): evaluate current at rho=0 nodes instead of extrapolation
13321333 if not eq .sym :
13331334 currvmns [:, :] = - s
1334- currumns [0 , :] = - (
1335+ currvmns [0 , :] = - (
13351336 s [1 , :] - (s [2 , :] - s [1 , :]) / (s_full [2 ] - s_full [1 ]) * s_full [1 ]
13361337 )
13371338 timer .stop ("J^zeta*sqrt(g)" )
0 commit comments