From 7e062372d4eb9f012ec7e09fe9b2ba55127b3751 Mon Sep 17 00:00:00 2001 From: Lukas Date: Tue, 12 Jun 2018 11:28:51 +0200 Subject: [PATCH] Fixed it now? --- libsrc/interface/nginterface.cpp | 5 ++--- libsrc/meshing/meshclass.cpp | 2 ++ 2 files changed, 4 insertions(+), 3 deletions(-) diff --git a/libsrc/interface/nginterface.cpp b/libsrc/interface/nginterface.cpp index e69edec8..f7dbe77b 100644 --- a/libsrc/interface/nginterface.cpp +++ b/libsrc/interface/nginterface.cpp @@ -128,14 +128,13 @@ void Ng_LoadMesh (const char * filename) } istream * infile; + char* buf; // for distributing geometry! + int strs; #ifdef PARALLEL MPI_Comm_size(MPI_COMM_WORLD, &ntasks); MPI_Comm_rank(MPI_COMM_WORLD, &id); - char* buf; // for distributing geometry! - int strs; - if (id == 0) { #endif diff --git a/libsrc/meshing/meshclass.cpp b/libsrc/meshing/meshclass.cpp index a89a6ff3..a3d96dd7 100644 --- a/libsrc/meshing/meshclass.cpp +++ b/libsrc/meshing/meshclass.cpp @@ -5856,6 +5856,8 @@ namespace netgen { if (!GetGeometry()) throw NgException ("don't have a geometry for mesh curving"); + + cout << "Build Curved Elements, order = " << aorder << endl; GetCurvedElements().BuildCurvedElements (&GetGeometry()->GetRefinement(), aorder, false);