BUG: foamyHexMesh surface region names: Do not use global patch names

This commit is contained in:
laurence
2013-07-04 12:34:25 +01:00
parent 3438e38464
commit 5e4c161100
3 changed files with 7 additions and 5 deletions

View File

@ -301,7 +301,7 @@ Foam::label Foam::searchableSurfaces::findSurfaceRegionID
{
label surfaceIndex = findSurfaceID(surfaceName);
return findIndex(regionNames()[surfaceIndex], regionName);
return findIndex(this->operator[](surfaceIndex).regions(), regionName);
}