]> SALOME platform Git repositories - modules/smesh.git/commitdiff
Salome HOME
gag. unsupported STRUCTURED mesh.
authorenk <enk@opencascade.com>
Tue, 23 May 2006 13:44:38 +0000 (13:44 +0000)
committerenk <enk@opencascade.com>
Tue, 23 May 2006 13:44:38 +0000 (13:44 +0000)
will be implemented

src/DriverMED/DriverMED_R_SMESHDS_Mesh.cxx

index 87f33c81c7a318f63047d443d68c184c2098668b..ac423b45110d2c3d9e7843db87b488b173074a17 100644 (file)
@@ -83,6 +83,10 @@ DriverMED_R_SMESHDS_Mesh
        // Reading the MED mesh
        //---------------------
        PMeshInfo aMeshInfo = aMed->GetPMeshInfo(iMesh+1);
+
+       if (aMeshInfo->GetType() != MED::eNON_STRUCTURE)
+         continue; // not implemented yet
+
         string aMeshName;
         if (myMeshId != -1) {
           ostringstream aMeshNameStr;
@@ -94,6 +98,7 @@ DriverMED_R_SMESHDS_Mesh
        if(MYDEBUG) MESSAGE("Perform - aMeshName : "<<aMeshName<<"; "<<aMeshInfo->GetName());
        if(aMeshName != aMeshInfo->GetName()) continue;
         aResult = DRS_OK;
+
        //TInt aMeshDim = aMeshInfo->GetDim();
        
         // Reading MED families to the temporary structure