]> SALOME platform Git repositories - modules/med.git/commitdiff
Salome HOME
fix for PAL12560. Add missing offset increment in writeFamilyNumbers()
authoreap <eap@opencascade.com>
Wed, 7 Jun 2006 08:48:27 +0000 (08:48 +0000)
committereap <eap@opencascade.com>
Wed, 7 Jun 2006 08:48:27 +0000 (08:48 +0000)
src/MEDMEM/MEDMEM_MedMeshDriver22.cxx

index 829e28ab3e33ee7e7481e2f039b18ee525ea3bf8..09f171d38bc5ae7a2ddf72d9c7027ed8edabafe5 100644 (file)
@@ -2845,6 +2845,7 @@ int MED_MESH_WRONLY_DRIVER22::writeFamilyNumbers() const {
          throw MEDEXCEPTION(LOCALIZED(STRING(LOC) << "Can't write family for the |"<< _ptrMesh->getNumberOfElements(entity, types[i])
                                       << "| cells of geometric type |" << geoNames[types[i]] <<"|in mesh |"      
                                       << _ptrMesh->_name.c_str() << "|" ));   
+       offset+=typeNumberOfElements;  
       }
 //CCRT Clutter
 //CCRT#if defined(IRIX64) || defined(OSF1) || defined(VPP5000)