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

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.
 

Detailed Description

Compute total force residual on flux surfaces.

Definition in file getfsq.f90.

Function/Subroutine Documentation

◆ getfsq()

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.

Parameters
gcr\(R\)-component of force
gcz\(Z\)-component of force
gnormrnormalized total force residual in \(R\)
gnormznormalized total force residual in \(Z\)
gnormnormalization 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().

Here is the caller graph for this function: