Skip to content

Commit e578f21

Browse files
committed
fixed maximum volume option for tet meshes
1 parent 7b0f77a commit e578f21

File tree

3 files changed

+10
-3
lines changed

3 files changed

+10
-3
lines changed

CHANGELOG.rst

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,12 @@ All notable changes to this project will be documented in this file.
66
The format is based on `Keep a Changelog`_,
77
and this project adheres to `Semantic Versioning`_.
88

9+
`1.3.5`_ - 2020-09-20
10+
--------------------------
11+
Fixed
12+
'''''''
13+
- Tetrahedral mesh maximum volume setting no longer ignored.
14+
915
`1.3.4`_ - 2020-08-31
1016
--------------------------
1117
Removed
@@ -147,7 +153,8 @@ Added
147153

148154
.. LINKS
149155
150-
.. _`Unreleased`: https://github.com/kip-hart/MicroStructPy/compare/v1.3.4...HEAD
156+
.. _`Unreleased`: https://github.com/kip-hart/MicroStructPy/compare/v1.3.5...HEAD
157+
.. _`1.3.5`: https://github.com/kip-hart/MicroStructPy/compare/v1.3.4...v1.3.5
151158
.. _`1.3.4`: https://github.com/kip-hart/MicroStructPy/compare/v1.3.3...v1.3.4
152159
.. _`1.3.3`: https://github.com/kip-hart/MicroStructPy/compare/v1.3.2...v1.3.3
153160
.. _`1.3.2`: https://github.com/kip-hart/MicroStructPy/compare/v1.3.1...v1.3.2

src/microstructpy/__init__.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,4 +4,4 @@
44
import microstructpy.seeding
55
import microstructpy.verification
66

7-
__version__ = '1.3.4'
7+
__version__ = '1.3.5'

src/microstructpy/meshing/trimesh.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -307,7 +307,7 @@ def from_polymesh(cls, polymesh, phases=None, min_angle=0,
307307
else:
308308
opts = meshpy.tet.Options('pq')
309309
opts.mindihedral = min_angle
310-
opts.maxvolume = float('inf')
310+
opts.maxvolume = max_volume
311311
opts.fixedvolume = 1
312312
opts.regionattrib = 1
313313
opts.facesout = 1

0 commit comments

Comments
 (0)