]> SALOME platform Git repositories - tools/medcoupling.git/commitdiff
Salome HOME
For compatibility with med2.3.6
authorageay <ageay>
Thu, 1 Jul 2010 10:12:19 +0000 (10:12 +0000)
committerageay <ageay>
Thu, 1 Jul 2010 10:12:19 +0000 (10:12 +0000)
src/MEDLoader/MEDLoader.cxx

index 222fe1c45949613ac3ee9db277d78e5062f2e6f6..51ea8bb8f35a63d0cc715efe08b246147e499079 100644 (file)
@@ -1161,6 +1161,7 @@ void MEDLoaderNS::writeUMeshDirectly(const char *fileName, ParaMEDMEM::MEDCoupli
   char maa[MED_TAILLE_NOM+1];
   strcpy(maa,meshName.c_str());
   MEDmaaCr(fid,maa,mesh->getSpaceDimension(),MED_NON_STRUCTURE,maa);
+  MEDdimEspaceCr(fid,maa,mesh->getSpaceDimension());
   std::set<INTERP_KERNEL::NormalizedCellType> allTypes(mesh->getAllTypes());
   DataArrayInt *conn=mesh->getNodalConnectivity();
   DataArrayInt *connIndex=mesh->getNodalConnectivityIndex();