analyze_Xpt.m¶
Basic Information¶
SYNTAX: [rxpt,zxpt,figure_num] = ...
analyze_Xpt(Psi0,BR0,BZ0,rgrid,zgrid,figure_num)
PURPOSE: Locate X point using B-field on Xpoint grid. Optionally,
make plots of flux and field with X point overlaid.
INPUT:
Psi0,BR0,BZ0
rgrid,zgrid
figure_num = (optional, default = [] and no figures produced)
OUTPUT:
rxpt,zxpt = calculated x point (meters)