From 94db9a09606d7b5979ecfe8fdfd82aed009df023 Mon Sep 17 00:00:00 2001
From: Pascal Engeler <engelerp@phys.ethz.ch>
Date: Wed, 20 Oct 2021 10:49:16 +0200
Subject: [PATCH] Adjusted for ultrafine mesh

---
 bin/jobscript.sh |  2 +-
 src/main.cpp     | 12 ++++++------
 2 files changed, 7 insertions(+), 7 deletions(-)

diff --git a/bin/jobscript.sh b/bin/jobscript.sh
index 64c69df..fc60e8c 100644
--- a/bin/jobscript.sh
+++ b/bin/jobscript.sh
@@ -3,7 +3,7 @@
 #SBATCH --account="eth5b"
 #SBATCH --mail-type=ALL
 #SBATCH --mail-user=engelerp@phys.ethz.ch
-#SBATCH --time=00:50:00
+#SBATCH --time=01:40:00
 #SBATCH --nodes=1
 #SBATCH --ntasks-per-core=2
 #SBATCH --ntasks-per-node=1
diff --git a/src/main.cpp b/src/main.cpp
index db61d2f..8e1e894 100644
--- a/src/main.cpp
+++ b/src/main.cpp
@@ -191,14 +191,14 @@ int main(){
   /*Top Wafer*/
   //world.add(std::make_shared<triangle_mesh>("../meshes/mesh_top_tot.dat", material_si3n4, 1., &top_def_const_1));
   //Top layer
-  world.add(std::make_shared<triangle_mesh>("../meshes/mesh_top_rect.dat", material_si_air, 1., &top_def_si_air));
-  world.add(std::make_shared<triangle_mesh>("../meshes/mesh_top_rect.dat", material_si_sio2, -1., &top_def_si_sio2));
-  world.add(std::make_shared<triangle_mesh>("../meshes/mesh_top_rect.dat", material_si3n4_sio2, 1., &top_def_sio2_si3n4));
-  world.add(std::make_shared<triangle_mesh>("../meshes/mesh_top_drum.dat", material_si3n4_air, 1., &top_def_quad_1));
+  world.add(std::make_shared<triangle_mesh>("../meshes/mesh_top_rect_ultrafine.dat", material_si_air, 1., &top_def_si_air));
+  world.add(std::make_shared<triangle_mesh>("../meshes/mesh_top_rect_ultrafine.dat", material_si_sio2, -1., &top_def_si_sio2));
+  world.add(std::make_shared<triangle_mesh>("../meshes/mesh_top_rect_ultrafine.dat", material_si3n4_sio2, 1., &top_def_sio2_si3n4));
+  world.add(std::make_shared<triangle_mesh>("../meshes/mesh_top_drum_ultrafine.dat", material_si3n4_air, 1., &top_def_quad_1));
   //world.add(std::make_shared<triangle_mesh>("../meshes/mesh_top_rect.dat", material_si3n4_air, 1., &top_def_const_1));
   //Bottom layer
-  world.add(std::make_shared<triangle_mesh>("../meshes/mesh_top_drum.dat", material_si3n4_air, -1., &top_def_quad_2));
-  world.add(std::make_shared<triangle_mesh>("../meshes/mesh_top_rect.dat", material_si3n4_air, -1., &top_def_const_2));
+  world.add(std::make_shared<triangle_mesh>("../meshes/mesh_top_drum_ultrafine.dat", material_si3n4_air, -1., &top_def_quad_2));
+  world.add(std::make_shared<triangle_mesh>("../meshes/mesh_top_rect_ultrafine.dat", material_si3n4_air, -1., &top_def_const_2));
 
   /*Bottom Wafer*/
   //Top layer
-- 
GitLab