Parametric model of diffraction gratings

Quick start 2D
--------------

Open `grating2D.pro' with Gmsh.

Quick start 3D
--------------

To run the test cases, type in terminal :
gmsh grating3D.pro -setstring test_case pyramid
gmsh grating3D.pro -setstring test_case hole
gmsh grating3D.pro -setstring test_case U
gmsh grating3D.pro -setstring test_case half_ellipsoid
gmsh grating3D.pro -setstring test_case checker
gmsh grating3D.pro -setstring test_case bisin


Additional info
---------------

A documentation is available here: https://arxiv.org/abs/1710.11451

