polyBoundaryMesh::findPatchID,findPatchIDs: renamed findIndex,findIndices
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:
@ -545,7 +545,7 @@ int main(int argc, char *argv[])
|
||||
|
||||
word patchName(dict.lookup("name"));
|
||||
|
||||
label destPatchi = patches.findPatchID(patchName);
|
||||
label destPatchi = patches.findIndex(patchName);
|
||||
|
||||
if (destPatchi == -1)
|
||||
{
|
||||
@ -620,7 +620,7 @@ int main(int argc, char *argv[])
|
||||
const dictionary& dict = patchSources[addedI];
|
||||
|
||||
const word patchName(dict.lookup("name"));
|
||||
label destPatchi = patches.findPatchID(patchName);
|
||||
label destPatchi = patches.findIndex(patchName);
|
||||
|
||||
if (destPatchi == -1)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user