There are many ways of setting up the rays. That is, specifying their initial conditions. Here are the available options
Specifying:
or calling:
Two methods are available, the ‘direct’ and ‘mesh’ methods.
In the direct method the program uses the charges on the electrode segments to calculate the field at each ray step.
In the mesh method the User specifies the spacing of an array of mesh points, but these points are not created until they are needed. When the program needs to know the field at a point during ray tracing it looks for the values at nearby mesh points and interpolates between them. If a mesh point does not yet exist it is created and the value of the field is calculated and stored, so that it can be used again if another ray passes through the same region later. The mesh points that are created in this way form an incomplete array.
The mesh technique is particularly useful when a large number of neighbouring rays is required. The ray tracing then becomes very fast.