VMEC 8.52
3D Equilibrium solver with nested flux surfaces.
|
Computes br, bphi, bz, bsubs on half-radial mesh. More...
Go to the source code of this file.
Functions/Subroutines | |
subroutine | bss (r12, rs, zs, ru12, zu12, bsubs, bsupu, bsupv, br, bphi, bz) |
Computes br, bphi, bz, bsubs on half-radial mesh. | |
Computes br, bphi, bz, bsubs on half-radial mesh.
Definition in file bss.f90.
subroutine bss | ( | real(rprec), dimension(nrzt), intent(in) | r12, |
real(rprec), dimension(nrzt), intent(in) | rs, | ||
real(rprec), dimension(nrzt), intent(in) | zs, | ||
real(rprec), dimension(nrzt), intent(in) | ru12, | ||
real(rprec), dimension(nrzt), intent(in) | zu12, | ||
real(rprec), dimension(nrzt), intent(out) | bsubs, | ||
real(rprec), dimension(nrzt), intent(in) | bsupu, | ||
real(rprec), dimension(nrzt), intent(in) | bsupv, | ||
real(rprec), dimension(nrzt), intent(out) | br, | ||
real(rprec), dimension(nrzt), intent(out) | bphi, | ||
real(rprec), dimension(nrzt), intent(out) | bz ) |
Computes br, bphi, bz, bsubs on half-radial mesh.
r12 | \(R^2\) |
rs | \(\partial R / \partial s\) |
zs | \(\partial Z / \partial s\) |
ru12 | \(\partial R / \partial \theta\) on half-grid from jacobian() |
zu12 | \(\partial Z / \partial \theta\) on half-grid from jacobian() |
bsubs | covariant component of magnetic field \(B_s\) |
bsupu | contravariant component of magnetic field \(B^\theta\) |
bsupv | contravariant component of magnetic field \(B^\zeta\) |
br | cylindrical component of magnetic field \(B^R\) |
bphi | cylindrical component of magnetic field \(B^\varphi\) |
bz | cylindrical component of magnetic field \(B^Z\) |
Definition at line 17 of file bss.f90.
References dbgout::open_dbg_context(), realspace::r1, realspace::rv, realspace::shalf, realspace::z1, and realspace::zv.
Referenced by eqfor().