Subsidiary programs list
Some of the programs used by the authors of CPO for miscellaneous pre- and post- analysis of data are included here in case they might be helpful for other users.
They are written in either C++ or Fortran, but commercial translating programs can be used to convert from either one of these to the other.
These programs are included only as a possible aid for users, and we accept no responsibility for the clarity, correctness or efficiency of the programs or the information in them or from them, and we are unable to offer any help in modifying the programs.
Compiled versions are supplied for some of the programs. These are activated by the command ‘prog*’. Remember to firstly put the input information (as explained in the relevant note) into the file ‘tempin.dat’ in the same directory. The output data will be put into the file ‘tempres.dat’. We hope to add compiled versions of the other programs later. (The compiled exe files have been compiled in Salfor debug mode and so can be debugged using sdbg prog*.)
Note that some of these programs have been superseeded by the powerful option for users to use their own equations to define electrode shapes.
conv2to3.exe converting a 2D data file to a 3D data file
convdxf.exe converting a dxf file to a 2D data file
convtxt.exe converting a text file of electrode data to a 2D data file
read2bin.exe reading binary data from *.yxx and put in format of a 2D data file
read3bin.exe reading binary data from *.yxx and put in format of a 3D data file
reduce.exe program for reducing the total number of 3D segments
torus.exe programs for generating segments of a 3D toroidal surface or a part of a torus
beamsize.exe programs to use the data in a ray output file to calculate the beam size
Legendre function program for Legendre function
inbuilt programs programs supplied for time-dependent voltages, magnetic fields, and near-axis fields.
prog04.exe program to create a grid of magnetic field values from a set of known axial values, 1
prog10.exe program for producing trajectories distributed according to the Lambert cosine law, 3D.
prog11.exe program for generating segments of a 2D hyperbolic surface, version 1
prog12.exe program for generating segments of a 2D hyperbolic surface, version 2
prog13.exe program for generating segments of a 3D hyperbolic surface
prog20.exe program useful when final energies are much higher than initial energies
prog22.exe program for generating a 2D array of magnetic grid points, 2
prog24.exe program for generating segments for a rectangular slot in a spherical cap, first method
prog25.exe program for generating segments for a rectangular slot in a spherical cap, second method
prog26.exe program for generating segments of a cylinder cut at an angle to the axis
prog27.exe program for generating segments that are concentrated at the corners and edges of a rectangle or for generating a flat strip of segments
prog29.exe program for generating a Poisson distribution for the multiplication factor of secondary electrons
prog30.exe program for extracting segment charges from a ray output file
prog31.exe program for generating segments of a cone cut at an angle to the axis
test2d18 output program used to deduce potentials and fields at a flat mesh of parallel flat strips, test2d18.dat
test3d06 programs program for generating the segments of a rounded edge with the segments concentrated at one end of the strip.
xmpl2d20 program program for fields at flat mesh of parallel round wires
xmpl2d41 program program for setting up photocathode trajectories
xmpl3d26 output programs for analysing the output data from xmpl3d26.dat
xmpl3d27 programs programs relevant to xmpl3d27
xmpl3d29 output program for analysing the output data from xmpl3d29.dat
xmpl3d30 output program for analysing the output data from xmpl3d30
xmpl3d33 output program for analysing the output data from xmpl3d33 to 44