simpeg.electromagnetics.utils.getStraightLineCurrentIntegral#

simpeg.electromagnetics.utils.getStraightLineCurrentIntegral(hx, hy, hz, ax, ay, az, bx, by, bz)[source]#

Compute straight current line integral

Compute integral int(W . J dx^3) in brick of size hx x hy x hz where W denotes the 12 local bilinear edge basis functions and where J prescribes a unit line current between points (ax,ay,az) and (bx,by,bz).

Parameters:
hxfloat

x cell dimension

hyfloat

y cell dimension

hzfloat

z cell dimension

axfloat

x-location of start of wire segement

ay :float

y-location of start of wire segement

az :float

z-location of start of wire segement

bx :float

x-location of end of wire segement

by :float

y-location of end of wire segement

bz :float

z-location of end of wire segement

Returns:
sxfloat

x weight

syfloat

y weight

szflat

z weight