Project window and menus
This documentation was written for releases up to 2018 and is being revised. Some dialogs have changed since. If something does not match what you see, write to mc@mcgrating.com.
The user is provided with several ways to open a project. Click the frame file menu File to choose one of three options:
- Samples provides the possibility to start a new project with four options:
- example of a grating profile as a sum of two sinusoidal functions versus x and y;
- example of a grating profile as a sum of two triangular functions versus x and y (functions points presentation followed by its sinus decomposition);
- example of a smooth hills (rectangular geometry);
- example of a smooth hills (hexagonal geometry). - Open is a standard menu to open previously saved projects.
- Reopen contains the list of recently saved files.
The project window has an editor type and starts with the text representation of the structure (project) parameters. At the bottom of this window there are some controls with obvious functions. Four functions Graph, Run, Settings, Analysis and Optimize are repeated in the main frame menu. The button Result/Structure switches the edit window between text representation of the structure parameters or of the results of calculations. If the Structure editor is activated the user can save the structure parameters and settings in a file with the extension CHA. If the Result editor is activated the user can save the calculated result in a file with the extension DAT. The Editor provides the possibility to edit results table and structure parameters but it is recommended to use the Settings Dialog window for the last purpose.
After opening the project window the additional items appear in the main menu:
- Edit is a standard item and its items are not fully functional while the editor is read only. The user can switch this attribute by Read only control.
- Font… is a standard menu item for editing.
- Settings opens dialog window for editing the structure parameters, settings and calculation options.
- Run starts the process (calculation).
- Optimize opens dialog window for defining the structure optimization parameters, user defined criterion function and for optimization process control.
- Graph represents the results of the calculations in a graphical form. If the results are not applicable to this option, or there are no results at all, the Graph is inactive.
- Analysis opens dialog window for analyzing finite Gauss beam reflection and transmission and to check the resonance poles parameters.
- Slider provides the possibility for an express analysis of the result graph behavior versus the input polarization state.
- Duplicate duplicates the active project into a new project window. This procedure is safe at any stage.
- Service Window permanently contains the Structure Geometry submenu for viewing the coordinate system, grating orientation and incident and diffracted plane wave definitions. Depending on the project state, additional submenu references on the grating profile or activated graphs can appear.
- Window is a standard item.
- Help is a standard item. The Version in Help -> About has yyyy-MM-dd format of the code compilation date.
From the in-application help of Chandezon Crossed, documented through 2018. If you publish results computed with MC Grating, see how to cite it.