Skip to content

Commit 4950190

Browse files
committed
Improve tetgen parameters
- suppress some output we do not need - reduces allocations ~20%
1 parent cbeef13 commit 4950190

File tree

1 file changed

+8
-1
lines changed

1 file changed

+8
-1
lines changed

src/tetgen.jl

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,12 @@
11
function delaunayn(points)
2-
tetio = tetrahedralize(TetGen.TetgenIO(points), "Q") # Q- Quiet
2+
# M - no merge of close facets
3+
# J - no jettison of points
4+
# B - No boundary info
5+
# N - No node output
6+
# F - No face and edge info
7+
# I - No mesh iteration numbers
8+
# Q - Quiet
9+
tetio = tetrahedralize(TetGen.TetgenIO(points), "JBNFIQ")
310
tetio
411
end
512

0 commit comments

Comments
 (0)