From b9b69d1477a8db481d3326ebe311359d806e06e6 Mon Sep 17 00:00:00 2001
From: Guillaume Demesy <guillaume.demesy@fresnel.fr>
Date: Wed, 19 Oct 2022 11:08:33 +0200
Subject: [PATCH] remove (null) cross terms from the mixed formulation

---
 DiffractionGratings/grating2D_conical.pro | 8 --------
 1 file changed, 8 deletions(-)

diff --git a/DiffractionGratings/grating2D_conical.pro b/DiffractionGratings/grating2D_conical.pro
index 4738d53..51d0c97 100644
--- a/DiffractionGratings/grating2D_conical.pro
+++ b/DiffractionGratings/grating2D_conical.pro
@@ -381,23 +381,15 @@ Formulation {
     }
     Equation {
       Galerkin {[ 1/mur[] * Dof{d Et}                          , {d Et}     ] ; In Omega; Integration Int_1; Jacobian JVol; }
-      Galerkin {[ 1/mur[] * Dof{d El}                          , {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 {[ 1/mur[] * Dof{d Et}                          , {d El}     ] ; In Omega; Integration Int_1; Jacobian JVol; }
-      Galerkin {[-Complex[0,gamma[]]  /mur[] * Dof{d Et}       , EZ[]*^{Et} ] ; In Omega; Integration Int_1; Jacobian JVol; }
       Galerkin {[-Complex[0,gamma[]]  /mur[] * Dof{d El}       , EZ[]*^{Et} ] ; In Omega; Integration Int_1; Jacobian JVol; }
       Galerkin {[ Complex[0,gamma[]]  /mur[] * (EZ[]*^Dof{Et}) , {d El}     ] ; In Omega; Integration Int_1; Jacobian JVol; }
-      Galerkin {[ Complex[0,gamma[]]  /mur[] * (EZ[]*^Dof{Et}) , {d Et}     ] ; In Omega; Integration Int_1; Jacobian JVol; }
       Galerkin {[           gamma[]^2 /mur[] * (EZ[]*^Dof{Et}) , EZ[]*^{Et} ] ; In Omega; Integration Int_1; Jacobian JVol; }
       
       Galerkin {[ -k0^2 * epsilonr[] * Dof{Et}                 , {Et}       ] ; In Omega; Integration Int_1; Jacobian JVol; }
-      Galerkin {[ -k0^2 * epsilonr[] * Dof{Et}                 , {El}       ] ; In Omega; Integration Int_1; Jacobian JVol; }
-      Galerkin {[ -k0^2 * epsilonr[] * Dof{El}                 , {Et}       ] ; In Omega; Integration Int_1; Jacobian JVol; }
       Galerkin {[ -k0^2 * epsilonr[] * Dof{El}                 , {El}       ] ; In Omega; Integration Int_1; Jacobian JVol; }
 
       Galerkin {[ -k0^2 * (epsilonr[]-epsilonr_annex[]) * E1t[] , {Et}      ] ; In Omega_source; Integration Int_1; Jacobian JVol; }
-      Galerkin {[ -k0^2 * (epsilonr[]-epsilonr_annex[]) * E1t[] , {El}      ] ; In Omega_source; Integration Int_1; Jacobian JVol; }
-      Galerkin {[ -k0^2 * (epsilonr[]-epsilonr_annex[]) * E1l[] , {Et}      ] ; In Omega_source; Integration Int_1; Jacobian JVol; }
       Galerkin {[ -k0^2 * (epsilonr[]-epsilonr_annex[]) * E1l[] , {El}      ] ; In Omega_source; Integration Int_1; Jacobian JVol; }
 
       Galerkin{ [                         Dof{uy}   , {uy}]; In Gama; Jacobian JSur; Integration Int_1;}
-- 
GitLab