VMEC 8.52
3D Equilibrium solver with nested flux surfaces.
|
Compute preconditioning matrix elements for \(R\), \(Z\) force. More...
Go to the source code of this file.
Functions/Subroutines | |
subroutine | precondn (lu1, bsq, gsqrt, r12, xs, xu12, xue, xuo, xodd, axm, axd, bxm, bxd, cx, trigmult) |
Compute preconditioning matrix elements for \(R\), \(Z\) force. | |
Compute preconditioning matrix elements for \(R\), \(Z\) force.
Definition in file precondn.f90.
subroutine precondn | ( | real(rprec), dimension(nrzt), intent(in) | lu1, |
real(rprec), dimension(nrzt), intent(in) | bsq, | ||
real(rprec), dimension(nrzt), intent(in) | gsqrt, | ||
real(rprec), dimension(nrzt), intent(in) | r12, | ||
real(rprec), dimension(nrzt), intent(in) | xs, | ||
real(rprec), dimension(nrzt), intent(in) | xu12, | ||
real(rprec), dimension(nrzt), intent(in) | xue, | ||
real(rprec), dimension(nrzt), intent(in) | xuo, | ||
real(rprec), dimension(nrzt), intent(in) | xodd, | ||
real(rprec), dimension(ns+1,2), intent(out) | axm, | ||
real(rprec), dimension(ns+1,2), intent(out) | axd, | ||
real(rprec), dimension(ns+1,2), intent(out) | bxm, | ||
real(rprec), dimension(ns+1,2), intent(out) | bxd, | ||
real(rprec), dimension(ns+1), intent(out) | cx, | ||
real(rprec), dimension(nznt), intent(in) | trigmult ) |
Compute preconditioning matrix elements for \(R\), \(Z\) force.
Note that in all parameter names, x=(r,z)
lu1 | |
bsq | |
gsqrt | |
r12 | |
xs | |
xu12 | |
xue | |
xuo | |
xodd | |
axm | |
axd | |
bxm | |
bxd | |
cx | |
eqfactor | |
trigmult |
Definition at line 24 of file precondn.f90.
References vmec_main::ohs, vmec_main::r0scale, realspace::shalf, vmec_params::signgs, vmec_main::sm, vmec_main::sp, vmec_main::vp, and realspace::wint.
Referenced by bcovar().