From f98062872e0ce1e2f87c2f42cd73093d2f9cb241 Mon Sep 17 00:00:00 2001
From: Thomas Fischer <thomas.fischer@ufz.de>
Date: Fri, 17 Feb 2017 11:38:34 +0100
Subject: [PATCH] [A/U/MP] Write all values (inclusive ghost vals).

---
 .../ModelPreparation/PartitionMesh/NodeWiseMeshPartitioner.cpp  | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/Applications/Utils/ModelPreparation/PartitionMesh/NodeWiseMeshPartitioner.cpp b/Applications/Utils/ModelPreparation/PartitionMesh/NodeWiseMeshPartitioner.cpp
index 69b07e02b67..544b8d23727 100644
--- a/Applications/Utils/ModelPreparation/PartitionMesh/NodeWiseMeshPartitioner.cpp
+++ b/Applications/Utils/ModelPreparation/PartitionMesh/NodeWiseMeshPartitioner.cpp
@@ -341,7 +341,7 @@ void NodeWiseMeshPartitioner::writePropertiesBinary(
     {
         MeshLib::IO::PropertyVectorPartitionMetaData pvpmd;
         pvpmd.offset = offset;
-        pvpmd.number_of_tuples = partition.number_of_non_ghost_nodes;
+        pvpmd.number_of_tuples = partition.nodes.size();
         MeshLib::IO::writePropertyVectorPartitionMetaData(out, pvpmd);
         offset += pvpmd.number_of_tuples;
     }
-- 
GitLab