File tree Expand file tree Collapse file tree 2 files changed +3
-2
lines changed
Expand file tree Collapse file tree 2 files changed +3
-2
lines changed Original file line number Diff line number Diff line change @@ -15,8 +15,10 @@ def random_mesh() -> Mesh:
1515 :param num_nodes_max: number of nodes of the final mesh
1616 :return: a random mesh
1717 """
18+ filename = os .path .join (os .path .dirname (__file__ ), '../mesh_files/t1_quad.msh' )
1819 #filename = os.path.join('../mesh_files/', 't1_quad.msh')
19- mesh = read_gmsh ("/home/ropercha/PycharmProjects/tune/mesh_files/t1_quad.msh" )
20+ #mesh = read_gmsh("/home/ropercha/PycharmProjects/tune/mesh_files/t1_quad.msh")
21+ mesh = read_gmsh (filename )
2022 mesh_shuffle (mesh , 10 )
2123 return mesh
2224
Original file line number Diff line number Diff line change @@ -126,7 +126,6 @@ def test_random_quad(self):
126126 filename = os .path .join (TESTFILE_FOLDER , 't1_quad.msh' )
127127 cmap = read_gmsh (filename )
128128 plot_mesh (cmap )
129-
130129 mesh = random_mesh ()
131130 plot_mesh (mesh )
132131
You can’t perform that action at this time.
0 commit comments