From 15012c220e935d8cfd3c88ad294801c48a4973cc Mon Sep 17 00:00:00 2001 From: Christophe Geuzaine <cgeuzaine@ulg.ac.be> Date: Sun, 16 Oct 2005 15:55:46 +0000 Subject: [PATCH] *** empty log message *** --- Mesh/Generator.cpp | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/Mesh/Generator.cpp b/Mesh/Generator.cpp index 1d803e3a2e..d34f0f6ef6 100644 --- a/Mesh/Generator.cpp +++ b/Mesh/Generator.cpp @@ -1,4 +1,4 @@ -// $Id: Generator.cpp,v 1.71 2005-09-07 14:36:45 remacle Exp $ +// $Id: Generator.cpp,v 1.72 2005-10-16 15:55:46 geuzaine Exp $ // // Copyright (C) 1997-2005 C. Geuzaine, J.-F. Remacle // @@ -534,8 +534,9 @@ void mai3d(Mesh * M, int Asked) if(M->status && CTX.mesh.order == 2) Degre2(M->status); + if(M->status > 1 && CTX.mesh.nbPartitions != 1) - PartitionMesh ( M , CTX.mesh.nbPartitions); + PartitionMesh(M, CTX.mesh.nbPartitions); CTX.threads_lock = 0; CTX.mesh.changed = 1; -- GitLab