From 3e22fed964ae72e551772de96f2cd37ac785d3bf Mon Sep 17 00:00:00 2001 From: Christophe Geuzaine <cgeuzaine@ulg.ac.be> Date: Fri, 8 Oct 2004 04:40:59 +0000 Subject: [PATCH] default partition number should be 1 --- utils/misc/mshsort.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/utils/misc/mshsort.cpp b/utils/misc/mshsort.cpp index 9789a4f4bb..32e1eb2af9 100644 --- a/utils/misc/mshsort.cpp +++ b/utils/misc/mshsort.cpp @@ -1,4 +1,4 @@ -// $Id: mshsort.cpp,v 1.1 2004-10-08 04:36:21 geuzaine Exp $ +// $Id: mshsort.cpp,v 1.2 2004-10-08 04:40:59 geuzaine Exp $ // // Copyright (C) 1997-2004 C. Geuzaine, J.-F. Remacle // @@ -144,7 +144,7 @@ double readMesh(char *fileName, map<int, node*> &nodes, vector<element*> &elemen int numElements; fscanf(fp, "%d", &numElements); for(int i = 0; i < numElements; i++) { - int num, type, physical, elementary, partition = 0, numNodes, numTags; + int num, type, physical, elementary, partition = 1, numNodes, numTags; if(version <= 1.0){ fscanf(fp, "%d %d %d %d %d", &num, &type, &physical, &elementary, &numNodes); -- GitLab