Skip to content

Commit a0a6a84

Browse files
committed
update Mesh docs
1 parent 44de3f4 commit a0a6a84

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

docs/src/meshes.md

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,12 +8,14 @@ A `Mesh` is defined by the following struct:
88

99
```julia
1010
struct Mesh{
11-
Dim, PositionElType <: Real,
11+
Dim, T <: Real, # TODO: Number?
1212
FT <: AbstractFace,
13+
Names,
14+
VAT <: Tuple{<: AbstractVector{Point{Dim, T}}, Vararg{VertexAttributeType}},
1315
FVT <: AbstractVector{FT}
1416
} <: AbstractMesh{Dim, T}
1517

16-
vertex_attributes::Dict{Symbol, Union{FaceView, AbstractVector}}
18+
vertex_attributes::NamedTuple{Names, VAT}
1719
faces::FVT
1820
views::Vector{UnitRange{Int}}
1921
end

0 commit comments

Comments
 (0)