Skip to content

Commit

Permalink
Update hfun.py
Browse files Browse the repository at this point in the history
  • Loading branch information
felicio93 authored Jul 1, 2024
1 parent d9e8cb1 commit 9e3edd3
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions tests/api/hfun.py
Original file line number Diff line number Diff line change
Expand Up @@ -752,15 +752,15 @@ def _check_applied_refinement(self, msh_t, refine_gdf, target_size):

refine_msh_t = ocsmesh.Hfun(ocsmesh.Mesh(ocsmesh.utils.clip_mesh_by_shape(
mesh=msh_t,
shape=refine_gdf.unary_union,
shape=refine_gdf.union_all(),
fit_inside=True,
inverse=False
)))
refine_msh_t.size_from_mesh()
refine_avg = np.mean(refine_msh_t.msh_t().value)
rest_msh_t = ocsmesh.Hfun(ocsmesh.Mesh(ocsmesh.utils.clip_mesh_by_shape(
mesh=msh_t,
shape=refine_gdf.unary_union,
shape=refine_gdf.union_all(),
fit_inside=False,
inverse=True
)))
Expand Down

0 comments on commit 9e3edd3

Please sign in to comment.