int aMeshDimension = theMesh.myDim;
bool anIsDimPresent[3] = {false, false, false};
for(int iDim = 0; iDim < aMeshDimension; iDim++){
- string aDimName = theMesh.myPointsDim.at(iDim);
+ string aDimName = theMesh.myPointsDim[iDim];
if(aDimName == "x" || aDimName == "X")
anIsDimPresent[eX] = true;
else if(aDimName == "y" || aDimName == "Y")
//anExtractFilter->DebugOn();
try{
LoadMeshOnEntity(*pVTKMeshOnEntity);
- }catch(std::runtime_error& exc){
+ }catch(std::exception& exc){
pVTKMeshOnEntity = pMeshOnEntity;
- MESSAGE("Follow exception was accured :\n"<<exc.what());
+ MESSAGE("Follow exception was occured :\n"<<exc.what());
}catch(...){
pVTKMeshOnEntity = pMeshOnEntity;
- MESSAGE("Unknown exception was accured!");
+ MESSAGE("Unknown exception was occured!");
}
GetMeshOnEntity(pVTKMeshOnEntity->myMeshName,pVTKMeshOnEntity->myEntity);