File tree 2 files changed +9
-12
lines changed
2 files changed +9
-12
lines changed Load Diff This file was deleted.
Original file line number Diff line number Diff line change @@ -22,7 +22,7 @@ def test_remesh_surface():
22
22
pygalmesh ._cli .cli (
23
23
[
24
24
"remesh-surface" ,
25
- str (this_dir / "meshes" / "lion-head .vtu" ),
25
+ str (this_dir / "meshes" / "elephant .vtu" ),
26
26
out_filename ,
27
27
"--max-edge-size-at-feature-edges" ,
28
28
"0.025" ,
@@ -39,12 +39,12 @@ def test_remesh_surface():
39
39
40
40
tol = 1.0e-3
41
41
refs = [
42
- 3.705640e -01 ,
43
- - 3.711630e -01 ,
44
- 4.754940e -01 ,
45
- - 4.728260e -01 ,
46
- 4.998690e -01 ,
47
- - 4.998350e -01 ,
42
+ 3.60217000e -01 ,
43
+ - 3.60140000e -01 ,
44
+ 4.98948000e -01 ,
45
+ - 4.99336000e -01 ,
46
+ 3.00977000e -01 ,
47
+ - 3.01316000e -01 ,
48
48
]
49
49
vals = [
50
50
max (mesh .points [:, 0 ]),
@@ -61,5 +61,5 @@ def test_remesh_surface():
61
61
vol = sum (
62
62
helpers .compute_triangle_areas (mesh .points , mesh .get_cells_type ("triangle" ))
63
63
)
64
- ref = 1.917942005786831
65
- assert abs (vol - ref ) < ref * 1.0e-3
64
+ ref = 1.2357989593759846
65
+ assert abs (vol - ref ) < ref * 1.0e-3 , vol
You can’t perform that action at this time.
0 commit comments