VMEC 8.52
3D Equilibrium solver with nested flux surfaces.
|
Compute total force residual on flux surfaces. More...
Go to the source code of this file.
Functions/Subroutines | |
subroutine | getfsq (gcr, gcz, gnormr, gnormz, gnorm, medge) |
Compute total force residual on flux surfaces. | |
Compute total force residual on flux surfaces.
Definition in file getfsq.f90.
subroutine getfsq | ( | real(rprec), dimension(ns,mnsize*ntmax), intent(in) | gcr, |
real(rprec), dimension(ns,mnsize*ntmax), intent(in) | gcz, | ||
real(rprec), intent(out) | gnormr, | ||
real(rprec), intent(out) | gnormz, | ||
real(rprec), intent(in) | gnorm, | ||
integer, intent(in) | medge ) |
Compute total force residual on flux surfaces.
gcr | \(R\)-component of force |
gcz | \(Z\)-component of force |
gnormr | normalized total force residual in \(R\) |
gnormz | normalized total force residual in \(Z\) |
gnorm | normalization factor for forces |
medge | =0: exclude contribution from LCFS; =1: include LCFS contribution |
Definition at line 12 of file getfsq.f90.
References vmec_params::ntmax.
Referenced by residue(), residue_con(), and residue_mhd().