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

Computes guess for magnetic axis if user guess leads to initial sign change of Jacobian. More...

Go to the source code of this file.

Functions/Subroutines

subroutine guess_axis (r1, z1, ru0, zu0)
 Computes guess for magnetic axis if user guess leads to initial sign change of Jacobian.
 

Detailed Description

Computes guess for magnetic axis if user guess leads to initial sign change of Jacobian.

Definition in file guess_axis.f90.

Function/Subroutine Documentation

◆ guess_axis()

subroutine guess_axis ( real(rprec), dimension(ns,nzeta,ntheta3,0:1), intent(in) r1,
real(rprec), dimension(ns,nzeta,ntheta3,0:1), intent(in) z1,
real(rprec), dimension(ns,nzeta,ntheta3), intent(in) ru0,
real(rprec), dimension(ns,nzeta,ntheta3), intent(in) zu0 )

Computes guess for magnetic axis if user guess leads to initial sign change of Jacobian.

Parameters
r1\(R\)
z1\(Z\)
ru0\(\partial R / \partial \theta\)
zu0\(\partial Z / \partial \theta\)

Definition at line 10 of file guess_axis.f90.

References vmec_main::hs, vmec_params::nscale, dbgout::open_dbg_context(), vmec_params::signgs, and realspace::sqrts.

Referenced by eqsolve().

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