From b7514fef2b28619bb7c45988d9ad1bee660f2200 Mon Sep 17 00:00:00 2001
From: Guillaume Demesy <guillaume.demesy@fresnel.fr>
Date: Wed, 1 Feb 2023 18:52:56 +0100
Subject: [PATCH] up

---
 DiffractionGratings/grating3D_parallel_Mmatrix.sh | 4 ++++
 1 file changed, 4 insertions(+)

diff --git a/DiffractionGratings/grating3D_parallel_Mmatrix.sh b/DiffractionGratings/grating3D_parallel_Mmatrix.sh
index 9cbf398..bf1cee5 100644
--- a/DiffractionGratings/grating3D_parallel_Mmatrix.sh
+++ b/DiffractionGratings/grating3D_parallel_Mmatrix.sh
@@ -28,6 +28,10 @@ myfunc() {
     if [ $3 -eq 0 ]; then cp res3D/rp.txt ../r_pin_pout_lam$1_phi$2.out ; fi
     if [ $3 -eq 1 ]; then cp res3D/rs.txt ../r_sin_sout_lam$1_phi$2.out ; fi
     if [ $3 -eq 1 ]; then cp res3D/rp.txt ../r_sin_pout_lam$1_phi$2.out ; fi
+    if [ $3 -eq 0 ]; then cp res3D/ts.txt ../t_pin_sout_lam$1_phi$2.out ; fi
+    if [ $3 -eq 0 ]; then cp res3D/tp.txt ../t_pin_pout_lam$1_phi$2.out ; fi
+    if [ $3 -eq 1 ]; then cp res3D/ts.txt ../t_sin_sout_lam$1_phi$2.out ; fi
+    if [ $3 -eq 1 ]; then cp res3D/tp.txt ../t_sin_pout_lam$1_phi$2.out ; fi
     cp res3D/eff_t1.txt ../eff_t1_lam$1_phi$2_psi$3.out
     cp res3D/eff_r1.txt ../eff_r1_lam$1_phi$2_psi$3.out
     cp res3D/eff_t2.txt ../eff_t2_lam$1_phi$2_psi$3.out
-- 
GitLab