self_fil.m
PURPOSE:
Calculate the self inductance of a set of filaments A
Filament is defined by center and deltas x= [xc,yc,zc,dx,dy,dz].
The filament radius, aa is needed to compute self inductance
This is complementary to mut_fil_fil which computes mutual between
two filament sets A & B.
Note: All Units are MKS (meters, Amps, Tesla, Henries ...)
SYNTAX:
self_fil(xa,fa)
INPUT: (a= sending filament & receiving filament) [default]
xa = center coordinates. & delta lengths [xa,ya,za,dxa,dya,dza]
aa = Radius of filament for self inductance (vector or scalor)
fa = Optional: fraction of current in filament for parallel currents [1]
full= 0=does only half matrix (assume symmetry) =1 does full matrix [0]
OUTPUT:
l == self inductance of filament A sets [H]
CAUTION: Filament radius aa cannot be zero
Dependencies