Skip to content
Snippets Groups Projects
Commit d3a7ce30 authored by Guillaume Demesy's avatar Guillaume Demesy
Browse files

open all examples

parent 4ed97105
No related branches found
No related tags found
No related merge requests found
......@@ -47,7 +47,7 @@ DefineConstant[
eps_im_L_6 = {0 , Name StrCat[pp4,"/layer 6: imag part of relative permittivity"]},
paramaille = {7 , Name StrCat[pp5,"/1Number of mesh elements per wavelength [-]"]},
scat_lc = {lambda0/(2*paramaille) , Name StrCat[pp5,"/2Scatterer absolute mesh size [nm]"]},
lc_scat = {lambda0/(2*paramaille) , Name StrCat[pp5,"/2Scatterer absolute mesh size [nm]"]},
PML_top = {lambda0, Name StrCat[pp5,"/4PML top thickness [nm]"]},
PML_bot = {lambda0*1.2, Name StrCat[pp5,"/5PML bot thickness [nm]"]},
Nmax = {2 , Name StrCat[pp5,"/6Number of non specular order to output [-]"]},
......
......@@ -47,7 +47,7 @@ DefineConstant[
eps_im_L_6 = {0 , Name StrCat[pp4,"/layer 6: imag part of relative permittivity"]},
paramaille = {6 , Name StrCat[pp5,"/1Number of mesh elements per wavelength [-]"]},
scat_lc = {lambda0/(1.5*paramaille) , Name StrCat[pp5,"/2Scatterer absolute mesh size [nm]"]},
lc_scat = {lambda0/(1.5*paramaille) , Name StrCat[pp5,"/2Scatterer absolute mesh size [nm]"]},
PML_top = {lambda0, Name StrCat[pp5,"/4PML top thickness [nm]"]},
PML_bot = {lambda0, Name StrCat[pp5,"/5PML bot thickness [nm]"]},
Nmax = {2 , Name StrCat[pp5,"/6Number of non specular order to output [-]"]},
......
......@@ -47,7 +47,7 @@ DefineConstant[
eps_im_L_6 = {0 , Name StrCat[pp4,"/layer 6: imag part of relative permittivity"]},
paramaille = {8 , Name StrCat[pp5,"/1Number of mesh elements per wavelength [-]"]},
scat_lc = {10 , Name StrCat[pp5,"/2metal mesh size [nm]"]},
lc_scat = {10 , Name StrCat[pp5,"/2metal mesh size [nm]"]},
PML_top = {lambda0 , Name StrCat[pp5,"/4PML top thickness [nm]"]},
PML_bot = {lambda0 , Name StrCat[pp5,"/5PML bot thickness [nm]"]},
Nmax = {1 , Name StrCat[pp5,"/6Number of non specular order to output [-]"]},
......
......@@ -47,7 +47,7 @@ DefineConstant[
eps_im_L_6 = {0 , Name StrCat[pp4,"/layer 6: imag part of relative permittivity"]},
paramaille = {5 , Name StrCat[pp5,"/1Number of mesh elements per wavelength [-]"]},
scat_lc = {lambda0/(3*paramaille) , Name StrCat[pp5,"/2Scatterer absolute mesh size [nm]"]},
lc_scat = {lambda0/(3*paramaille) , Name StrCat[pp5,"/2Scatterer absolute mesh size [nm]"]},
PML_top = {lambda0, Name StrCat[pp5,"/4PML top thickness [nm]"]},
PML_bot = {lambda0, Name StrCat[pp5,"/5PML bot thickness [nm]"]},
Nmax = {2 , Name StrCat[pp5,"/6Number of non specular order to output [-]"]},
......
......@@ -47,7 +47,7 @@ DefineConstant[
eps_im_L_6 = {0 , Name StrCat[pp4,"/layer 6: imag part of relative permittivity"]},
paramaille = {8 , Name StrCat[pp5,"/1Number of mesh elements per wavelength [-]"]},
scat_lc = {lambda0/(1.5*paramaille) , Name StrCat[pp5,"/2Scatterer absolute mesh size [nm]"]},
lc_scat = {lambda0/(1.5*paramaille) , Name StrCat[pp5,"/2Scatterer absolute mesh size [nm]"]},
PML_top = {lambda0 , Name StrCat[pp5,"/4PML top thickness [nm]"]},
PML_bot = {lambda0 , Name StrCat[pp5,"/5PML bot thickness [nm]"]},
Nmax = {1 , Name StrCat[pp5,"/6Number of non specular order to output [-]"]},
......
......@@ -47,7 +47,7 @@ DefineConstant[
eps_im_L_6 = {0 , Name StrCat[pp4,"/7Custom Values/layer 6: imag part of relative permittivity"]},
paramaille = {12 , Name StrCat[pp5,"/1Number of mesh elements per wavelength [-]"]},
scat_lc = {10 , Name StrCat[pp5,"/2Scatterer absolute mesh size [nm]"]},
lc_scat = {10 , Name StrCat[pp5,"/2Scatterer absolute mesh size [nm]"]},
PML_top = {lambda0*1.5 , Name StrCat[pp5,"/4PML top thickness [nm]"]},
PML_bot = {lambda0*1.5 , Name StrCat[pp5,"/5PML bot thickness [nm]"]},
Nmax = {1 , Name StrCat[pp5,"/6Max number of non specular order to output [-]"]},
......
GMSHDIR="/home/demesy/programs/gmsh-4.4.1-Linux64/bin"
# for t in bisin checker halfellipsoid hole pyramid torus 2Dlamellar
# do
# $GMSHDIR/gmsh grating3D.pro -setstring test_case $t -
# mv res3D res3D_$t
# done
for t in bisin checker halfellipsoid hole pyramid torus 2Dlamellar
do
gmsh grating3D.pro -setstring test_case $t -
mv res3D res3D_$t
$GMSHDIR/gmsh grating3D.geo -setstring test_case $t res3D_$t/*.pos &
done
\ No newline at end of file
rm -rf ./res2D
rm -rf ./res3D
rm -rf res2D*
rm -rf res3D*
rm *.msh
rm *.pre
rm *.db
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment