Important Notice: Our web hosting provider recently started charging us for additional visits, which was unexpected. In response, we're seeking donations. Depending on the situation, we may explore different monetization options for our Community and Expert Contributors. It's crucial to provide more returns for their expertise and offer more Expert Validated Answers or AI Validated Answers. Learn more about our hosting issue here.

Can I change the default values of some of the parameters that are seemingly set internally by DIFFRACT?

0
Posted

Can I change the default values of some of the parameters that are seemingly set internally by DIFFRACT?

0

Yes, unless you are using the Student Edition of the program. The Install routine for the General Edition copies two files to the working directory of DIFFRACT; these are called settings.log and settings.exe. You may examine the contents of settings.log with a text editor, to find out which parameters are set to which default values. For example, the upper bound on the value of NDIM is set here, as is the size of the display arrays (NDSP0), or the maximum number of surfaces allowed in geometric-optical systems, or the maximum allowed number of layers for multilayer stacks. Whenever you run DIFFRACT, it reads (in the beginning) the file settings.log, and sets the default values accordingly. You may change these values directly by modifying the SETTINGS.LOG file. Alternatively, you may invoke the routine SETTINGS.EXE (by double-clicking on its icon or by typing “settings” at the DOS prompt within DIFFRACT’s home directory), then answer the questions posed. In this way the contents of SET

Related Questions

What is your question?

*Sadly, we had to bring back ads too. Hopefully more targeted.