This paper illustrates some of the advantages of using the boundary fi
tted coordinate technique in the numerical simulation of electron-opti
cal systems. The boundary fitted coordinate technique cm be used as an
automatic mesh generator for the finite-element solution of field dis
tributions, while at the same time allowing for die possibility of hig
h order interpolation on the mesh, typically required for the accurate
plotting of electron trajectory paths. For die finite difference meth
od of solving field distributions, the boundary fitted coordinate meth
od can generate regular meshes, which fit curved shaped boundaries.