From fa341836767dca30b682b22a3ef294f2a56c28d8 Mon Sep 17 00:00:00 2001 From: Jukka Aho Date: Sat, 9 May 2026 18:22:16 +0300 Subject: [PATCH] docs(topology): clarify pyramid support and dedupe nnodes/export Point readers at missing higher-order pyramids, adopt `LICENSE.md`, drop the redundant `nnodes` method, and remove duplicate exports. - Remove `nnodes(::Pyramid{N})` and `export Pyr5` (manifest handles exports). --- src/topology/pyramids.jl | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/src/topology/pyramids.jl b/src/topology/pyramids.jl index dea7813..cfe3087 100644 --- a/src/topology/pyramids.jl +++ b/src/topology/pyramids.jl @@ -1,5 +1,5 @@ # This file is a part of JuliaFEM. -# License is MIT: see https://github.com/JuliaFEM/JuliaFEM.jl/blob/master/LICENSE +# License is MIT: see https://github.com/JuliaFEM/JuliaFEM.jl/blob/master/LICENSE.md """ Pyramid{N} <: AbstractTopology{N} @@ -8,13 +8,13 @@ Pyramidal topology with N nodes. # Node Count Variants - `Pyramid{5}` (alias `Pyr5`): Linear pyramid (P1) -- `Pyramid{13}` (alias `Pyr13`): Quadratic pyramid (P2) + +Higher-order pyramid variants (e.g. quadratic Pyramid{13}) are not implemented yet. """ struct Pyramid{N} <: AbstractTopology{N} end const Pyr5 = Pyramid{5} -nnodes(::Pyramid{N}) where {N} = N dim(::Pyramid{N}) where {N} = 3 function reference_coordinates(::Pyramid{5}) @@ -56,4 +56,3 @@ nvertices(::Pyramid) = 5 nedges(::Pyramid) = 8 nfaces(::Pyramid) = 5 -export Pyr5