From: ageay Date: Mon, 22 Jul 2013 06:08:53 +0000 (+0000) Subject: Debug of RENUMBER test. X-Git-Tag: B4PolyhIntersect~71 X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=1489a682f1552fafcc71f4c0fe507e38ca687a33;p=modules%2Fmed.git Debug of RENUMBER test. --- diff --git a/src/MEDLoader/MEDFileField.cxx b/src/MEDLoader/MEDFileField.cxx index 3e28557a1..00dbb7b36 100644 --- a/src/MEDLoader/MEDFileField.cxx +++ b/src/MEDLoader/MEDFileField.cxx @@ -2343,11 +2343,16 @@ MEDFileFieldPerMesh::MEDFileFieldPerMesh(med_idt fid, MEDFileAnyTypeField1TSWith for(int i=0;i0 || nbProfile2>0) { _field_pm_pt.push_back(MEDFileFieldPerMeshPerType::NewOnRead(fid,this,ON_CELLS,typmai2[i],nasc)); - _mesh_name=MEDLoaderBase::buildStringFromFortran(meshName,MED_NAME_SIZE+1); + if(nbProfile>0) + _mesh_name=name0; + else + _mesh_name=name1; } } int nbProfile=MEDfield23nProfile(fid,nasc.getName().c_str(),getIteration(),getOrder(),MED_NODE,MED_NONE,_mesh_csit,meshName,pflName,locName);