We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 9e9bf34 commit 635150eCopy full SHA for 635150e
src/viewtypes.jl
@@ -94,3 +94,7 @@ function connect(points::AbstractMatrix{T}, P::Type{<:Point{N}}) where {T <: Rea
94
error("Dim 1 or 2 must be equal to the point dimension!")
95
end
96
97
+
98
+function connect(elements::AbstractVector, faces::AbstractVector{<: AbstractFace})
99
+ return [elements[i] for f in faces for i in f]
100
+end
0 commit comments