Spacings of mesh points for ray tracing
Meshes of points are set up when the ‘mesh’ method of ray tracing is used.
These meshes would usually be square arrays in CPO2D and cubic meshes in CPO3D.
But sometimes it might be better to have meshes that have different dimensions in different direction -for example for a long, thin beam the mesh dimension could be longer in the direction of the beam. The ray tracing would then be quicker because fewer mesh points would be created.
Be careful that the fields and potentials do not vary too much from one end of an elongated mesh to the other end.
Be careful also that the meshes at the beginning and end of a beam do not extend outside the boundaries of the system that contains the beam.
Unequal spacings are not available for space-charge cells.
Return to general note on ray tracing.