Skip to content

Commit 7c7cf15

Browse files
committed
update commments
1 parent a610ef3 commit 7c7cf15

File tree

2 files changed

+9
-3
lines changed

2 files changed

+9
-3
lines changed

src/DistMesh.jl

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13,9 +13,13 @@ abstract type AbstractDistMeshAlgorithm end
1313
"""
1414
DistMeshSetup
1515
16-
iso (default: 0): Value of which to extract the iso surface, inside negative
16+
Takes Keyword arguments as follows:
17+
18+
iso (default: 0): Value of which to extract the isosurface, inside surface is negative
1719
deltat (default: 0.1): the fraction of edge displacement to apply each iteration
18-
sort (default:false):
20+
sort (default:false): If true and no fixed points, sort points using a hilbert sort.
21+
sort_interval (default:20) Use hilbert sort after the specified retriangulations
22+
distribution (default: :regular) Initial point distribution, either :regular or :packed.
1923
"""
2024
struct DistMeshSetup{T} <: AbstractDistMeshAlgorithm
2125
iso::T

src/distmeshnd.jl

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -100,7 +100,9 @@ function distmesh(fdist::Function,
100100
hilbertsort!(p)
101101
end
102102

103-
delaunayn!(fdist, p, t, geps, false) # compute a new delaunay triangulation
103+
# compute a new delaunay triangulation
104+
# we use the default random insertion method
105+
delaunayn!(fdist, p, t, geps, false)
104106

105107
tet_to_edges!(pair, pair_set, t) # Describe each edge by a unique pair of nodes
106108

0 commit comments

Comments
 (0)