@@ -13,7 +13,7 @@ To get a pdf file from this ```.md``` file, run in a shell terminal :
This directory gathers all the code files necessary to compute the mesh-based topology optimization of a periodic grating. Each element of the Finite Element triangulation can have a different permittivity in order to get the best reflection efficiency possible on a particular order for a given wavelength range.
**One should read the paper "Topology optimization of blazed gratings under conical incidence" (S. Ans, G. Demésy, and F. Zamkotsian) available at https://arxiv.org/abs/2403.10174 before using this script.**
**This model is described in "Topology optimization of blazed gratings under conical incidence" (S. Ans, G. Demésy, and F. Zamkotsian) available at https://arxiv.org/abs/2403.10174.**
## Quick Start
...
...
@@ -29,7 +29,7 @@ Make sure you have got all the following softwares and that they are updated :
*```python``` 3.10 and more, with the libraries ```numpy```, ```scipy```, ```matplotlib.pyplot```, ```joblib```, ```os```, ```multiprocessing```, ```time```, ```meshio``` and most importantly ```nlopt``` (https://github.com/stevengj/nlopt). The code has been written using a machine with ```Miniconda3``` installed, hence the ```python``` command is used instead of ```python3```.
#### **Lunch the optimization**
#### **Launch the optimization**
While being in this directory, run in the shell terminal