Revert "polyBoundaryMesh::groupPatchIDs(): Make name clash between patch and group name fatal"

This reverts commit f38f0d3e86.
This commit is contained in:
Henry Weller
2016-08-26 11:44:56 +01:00
parent f38f0d3e86
commit 8185f1d62e

View File

@ -445,15 +445,14 @@ Foam::polyBoundaryMesh::groupPatchIDs() const
if (findPatchID(name) != -1) if (findPatchID(name) != -1)
{ {
FatalErrorInFunction WarningInFunction
<< "Patch '" << bm[patchi].name() << '\'' << "Patch " << bm[patchi].name()
<< " specifies the group '" << name << '\'' << " specifies a group " << name
<< " which clashes with a patch name." << nl << " which is also a patch name."
<< " Please choose patch names" << " This might give problems later on." << endl;
" which are not patch type/group names."
<< exit(FatalError);
} }
HashTable<labelList, word>::iterator iter = groupPatchIDs.find HashTable<labelList, word>::iterator iter = groupPatchIDs.find
( (
name name