From 8d28a8d9cc822cf7e073c7f065c5d767e0d1afba Mon Sep 17 00:00:00 2001 From: Christophe Geuzaine <cgeuzaine@ulg.ac.be> Date: Fri, 30 Jul 2010 09:12:09 +0000 Subject: [PATCH] pp --- Geo/GModel.cpp | 14 ++++++++------ Geo/GModel.h | 4 ++-- 2 files changed, 10 insertions(+), 8 deletions(-) diff --git a/Geo/GModel.cpp b/Geo/GModel.cpp index 62e8e8005d..449b858122 100644 --- a/Geo/GModel.cpp +++ b/Geo/GModel.cpp @@ -2078,7 +2078,8 @@ void GModel::registerBindings(binding *b) "points listed in a fullMatrix(N,3)"); cm->setArgNames("v1", "v2", "controlPoints", NULL); cm = cb->addMethod("addNURBS", &GModel::addNURBS); - cm->setDescription("creates a NURBS curve from v1 to v2 with control Points, knots, weights and multiplicities"); + cm->setDescription("creates a NURBS curve from v1 to v2 with control Points, " + "knots, weights and multiplicities"); cm->setArgNames("v1", "v2", "{{poles}}","{knots}","{weights}","{mult}",NULL); cm = cb->addMethod("addFace", &GModel::addFace); cm->setDescription("creates a face that is constraint by edges and points"); @@ -2145,12 +2146,13 @@ void GModel::registerBindings(binding *b) cm->setDescription("Create an empty GModel"); cm = cb->addMethod("getPhysicalName", &GModel::getPhysicalName); - cm->setDescription("get the name of an physical group, identified by its dimension and number. " - "Returns empty string if physical name is not assigned"); + cm->setDescription("get the name of an physical group, identified by its " + "dimension and number. Returns empty string if physical " + "name is not assigned"); cm->setArgNames("dim","number",NULL); cm = cb->addMethod("setPhysicalName", &GModel::setPhysicalName); - cm->setDescription("set the name of an physical group, identified by its dimension and number. " - "If number=0, the first free number is chosen. Returns the number."); + cm->setDescription("set the name of an physical group, identified by its " + "dimension and number. If number=0, the first free number " + "is chosen. Returns the number."); cm->setArgNames("physicalName","dim","number",NULL); - } diff --git a/Geo/GModel.h b/Geo/GModel.h index d1e7983934..19fffce6ac 100644 --- a/Geo/GModel.h +++ b/Geo/GModel.h @@ -432,8 +432,8 @@ class GModel _storePhysicalTagsInEntities(dim, physicalMap); _associateEntityWithMeshVertices(); } - - void storeChain(std::vector<MVertex*> &vertices,int dim, std::map<int, std::vector<MElement*> > &entityMap, + void storeChain(std::vector<MVertex*> &vertices, int dim, + std::map<int, std::vector<MElement*> > &entityMap, std::map<int, std::map<int, std::string> > &physicalMap) { _storeVerticesInEntities(vertices); -- GitLab