const MED::PMeshInfo& aMeshInfo = theMesh->myMeshInfo;
MED::EMaillage aType = aMeshInfo->GetType();
-
+
//Main part of code
- if(MED::eNON_STRUCTURE){
+ if(aType==MED::eNON_STRUCTURE){
MED::PNodeInfo aNodeInfo = theMed->GetPNodeInfo(theMesh->myMeshInfo);
TInt aNbElem = aNodeInfo->GetNbElem();
if(aNodeInfo->GetFamNum(iElem) == anId)
aSubMeshID.push_back(iElem);
}
- } else {
+ }
+ else {
MED::PGrilleInfo aGrilleInfo = theMed->GetPGrilleInfo(aMeshInfo);
TInt aNbElem = aGrilleInfo->GetNbNodes();