Skip to content

Commit 44de3f4

Browse files
committed
add notes about views
1 parent 5da7aa8 commit 44de3f4

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

src/meshes.jl

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -237,6 +237,9 @@ Generates a new mesh containing all the data of the individual meshes.
237237
238238
If all meshes are consistent in their use of FaceViews they will be preserved.
239239
Otherwise all of them will be converted with `clear_faceviews(mesh)`.
240+
241+
This function will generate `views` in the new mesh which correspond to the
242+
inputs of this function.
240243
"""
241244
function Base.merge(meshes::AbstractVector{<:Mesh})
242245
return if isempty(meshes)
@@ -331,7 +334,8 @@ end
331334
332335
Returns the given `mesh` if it contains no FaceViews. Otherwise, generates a new
333336
mesh that contains no FaceViews, reordering and duplicating vertex atttributes
334-
as necessary.
337+
as necessary. If the mesh has `views` they will be adjusted as needed to produce
338+
the same submeshes.
335339
"""
336340
function clear_faceviews(mesh::Mesh)
337341
main_fs = faces(mesh)

0 commit comments

Comments
 (0)