write_fil_file.m¶
Basic Information¶
PURPOSE:
output filament geometry and current to file for read in with
read_lines.m
SYNTAX:
num= write_fil_file(xfil,ifil,filename);
INPUT: [default]
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
filename= filename, [filament.dat]
OUTPUT:
num = number of filaments written to file