From: ageay Date: Thu, 4 Feb 2010 14:38:47 +0000 (+0000) Subject: Adding support name to avoid problem on writing. X-Git-Tag: V5_1_main_FINAL~222 X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=7519475f99067caf610f6cc5008f7ef8265aef5c;p=tools%2Fmedcoupling.git Adding support name to avoid problem on writing. --- diff --git a/src/ParaMEDMEM/ICoCoMEDField.cxx b/src/ParaMEDMEM/ICoCoMEDField.cxx index 5a6764a37..e0a98a29a 100644 --- a/src/ParaMEDMEM/ICoCoMEDField.cxx +++ b/src/ParaMEDMEM/ICoCoMEDField.cxx @@ -115,6 +115,8 @@ namespace ICoCo ParaMEDMEM::DataArrayDouble *fieldArr=ParaMEDMEM::DataArrayDouble::New(); fieldArr->alloc(_field->getNumberOfTuples(),triofield._nb_field_components); _field->setName(triofield.getName().c_str()); + std::string meshName("SupportOf_"); meshName+=_field->getName(); + _mesh->setName(meshName.c_str()); _field->setTime(triofield._time1,0,triofield._itnumber); if (triofield._field!=0) {