VMEC 8.52
3D Equilibrium solver with nested flux surfaces.
|
Compute flux-surface averaged radial force balance \(\nabla p\, - <\mathbf{j} \times \mathbf{B}>\). More...
Go to the source code of this file.
Functions/Subroutines | |
subroutine | calc_fbal (bsubu, bsubv) |
Compute flux-surface averaged radial force balance \(\nabla p\, - <\mathbf{j} \times \mathbf{B}>\). | |
Compute flux-surface averaged radial force balance \(\nabla p\, - <\mathbf{j} \times \mathbf{B}>\).
Definition in file calc_fbal.f90.
subroutine calc_fbal | ( | real(dp), dimension(1:nrzt), intent(in) | bsubu, |
real(dp), dimension(1:nrzt), intent(in) | bsubv ) |
Compute flux-surface averaged radial force balance \(\nabla p\, - <\mathbf{j} \times \mathbf{B}>\).
bsubu | covariant component of magnetic field \(B_\theta\) on half mesh |
bsubv | covariant component of magnetic field \(B_\zeta\) on half mesh |
Definition at line 8 of file calc_fbal.f90.
References vmec_main::buco, vmec_main::bvco, vmec_main::chipf, stel_kinds::dp, vmec_main::equif, vmec_main::iter2, vmec_main::jcuru, vmec_main::jcurv, vmec_dim::nrzt, vmec_dim::ns, vmec_dim::ns1, vmec_main::num_eqsolve_retries, vmec_main::ohs, dbgout::open_dbg_context(), vmec_main::phipf, vmec_main::pres, vmec_main::presgrad, vmec_params::signgs, vmec_main::vp, vmec_main::vpphi, and realspace::wint.
Referenced by bcovar(), and eqfor().