functions in hex.i - c
c_adjust
c_adjust, c, mesh or c_adjust, c, mesh, 1 or c= c_adjust(c, mesh, how) adjust the cell number array C returned by track_reduce to allow for a different layout of cell arrays than the one assumed by the tracking routines. Two HOW values are currently supported: 0 (or nil) if the cell arrays are the same shape as the nodal arrays, but the non-existent cell is at the end of each row rather than at the beginning. And 1 if the cell arrays are smaller by one along each dimension than the nodal arrays. If you call c_adjust as a subroutine, the input C array is modified; if you call it as a function, the input C is unchanged and the new values returned. Interpreted function, defined at i0/hex.i line 330SEE ALSO: track_reduce, hex5_track, cs_adjust
conv3_rays
conv3_rays(rays) convert [p,q] representation to or from best_rays representation. If the first dimension of RAYS is 3, returns 5-by-raydims array of best_rays; if first dimension of RAYS is 5, returns 3-by-raydims- by-2 [p,q] for use with hex5_track. Interpreted function, defined at i0/hex.i line 123SEE ALSO: hex5_track, pic3_rays, best_rays
cs_adjust
nlist= cs_adjust(nlist, c, s, ireg) adjust NLIST, C, S returned from track_reduce to remove transits of cells for which IREG == 0. Can be called before or after c_adjust, depending on layout of IREG. Interpreted function, defined at i0/hex.i line 372SEE ALSO: c_adjust