VMEC 8.52
3D Equilibrium solver with nested flux surfaces.
Loading...
Searching...
No Matches
calc_fbal.f90 File Reference

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}>\).
 

Detailed Description

Compute flux-surface averaged radial force balance \(\nabla p\, - <\mathbf{j} \times \mathbf{B}>\).

Definition in file calc_fbal.f90.

Function/Subroutine Documentation

◆ calc_fbal()

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}>\).

Parameters
bsubucovariant component of magnetic field \(B_\theta\) on half mesh
bsubvcovariant 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().

Here is the call graph for this function:
Here is the caller graph for this function: