desc.objectives.ForceBalanceAnisotropic.compute
- ForceBalanceAnisotropic.compute(*args, **kwargs)Source
Compute MHD force balance errors.
- 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.
p_l (ndarray) – Spectral coefficients of p(rho) – pressure profile.
a_lmn (ndarray) – Spectral coefficients of anisotropy term: beta_a = mu0 (p_{||} - p_{perp})/B^2
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:
f (ndarray) – MHD force balance error at each node (N).