"'; myNbPoints = "<<aMesh->myNbPoints<<
"; aDim = "<<aDim<<"\n");
- BEGMSG(MYDEBUG,"aEntityInfo.size() = "<<aEntityInfo.size()<<"\n");
- TFamilyCounterMap aFamilyID2CellsSize;
-
- BuildMeshOnEntityMap(aMesh,
- aFamilyID2CellsSize,
- aEntityInfo,
- aNodeInfo,
- aMed);
-
- BuildFieldMap(aMesh,
- aEntityInfo,
- aMKey2Profile,
- aKey2Gauss,
- aMed);
+#ifndef _DEXCEPT_
+ try{
+#endif
+ BEGMSG(MYDEBUG,"aEntityInfo.size() = "<<aEntityInfo.size()<<"\n");
+ TFamilyCounterMap aFamilyID2CellsSize;
+
+ BuildMeshOnEntityMap(aMesh,
+ aFamilyID2CellsSize,
+ aEntityInfo,
+ aNodeInfo,
+ aMed);
+
+ BuildFieldMap(aMesh,
+ aEntityInfo,
+ aMKey2Profile,
+ aKey2Gauss,
+ aMed);
#ifdef _LOAD_FAMILIES_
- MED::TFamilyInfoSet aFamilyInfoSet = MED::GetFamilyInfoSet(aMed,aMeshInfo);
-
- BuildFamilyMap(aMesh,
- aFamilyID2CellsSize,
- aEntityInfo,
- anEntity2TGeom2ElemInfo,
- aFamilyInfoSet,
- aMed);
-
- BuildGroupMap(aMesh,
- aFamilyInfoSet);
+ MED::TFamilyInfoSet aFamilyInfoSet = MED::GetFamilyInfoSet(aMed,aMeshInfo);
+
+ BuildFamilyMap(aMesh,
+ aFamilyID2CellsSize,
+ aEntityInfo,
+ anEntity2TGeom2ElemInfo,
+ aFamilyInfoSet,
+ aMed);
+
+ BuildGroupMap(aMesh,
+ aFamilyInfoSet);
#endif
- PCalculateMinMax aCalculateMinMax(new TCalculateMinMax(aMesh,
- aEntityInfo,
- aMKey2Profile,
- aKey2Gauss,
- aMed));
+ PCalculateMinMax aCalculateMinMax(new TCalculateMinMax(aMesh,
+ aEntityInfo,
+ aMKey2Profile,
+ aKey2Gauss,
+ aMed));
- boost::thread aThread(boost::bind(&CalculateMinMax,aCalculateMinMax));
+ boost::thread aThread(boost::bind(&CalculateMinMax,aCalculateMinMax));
+#ifndef _DEXCEPT_
+ }catch(std::exception& exc){
+ MSG(MYDEBUG,"Follow exception was occured in:\n"<<exc.what());
+ }catch(...){
+ EXCEPTION(runtime_error,"Unknown exception !!!");
+ }
+#endif
#ifndef _DEXCEPT_
}catch(std::exception& exc){