From a85b33e34534372d908b122b2f5d15c8babd5c27 Mon Sep 17 00:00:00 2001 From: Lukas Date: Fri, 19 Apr 2019 13:51:37 +0200 Subject: [PATCH] fix vol el NP for 2-dim meshes --- libsrc/meshing/parallelmesh.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libsrc/meshing/parallelmesh.cpp b/libsrc/meshing/parallelmesh.cpp index 0843ecda..47d3ad21 100644 --- a/libsrc/meshing/parallelmesh.cpp +++ b/libsrc/meshing/parallelmesh.cpp @@ -873,7 +873,7 @@ namespace netgen *testout << "got " << numvert << " vertices" << endl; { - Element el(dim==2 ? 3 : 4); + Element el(4); Array elarray; MyMPI_Recv (elarray, 0, MPI_TAG_MESH+2, comm);