From f32efb5a474c22c7ea924054842539caa9ca6bcf Mon Sep 17 00:00:00 2001 From: Christophe Geuzaine <cgeuzaine@ulg.ac.be> Date: Tue, 11 Mar 2008 22:37:50 +0000 Subject: [PATCH] *** empty log message *** --- Geo/GModel.cpp | 13 +++++++------ 1 file changed, 7 insertions(+), 6 deletions(-) diff --git a/Geo/GModel.cpp b/Geo/GModel.cpp index 2d43ec00a3..0b5c8ff8b4 100644 --- a/Geo/GModel.cpp +++ b/Geo/GModel.cpp @@ -1,4 +1,4 @@ -// $Id: GModel.cpp,v 1.69 2008-03-11 20:03:10 geuzaine Exp $ +// $Id: GModel.cpp,v 1.70 2008-03-11 22:37:50 geuzaine Exp $ // // Copyright (C) 1997-2008 C. Geuzaine, J.-F. Remacle // @@ -646,18 +646,19 @@ static int checkElements(int tag, } else{ char temp[256], temp2[256]; - sprintf(temp, "Elements %d tag %d(", (*it)->getNum(), tag); - for (int i = 0; i <(*it)->getNumVertices();i++){ + sprintf(temp, "Elements %d ( ", (*it)->getNum()); + for (int i = 0; i < (*it)->getNumVertices();i++){ sprintf(temp2, "%d ", (*it)->getVertex(i)->getNum()); strcat(temp, temp2); } - sprintf(temp2, ") and %d(",e->getNum()); + sprintf(temp2, ") on entity %d has same barycenter as element %d ( ", + tag, e->getNum()); strcat(temp, temp2); for (int i = 0; i < e->getNumVertices(); i++){ - sprintf(temp2, "%d", e->getVertex(i)->getNum()); + sprintf(temp2, "%d ", e->getVertex(i)->getNum()); strcat(temp, temp2); } - sprintf(temp2, ") have identical barycenter"); + sprintf(temp2, ")"); strcat(temp, temp2); Msg(INFO, "%s", temp); num++; -- GitLab