From dbe0aaa1bcf36c590152bff36c0967d62470db87 Mon Sep 17 00:00:00 2001 From: Matthias Hochsteger Date: Fri, 4 Oct 2019 15:33:24 +0200 Subject: [PATCH] Sort table after parallel creation --- libsrc/meshing/meshclass.cpp | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/libsrc/meshing/meshclass.cpp b/libsrc/meshing/meshclass.cpp index 3a4a930c..46e299ab 100644 --- a/libsrc/meshing/meshclass.cpp +++ b/libsrc/meshing/meshclass.cpp @@ -1912,6 +1912,11 @@ namespace netgen }); auto elsonpoint = creator.MoveTable(); + + ParallelFor (Range(elsonpoint), [&] (auto i) + { + QuickSort(elsonpoint[i]); + }); NgArray numonpoint(np); /*