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

Compute the cylindrical components of the magnetic field due to external coils by bi-linear interpolation of the mgrid file. More...

Go to the source code of this file.

Functions/Subroutines

subroutine becoil (rad, zee, brvac, bpvac, bzvac)
 Compute the cylindrical components of the magnetic field due to external coils. by bi-linear interpolation of the mgrid file.
 

Detailed Description

Compute the cylindrical components of the magnetic field due to external coils by bi-linear interpolation of the mgrid file.

Definition in file becoil.f90.

Function/Subroutine Documentation

◆ becoil()

subroutine becoil ( real(rprec), dimension(nuv2), intent(in) rad,
real(rprec), dimension(nuv2), intent(in) zee,
real(rprec), dimension(nr0b,nz0b,np0b), intent(in) brvac,
real(rprec), dimension(nr0b,nz0b,np0b), intent(in) bpvac,
real(rprec), dimension(nr0b,nz0b,np0b), intent(in) bzvac )

Compute the cylindrical components of the magnetic field due to external coils. by bi-linear interpolation of the mgrid file.

Parameters
rad\(R\) at which to evaluate the external magnetic field
zee\(Z\) at which to evaluate the external magnetic field
brvaccylindrical component of external magnetic field \(B^R\)
bpvaccylindrical component of external magnetic field \(B^\varphi\)
bzvaccylindrical component of external magnetic field \(B^Z\)

Definition at line 13 of file becoil.f90.

References vacmod::bphi, vacmod::brad, vacmod::bz, mgrid_mod::delrb, mgrid_mod::delzb, mgrid_mod::np0b, mgrid_mod::nr0b, mgrid_mod::nz0b, mgrid_mod::rmaxb, mgrid_mod::rminb, mgrid_mod::zmaxb, and mgrid_mod::zminb.

Referenced by bextern().

Here is the caller graph for this function: