desc.objectives.ToroidalCurrent.compute
- ToroidalCurrent.compute(*args, **kwargs)[source]
Compute toroidal current.
- Parameters:
R_lmn (ndarray) – Spectral coefficients of R(rho,theta,zeta) – flux surface R coordinate (m).
Z_lmn (ndarray) – Spectral coefficients of Z(rho,theta,zeta) – flux surface Z coordinate (m).
L_lmn (ndarray) – Spectral coefficients of lambda(rho,theta,zeta) – poloidal stream function.
i_l (ndarray) – Spectral coefficients of iota(rho) – rotational transform profile.
c_l (ndarray) – Spectral coefficients of I(rho) – toroidal current profile.
Psi (float) – Total toroidal magnetic flux within the last closed flux surface (Wb).
- Returns:
current (ndarray) – Toroidal current (A) through specified surfaces.