SOFEM: Field Computation and Raytracing in Lenses and Deflectors
This software package is supplied as an upgrade to the OPTICS and ABER-5 package.
SOFEM computes potential and field distributions in electrostatic and magnetic lenses and deflectors, using the second-order finite element method (SOFEM). The program provides at least an order of magnitude greater accuracy than the first-order FEM for a given number of mesh-points. As successively more mesh-points are used, the relative accuracy with respect to the first-order method becomes progressively greater. The second-order method is also less sensitive to the distribution of mesh-points than the first-order method. Since the field components are obtained to a high accuracy, the trajectories obtained with this software are very accurate, and can be used to estimate the lens aberrations directly from the raytrace. (This is difficult to do very accurately with the first-order FEM.)
After computing the lens fields, direct ray-tracing in the rotationally symmetric fields is performed using a Runge-Kutta formula. The field components at each point on the trajectory are obtained by interpolation between 5 second-order finite elements.
Facilities are provided for plotting equipotentials, magnetic flux lines, axial focusing and deflection functions, and plots of the electron or ion trajectories from the direct ray-tracing.
If you are interested in the SOFEM package, please contact us at info@electronoptica.com.