diff --git a/DiffractionGratingsTopOpt/README.md b/DiffractionGratingsTopOpt/README.md index bd9c9a617736c7f0f8c98a87b1a542a5bfc87117..c21858e13651c25f964285939db61188c0dd4db5 100644 --- a/DiffractionGratingsTopOpt/README.md +++ b/DiffractionGratingsTopOpt/README.md @@ -1,8 +1,8 @@ -# Directory in git repository : ```src_blaze/PhD/Maxwell_solvers/meshGrating_topopt_conical``` +# Topology optimization of blazed gratings under conical incidence File : ```README.md```\ Author : ©Simon Ans\ -Last update : 05/03/2024\ +Last update : 18/03/2024\ To get a pdf file from this ```.md``` file, run in a shell terminal : > ```pandoc README.md --pdf-engine=xelatex -o README.pdf``` @@ -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" available on <u>link</u> before using this script.** +**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.** ## Quick Start diff --git a/DiffractionGratingsTopOpt/resolution_functions.py b/DiffractionGratingsTopOpt/resolution_functions.py index 63a274c30ef9717d65ded1d6ae6e769487ee7db7..3129d58a3ddd682cc4f9eff31bed9e8bfc51ab16 100644 --- a/DiffractionGratingsTopOpt/resolution_functions.py +++ b/DiffractionGratingsTopOpt/resolution_functions.py @@ -5,6 +5,13 @@ import multiprocessing import tabs_material from config_topopt_conical_data import * +''' +© Simon Ans +File : resolution_functions.py + +Functions that settle the data and launch the resoutions. +''' + ########################################################## ## FUNCTIONS USING THE TERMINAL ## ## Use Gmsh and GetDP ## diff --git a/DiffractionGratingsTopOpt/topopt_conical.geo b/DiffractionGratingsTopOpt/topopt_conical.geo index 8cd6ef7aa42127f75f1b0ad066715f8f29c3a333..b2a56dc989c892b9365a703362c88d1fd4111670 100644 --- a/DiffractionGratingsTopOpt/topopt_conical.geo +++ b/DiffractionGratingsTopOpt/topopt_conical.geo @@ -2,8 +2,8 @@ © Simon Ans File : topopt_conical.geo -Construction of the geometry of the periodical grating made with sticks using -the data in param.dat. The geometry is detailed in resolution_functions.set_data. +Construction of the geometry of the periodical mesh-based density grating using +the data in param.dat. The geometry is detailed in resolution_functions.set_data */ Include "param.dat"; diff --git a/DiffractionGratingsTopOpt/topopt_conical.pro b/DiffractionGratingsTopOpt/topopt_conical.pro index 2f08a8a8c9ef313b4630fc257b3c3b9f0510bc49..a754d8f6775951715ed70d1fda220e87e508b1f3 100644 --- a/DiffractionGratingsTopOpt/topopt_conical.pro +++ b/DiffractionGratingsTopOpt/topopt_conical.pro @@ -1,9 +1,9 @@ /* -File : fictiveLamellarGratings_conical.pro +File : topopt_conical.pro -Strating from the geometry computed by fictiveLamellar_conical.geo, this program -uses the open source environment GetDP to solve the reflexion and transmission -problem on the sticks grating. +Strating from the geometry computed by topopt_conical.geo, this program +uses the open source environment GetDP to solve the reflection and transmission +direct and adjoint problems based on a Finite Element mesh generated by Gmsh. */ Include "param.dat";