Is there a good way to determine whether the mesh is adequate for the problem at hand?
The mesh parameters NMAX and NMAY are chosen by the user, typically in the beginning of a session, and do not change their values throughout the session, unless forced by the user. These parameters represent the number of pixels along the X- and Y-axes, and their values are limited by the available memory of the computer, as well as by the desired speed of execution of the program. (In the Student Edition the maximum allowed value of NMAX and NMAY is 256, and the user cannot increase this upper bound. In the General Edition these parameters are initially limited to 1024, but the user may change this upper bound by modifying the corresponding parameter in the SETTINGS.LOG file.) The other two parameters of the mesh, LMAX and LMAY, are also chosen by the user at the outset, but their values keep changing as the beam propagates through the optical system under consideration. LMAX and LMAY are the actual lengths of the mesh along the X- and Y-axes (in units of the vacuum wavelength l0), an