define_rtefit_objects.m
SYNTAX: rtefit_defns = define_rtefit_objects(exe_dir)
PURPOSE: Get definitions and locations for objects used in rtefit.
INPUT:
exe_dir = Path to compiled pcs executable directory
OUTPUT:
rtefit_defns = structure containing rtefit definitions
EF_NESUM = # E (ohmic) coils
EF_NFCOIL = # F (poloidal field) coils
EF_NVESSEL = # vessel segments
EF_NW_MAX = # gridpoint in radial direction
EF_NH_MAX = # gridpoint in vertical direction
EF_NUM_GRIDPTS_FULLSET_INVESSEL = # gridpoints inside vessel
EF_NUM_CURRENT_SOURCES_INVESSEL = # of all current sources
EF_ICT_COILCOUNT =: 53
EF_ICT_COILCOUNT_4IZE: 3
EF_DATA_FILE_DIRECTORY = '/p/pcs/ops/data_nstx/rtefit_v7a/'
nw = # gridpoint in radial direction
nh = # gridpoints in verical direction
keep = ???
keep_invessel = ???
keepw = R locations in keep set
keeph = Z locations in keep set
invessel_indices = indices of grid point within vessel
r = R coordinates of keep set
r_invessel = R coordinates of invessel grid points
rinverse = 1./r
rinverse_invessel: rinverse of invessel gridpoints
z = Z corrdinates of keep set
zero = ???
rgrid = R locations of grid
zgrid = Z locations of grid
descriptions
RESTRICTIONS:
METHOD:
Dependencies