mirror of
https://develop.openfoam.com/Development/openfoam.git
synced 2025-11-28 03:28:01 +00:00
ENH: replace keyType with wordRe for matching selectors.
- The keyType is primarily used within dictionary reading, whereas wordRe and wordRes are used for selectors in code. Unifying on wordRe and wordRes reduces the number matching options.
This commit is contained in:
committed by
Andrew Heather
parent
95cd8ee75c
commit
2b7b3700c2
@ -6,7 +6,7 @@
|
||||
\\/ M anipulation |
|
||||
-------------------------------------------------------------------------------
|
||||
Copyright (C) 2011-2016 OpenFOAM Foundation
|
||||
Copyright (C) 2016-2020 OpenCFD Ltd.
|
||||
Copyright (C) 2016-2021 OpenCFD Ltd.
|
||||
-------------------------------------------------------------------------------
|
||||
License
|
||||
This file is part of OpenFOAM.
|
||||
@ -495,7 +495,7 @@ int main(int argc, char *argv[])
|
||||
wordRes zoneNames;
|
||||
if (useCellZone)
|
||||
{
|
||||
List<wordRe> selectionNames = args.getList<wordRe>(1);
|
||||
wordRes selectionNames(args.getList<wordRe>(1));
|
||||
zoneNames.transfer(selectionNames);
|
||||
|
||||
Info<< "Using cellZone " << flatOutput(zoneNames) << nl << endl;
|
||||
|
||||
Reference in New Issue
Block a user