Revert "polyBoundaryMesh::groupPatchIDs(): Make name clash between patch and group name fatal"
This reverts commit 12ee017901.
This commit is contained in:
parent
12ee017901
commit
582f59c4cb
1 changed files with 6 additions and 7 deletions
|
|
@ -445,15 +445,14 @@ Foam::polyBoundaryMesh::groupPatchIDs() const
|
|||
|
||||
if (findPatchID(name) != -1)
|
||||
{
|
||||
FatalErrorInFunction
|
||||
<< "Patch '" << bm[patchi].name() << '\''
|
||||
<< " specifies the group '" << name << '\''
|
||||
<< " which clashes with a patch name." << nl
|
||||
<< " Please choose patch names"
|
||||
" which are not patch type/group names."
|
||||
<< exit(FatalError);
|
||||
WarningInFunction
|
||||
<< "Patch " << bm[patchi].name()
|
||||
<< " specifies a group " << name
|
||||
<< " which is also a patch name."
|
||||
<< " This might give problems later on." << endl;
|
||||
}
|
||||
|
||||
|
||||
HashTable<labelList, word>::iterator iter = groupPatchIDs.find
|
||||
(
|
||||
name
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue