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

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.
 

Detailed Description

Computes br, bphi, bz, bsubs on half-radial mesh.

Definition in file bss.f90.

Function/Subroutine Documentation

◆ bss()

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.

Parameters
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()
bsubscovariant component of magnetic field \(B_s\)
bsupucontravariant component of magnetic field \(B^\theta\)
bsupvcontravariant component of magnetic field \(B^\zeta\)
brcylindrical component of magnetic field \(B^R\)
bphicylindrical component of magnetic field \(B^\varphi\)
bzcylindrical 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().

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