From c0534c5e0a24d1e70c637b3a1a693fedafc37880 Mon Sep 17 00:00:00 2001 From: Joachim Schoeberl Date: Tue, 8 Jun 2021 14:33:32 +0200 Subject: [PATCH] partition array also in sequential version --- libsrc/meshing/meshclass.hpp | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/libsrc/meshing/meshclass.hpp b/libsrc/meshing/meshclass.hpp index 1bea4a7d..83f28c89 100644 --- a/libsrc/meshing/meshclass.hpp +++ b/libsrc/meshing/meshclass.hpp @@ -917,9 +917,6 @@ namespace netgen /// loads a mesh sent from master processor void ReceiveParallelMesh (); - NgArray vol_partition; - NgArray surf_partition; - NgArray seg_partition; #else void ParallelMetis (int /* nproc */) {} @@ -929,6 +926,10 @@ namespace netgen NgArray & segment_weights){ } #endif + NgArray vol_partition; + NgArray surf_partition; + NgArray seg_partition; + shared_ptr Mirror( netgen::Point<3> p, Vec<3> n ); private: