MeshZones: Renamed findZoneID -> findIndex
Index is a better name to describe a label index than ID which may be an integer, word or other means of identification.
This commit is contained in:
@ -1825,7 +1825,7 @@ int main(int argc, char *argv[])
|
||||
|
||||
word zoneName = "region" + Foam::name(regioni);
|
||||
|
||||
zoneI = cellZones.findZoneID(zoneName);
|
||||
zoneI = cellZones.findIndex(zoneName);
|
||||
|
||||
if (zoneI == -1)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user