From 7519475f99067caf610f6cc5008f7ef8265aef5c Mon Sep 17 00:00:00 2001 From: ageay Date: Thu, 4 Feb 2010 14:38:47 +0000 Subject: [PATCH] Adding support name to avoid problem on writing. --- src/ParaMEDMEM/ICoCoMEDField.cxx | 2 ++ 1 file changed, 2 insertions(+) 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) { -- 2.39.2