aField->myName = aFieldName;
aField->myMeshName = aMeshName;
aField->myDataSize = aMeshOnEntity->myNbCells * aNbComp;
- aField->myIsELNO = true; // To set it true by default
-
+ aField->myIsELNO = ( aMEntity == MED::eNOEUD_ELEMENT );
+
INITMSG(MYDEBUG,"myName = '"<<aField->myName<<"'"<<
"; myId = "<<aField->myId<<
"; myEntity = "<<aField->myEntity<<
TInt aNbGauss = anIter->second;
aVGeom2NbGauss[ aEGeom ] = aNbGauss;
- // ELNO data should satisfy the following condition ( implcitly )
+ // ELNO data should satisfy the following condition ( implicitly )
vtkIdType aNbNodes = MEDGeom2NbNodes( aMGeom );
aField->myIsELNO &= ( aNbGauss == aNbNodes );
}
}
-
- // ELNO data should satisfy the following condition ( explicitly )
- aField->myIsELNO |= ( aMEntity == MED::eNOEUD_ELEMENT );
}
}