find_x_point.m
SYNTAX: [dr,dz,drm,dzm,px] = find_x_point(pe,bre,bze,brepr, ...
bzepr,brepz,bzepz,rm,delta_r,delta_z,rsign,zsign)
PURPOSE: Calculates X point location by linear expansion about a grid
point in the X point grid.
INPUT:
pe = flux at expansion point
bre = br at expansion point
bze = bz at expansion point
brepr = br at expansion point + one step in r
bzepr = bz at expansion point + one step in r
brepz = br at expansion point + one step in z
bzepz = bz at expansion point + one step in z
rm = r coordinate of expansion pt in meters
delta_r = distance between X point grids in radial direction (m)
delta_z = distance between X point grids in vertical direction (m)
rsign = direction of one step in r
zsign = direction of one step in z
OUTPUT:
dr,dz = displacement of X pt from expansion pt (units of grid spacings)
drm,dzm = displacement of X point in meters
px = estimated flux at the X point
Dependencies