The Open FUSION Toolkit 1.0.0-beta6
Modeling tools for plasma and fusion research and engineering
Loading...
Searching...
No Matches
axi_green.F90 File Reference

Data Types

type  axi_coil_set
 Needs Docs. More...

Modules

module  axi_green
 Object and supporting functions for axisymmetric coil sets.

Functions/Subroutines

real(r8) function elle (phi, ak)
 Legendre elliptic integral of the 2nd kind E(; j), evaluated using Carlson's functions RD and RF. The argument ranges are 0 =2, 0 ksin 1.
real(r8) function ellf (phi, ak)
 Legendre elliptic integral of the 1st kind F(; k), evaluated using Carlson's function RF. The argument ranges are 0 =2, 0 ksin 1.
subroutine, public grad_green (r, z, rc, zc, fg, gg)
 Evaluate gradient of Green's function for axisymmetric current filament.
real(r8) function, public green (r, z, rc, zc)
 Evaluate Green's function for axisymmetric current filament.
real(r8) function, public green_brute (r, z, rc, zc)
 Evaluate Green's function using brute force integration with 360 points.
real(r8) function rd (x, y, z)
 Computes Carlson's elliptic integral of the second kind, RD(x; y; z). x and y must be nonnegative, and at most one can be zero. z must be positive. TINY must be at least twice the negative 2/3 power of the machine overflow limit. BIG must be at most 0:1ERRTOL times the negative 2/3 power of the machine underflow limit.
real(r8) function rf (x, y, z)
 Computes Carlson's elliptic integral of the first kind, RF(x; y; z). x, y, and z must be nonnegative, and at most one can be zero. TINY must be at least 5 times the machine undeflow limit, BIG at most one fifth the machine overflow limit.

Variables

real(r8), parameter roff = 1.d-13