File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -102,7 +102,7 @@ def _get_inr_parser():
102102 )
103103
104104 parser .add_argument (
105- "--cell-radius -edge-ratio" ,
105+ "--max-circumradius -edge-ratio" ,
106106 "-r" ,
107107 type = float ,
108108 default = 0.0 ,
Original file line number Diff line number Diff line change @@ -103,7 +103,7 @@ def _get_volume_from_surface_parser():
103103 )
104104
105105 parser .add_argument (
106- "--cell-radius -edge-ratio" ,
106+ "--max-circumradius -edge-ratio" ,
107107 "-r" ,
108108 type = float ,
109109 default = 0.0 ,
Original file line number Diff line number Diff line change @@ -11,7 +11,7 @@ def test_rectangle():
1111 mesh = pygalmesh .generate_2d (
1212 points ,
1313 constraints ,
14- max_edge_size_at_feature_edges = 1.0e-1 ,
14+ max_edge_size = 1.0e-1 ,
1515 num_lloyd_steps = 10 ,
1616 )
1717
@@ -47,7 +47,7 @@ def test_disk():
4747 mesh = pygalmesh .generate_2d (
4848 points ,
4949 constraints ,
50- max_edge_size_at_feature_edges = h ,
50+ max_edge_size = h ,
5151 num_lloyd_steps = 0 ,
5252 )
5353 areas = compute_triangle_areas (mesh .points , mesh .get_cells_type ("triangle" ))
Original file line number Diff line number Diff line change @@ -18,7 +18,7 @@ def test_inr():
1818 [
1919 str (this_dir / "meshes" / "skull_2.9.inr" ),
2020 out_filename ,
21- "--cell-size " ,
21+ "--max- cell-circumradius " ,
2222 "5.0" ,
2323 "--quiet" ,
2424 ]
Original file line number Diff line number Diff line change 77import pygalmesh
88
99
10- def test_inr ():
10+ def test_remesh_surface ():
1111 this_dir = pathlib .Path (__file__ ).resolve ().parent
1212 # mesh = pygalmesh.remesh_surface(
1313 # this_dir / "meshes" / "lion-head.off",
@@ -23,13 +23,13 @@ def test_inr():
2323 [
2424 str (this_dir / "meshes" / "lion-head.off" ),
2525 out_filename ,
26- "--edge-size" ,
26+ "--max- edge-size-at-feature-edges " ,
2727 "0.025" ,
28- "--facet-angle" ,
28+ "--min- facet-angle" ,
2929 "25" ,
30- "--facet-size " ,
30+ "--max-radius-surface-delaunay-ball " ,
3131 "0.1" ,
32- "--facet-distance" ,
32+ "--max- facet-distance" ,
3333 "0.001" ,
3434 "--quiet" ,
3535 ]
Original file line number Diff line number Diff line change @@ -23,13 +23,13 @@ def test_volume_from_surface():
2323 [
2424 str (this_dir / "meshes" / "elephant.vtu" ),
2525 out_filename ,
26- "--facet-angle" ,
26+ "--min- facet-angle" ,
2727 "0.5" ,
28- "--facet-size " ,
28+ "--max-radius-surface-delaunay-ball " ,
2929 "0.15" ,
30- "--facet-distance" ,
30+ "--max- facet-distance" ,
3131 "0.008" ,
32- "--cell-radius -edge-ratio" ,
32+ "--max-circumradius -edge-ratio" ,
3333 "3.0" ,
3434 "--quiet" ,
3535 ]
You can’t perform that action at this time.
0 commit comments