]> SALOME platform Git repositories - tools/medcoupling.git/commitdiff
Salome HOME
improve error message.
authorageay <ageay>
Fri, 17 Jan 2014 16:30:28 +0000 (16:30 +0000)
committerageay <ageay>
Fri, 17 Jan 2014 16:30:28 +0000 (16:30 +0000)
src/MEDLoader/MEDFileFieldOverView.cxx

index da8dd8ec3a04b72f34943b35bb66a4c5ff4bb8a4..2a6f8fceef71e7ecea363e18f25cc83da0d3bed4 100644 (file)
@@ -415,7 +415,7 @@ DataArray *MEDMeshMultiLev::constructDataArray(const MEDFileField1TSStructItem&
           MEDCouplingAutoRefCountObjectPtr<DataArrayInt> p2(nr->deepCpy());
           p1->sort(true); p2->sort(true);
           if(!p1->isEqualWithoutConsideringStr(*p2))
-            throw INTERP_KERNEL::Exception("MEDMeshMultiLev::constructDataArray : unexpected situation for nodes 3 !");
+            throw INTERP_KERNEL::Exception("MEDMeshMultiLev::constructDataArray : it appears that a profile on nodes does not cover the cells correctly !");
           p1=DataArrayInt::FindPermutationFromFirstToSecond(globs->getProfile(pflName.c_str()),nr);
           MEDCouplingAutoRefCountObjectPtr<DataArray> ret(vals->deepCpy());
           ret->renumberInPlace(p1->begin());