Skip to content

read_fil_file.m

Basic Information

 PURPOSE:
         Read filament geometry and current from file
         note can also be read using general read_lines.m

 SYNTAX:
        [xfil,ifil]= read_fil_file(filename);

 INPUT: [default]
       filename= filename, [filament.dat]
 OUTPUT:
       xfil = filament matrix defined by end points of filament contining 6 columns
              [x1,y1,z1,x2,y2,z2] where 1 is start of filament and 2 is end
       ifil = current in each filament, one row for each filament in xfil

Dependencies