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:
@ -171,7 +171,7 @@ int main(int argc, char *argv[])
|
||||
// Remove the added patch
|
||||
if (newPatchName.size())
|
||||
{
|
||||
label removei = pbm.findPatchID(newPatchName);
|
||||
label removei = pbm.findIndex(newPatchName);
|
||||
if (removei == -1)
|
||||
{
|
||||
FatalErrorInFunction << "Problem" << exit(FatalError);
|
||||
|
||||
Reference in New Issue
Block a user