diff --git a/Geo/GModel.cpp b/Geo/GModel.cpp index 26f053ae173dd2582d97407f04d04442cf87a79c..5bdb7cb7a008ef326e62fabd638016a7ca60833b 100644 --- a/Geo/GModel.cpp +++ b/Geo/GModel.cpp @@ -1697,11 +1697,6 @@ void GModel::_storePhysicalTagsInEntities(int dim, } } } - - else { - std::cout << "Could not find entity " << std::endl; - } - } } diff --git a/Geo/GModelIO_CGNS.cpp b/Geo/GModelIO_CGNS.cpp index 1fa7a1efcad4a2f79b0ef35844a9f1e48698a34e..c3f72632abba1e97f9b03b34bddb1c323aaece10 100644 --- a/Geo/GModelIO_CGNS.cpp +++ b/Geo/GModelIO_CGNS.cpp @@ -1794,6 +1794,7 @@ int GModel::readCGNSUnstructured(const std::string& fileName) int tag = bIter->first; std::string name = bIter->second; physicalSurfaces[tag][tag] = name; + physicalNames[std::make_pair(meshDim-1,tag)] = name; } _storePhysicalTagsInEntities(meshDim-1,physicalSurfaces); @@ -1805,6 +1806,7 @@ int GModel::readCGNSUnstructured(const std::string& fileName) int tag = zIter->first; std::string name = zIter->second; physicalZones[tag][tag] = name; + physicalNames[std::make_pair(meshDim,tag)] = name; } _storePhysicalTagsInEntities(meshDim,physicalZones);