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:
@ -174,7 +174,7 @@ void Foam::functionObjects::fieldValues::surfaceFieldValue::setFaceZoneFaces()
|
||||
|
||||
void Foam::functionObjects::fieldValues::surfaceFieldValue::setPatchFaces()
|
||||
{
|
||||
const label patchId = mesh_.boundaryMesh().findPatchID(selectionName_);
|
||||
const label patchId = mesh_.boundaryMesh().findIndex(selectionName_);
|
||||
|
||||
if (patchId < 0)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user