calc_isoflux_response.m
SYNTAX: [sizedata,control_pts,mutuals,brgreens,bzgreens] = ...
calc_isoflux_response(seg_grid_name,dir,tok_data_struct)
PURPOSE: Compute response to isoflux points and grids.
INPUT:
seg_grid_name = segment or grid name (e.g. '0degree', 'bot_3cm')
dir = directory where data files defining isoflux objects stored
tok_data_struct= vacuum model data objects structure
OUTPUT:
sizedata = structure defining contents of response data (see help for
segment_response.m)
control_pts = control points at which responses computed
mutuals = mutuals, current sources (coils,vessel,grid) to control pts
brgreens = green fns, current sources (coils,vessel,grid) to control pts
bzgreens = green fns, current sources (coils,vessel,grid) to control pts
(Units of current = Amp-turns. Flux is in Wb/rad. Field is in Tesla.)
RESTRICTIONS:
METHOD: Checks that seg_grid_name matches one of names in
response_input_<device>.txt (i.e. exists as an rtefit response object),
then computes response the same way as computed for rtefit.