Skip to content

Commit

Permalink
replaced copy/paste from 2D gmsh
Browse files Browse the repository at this point in the history
  • Loading branch information
kip-hart committed Dec 25, 2020
1 parent 4e3fc9a commit 154ebc8
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions CHANGELOG.rst
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@ and this project adheres to `Semantic Versioning`_.
Fixed
'''''''
- Logo example failing on ReadTheDocs.
- 3D gmsh with variable mesh sizes.

`1.4.5`_ - 2020-12-24
--------------------------
Expand Down
2 changes: 1 addition & 1 deletion src/microstructpy/meshing/trimesh.py
Original file line number Diff line number Diff line change
Expand Up @@ -1018,7 +1018,7 @@ def _call_gmsh(pmesh, phases, res, edge_res):
kps = set().union(*[surf_kps[s] for s in surf_loop])
cen = pt_arr[list(kps)].mean(axis=0) # estimate center
pt = geom.add_point(_pt3d(cen), res)
geom.in_surface(pt, surfs[-1])
geom.in_volume(pt, volumes[-1])
else:
raise ValueError('Points cannot have dimension ' + str(n_dim) + '.')

Expand Down

0 comments on commit 154ebc8

Please sign in to comment.