mirror of
https://develop.openfoam.com/Development/openfoam.git
synced 2025-11-28 03:28:01 +00:00
ENH: change argList get<> and getList<> from read<>, readList<>
- more consistent with dictionary method naming. The get<> or getList<> returns a value, doesn't read into a existing location.
This commit is contained in:
@ -237,11 +237,11 @@ int main(int argc, char *argv[])
|
||||
|
||||
if (args.found("patches"))
|
||||
{
|
||||
writeOpts.patchSelection(args.readList<wordRe>("patches"));
|
||||
writeOpts.patchSelection(args.getList<wordRe>("patches"));
|
||||
}
|
||||
if (args.found("faceZones"))
|
||||
{
|
||||
writeOpts.faceZoneSelection(args.readList<wordRe>("faceZones"));
|
||||
writeOpts.faceZoneSelection(args.getList<wordRe>("faceZones"));
|
||||
}
|
||||
|
||||
//
|
||||
|
||||
Reference in New Issue
Block a user