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:
- hx
float
x cell dimension
- hy
float
y cell dimension
- hz
float
z cell dimension
- ax
float
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
- hx
- Returns: