]> SALOME platform Git repositories - tools/medcoupling.git/commitdiff
Salome HOME
Adding support name to avoid problem on writing.
authorageay <ageay>
Thu, 4 Feb 2010 14:38:47 +0000 (14:38 +0000)
committerageay <ageay>
Thu, 4 Feb 2010 14:38:47 +0000 (14:38 +0000)
src/ParaMEDMEM/ICoCoMEDField.cxx

index 5a6764a37958598c5b98b7c62593e7dc1b82188d..e0a98a29a57bfd2ed38f94feaff2bdd086aef770 100644 (file)
@@ -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)
       {