VMEC 8.52
3D Equilibrium solver with nested flux surfaces.
|
Solves the radial force balance \(\mathbf{B} \cdot B_s = F_s\) for \(B_s\) in real space using collocation. More...
Go to the source code of this file.
Functions/Subroutines | |
subroutine | getbsubs (bsubsmn, frho, bsupu, bsupv, mmax, nmax, info) |
Solves the radial force balance \(\mathbf{B} \cdot B_s = F_s\) for \(B_s\) in real space using collocation. | |
Solves the radial force balance \(\mathbf{B} \cdot B_s = F_s\) for \(B_s\) in real space using collocation.
Definition in file getbsubs.f90.
subroutine getbsubs | ( | real(rprec), dimension(0:mmax, -nmax:nmax, 0:1), intent(out) | bsubsmn, |
real(rprec), dimension(nzeta, ntheta3), intent(in) | frho, | ||
real(rprec), dimension(nzeta, ntheta3), intent(in) | bsupu, | ||
real(rprec), dimension(nzeta, ntheta3), intent(in) | bsupv, | ||
integer, intent(in) | mmax, | ||
integer, intent(in) | nmax, | ||
integer, intent(out) | info ) |
Solves the radial force balance \(\mathbf{B} \cdot B_s = F_s\) for \(B_s\) in real space using collocation.
bsubsmn | Fourier coefficients of B_s |
frho | Fourier coefficients of radial Force component |
bsupu | contravariant component of magnetic field \(B^\theta\) |
bsupv | contravariant component of magnetic field \(B^\zeta\) |
mmax | maximum poloidal mode number |
nmax | maximum toroidal mode number |
info | error flag |
Definition at line 13 of file getbsubs.f90.
References vmec_persistent::cosmu, vmec_persistent::cosnv, vmec_input::lasym, vmec_input::nfp, vmec_dim::ntheta2, vmec_dim::ntheta3, vmec_input::nzeta, vmec_persistent::sinmu, vmec_persistent::sinnv, and solver().
Referenced by jxbforce().