mirror of
https://develop.openfoam.com/Development/openfoam.git
synced 2025-11-28 03:28:01 +00:00
ENH: reduce reliance on stringListOps functions
- findStrings, findMatchingStrings now mostly covered by matching intrinsics in wordRe and wordRes. Add static wordRes match() and matching() variants COMP: remove stringListOps include from objectRegistry.H - was already noted for removal (NOV-2018)
This commit is contained in:
@ -6,7 +6,7 @@
|
||||
\\/ M anipulation |
|
||||
-------------------------------------------------------------------------------
|
||||
Copyright (C) 2014 OpenFOAM Foundation
|
||||
Copyright (C) 2020 OpenCFD Ltd.
|
||||
Copyright (C) 2020-2024 OpenCFD Ltd.
|
||||
-------------------------------------------------------------------------------
|
||||
License
|
||||
This file is part of OpenFOAM.
|
||||
@ -294,7 +294,7 @@ bool Foam::searchableSurfaceModifiers::cut::modify
|
||||
// Find the surfaces to cut with
|
||||
for (const wordRe& cutterName : cutterNames_)
|
||||
{
|
||||
labelList geomIDs = findStrings(cutterName, geometry_.names());
|
||||
labelList geomIDs = wordRes::matching(cutterName, geometry_.names());
|
||||
|
||||
for (const label geomI : geomIDs)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user