ENH: use simpler constructor forms for treeData types

This commit is contained in:
Mark Olesen
2022-11-14 16:28:12 +01:00
committed by Andrew Heather
parent fc0b980333
commit 98598ba0bb
17 changed files with 68 additions and 155 deletions

View File

@ -166,11 +166,7 @@ void createBoundaryEdgeTrees
// Boundary edges
treeBoundaryEdges[surfI] =
identity
(
surf.nEdges() - surf.nInternalEdges(),
surf.nInternalEdges()
);
identity(surf.nBoundaryEdges(), surf.nInternalEdges());
Random rndGen(17301893);
@ -188,9 +184,8 @@ void createBoundaryEdgeTrees
(
treeDataEdge
(
false, // cachebb
surf.edges(), // edges
surf.localPoints(), // points
surf.edges(),
surf.localPoints(),
treeBoundaryEdges[surfI] // selected edges
),
bb, // bb