diff --git a/DiffractionGratings/grating2D.geo b/DiffractionGratings/grating2D.geo index 0ce73daee78ed3432e0538e062c51ebc1c963677..e8827295f64399625b181ea00609555e6094aa84 100644 --- a/DiffractionGratings/grating2D.geo +++ b/DiffractionGratings/grating2D.geo @@ -256,7 +256,8 @@ If (Flag_o2_geom==1) Mesh.ElementOrder = 2; EndIf -Solver.AutoMesh=1; +// Mesh.Algorithm = 6; +// Solver.AutoMesh=1; Geometry.Points = 0; Mesh.SurfaceEdges = 0; // Mesh.MshFileVersion = 2.0; \ No newline at end of file diff --git a/DiffractionGratings/grating2D_conical.pro b/DiffractionGratings/grating2D_conical.pro index 5f6cfa8262cdde5676f426280eac8ad0a492d424..a866832de0f25fae884afc4774b00669c6582907 100644 --- a/DiffractionGratings/grating2D_conical.pro +++ b/DiffractionGratings/grating2D_conical.pro @@ -380,6 +380,7 @@ Formulation { { Name uy; Type Local; NameOfSpace L2_lambda;} } Equation { + // {d El} = -EZ[] /\ grad Elz Galerkin {[ 1/mur[] * Dof{d Et} , {d Et} ] ; In Omega; Integration Int_1; Jacobian JVol; } Galerkin {[ 1/mur[] * Dof{d El} , {d El} ] ; In Omega; Integration Int_1; Jacobian JVol; } Galerkin {[-Complex[0,gamma[]] /mur[] * Dof{d El} , EZ[]*^{Et} ] ; In Omega; Integration Int_1; Jacobian JVol; } diff --git a/DiffractionGratings/grating2D_data.geo b/DiffractionGratings/grating2D_data.geo index 8f4b1417f230f5a8696f2cbb31c02819a6e8a763..2441a3e20e20a6c6f27c2ceea785a85daed0e1fe 100644 --- a/DiffractionGratings/grating2D_data.geo +++ b/DiffractionGratings/grating2D_data.geo @@ -1,9 +1,9 @@ DefineConstant[ - test_case = {"LamellarGrating", + test_case = {"Plasmonics", Name "0Test case", - Choices {"AnisotropicGrating", "LamellarGrating", "PhotonicCrystalSlab", "ResonantGrating", "plasmonics"}, + Choices {"AnisotropicGrating", "LamellarGrating", "PhotonicCrystalSlab", "ResonantGrating", "Plasmonics"}, GmshOption "Reset", Autocheck 0 } ];