mirror of
https://develop.openfoam.com/Development/openfoam.git
synced 2025-11-28 03:28:01 +00:00
STYLE: use readList mechanism for -funcs option
- allows single or multiple entries
This commit is contained in:
@ -435,8 +435,7 @@ Foam::autoPtr<Foam::functionObjectList> Foam::functionObjectList::New
|
|||||||
{
|
{
|
||||||
modifiedControlDict = true;
|
modifiedControlDict = true;
|
||||||
|
|
||||||
ITstream is("funcs", args["funcs"]);
|
wordList funcNames = args.readList<word>("funcs");
|
||||||
wordList funcNames(is);
|
|
||||||
|
|
||||||
for (const word& funcName : funcNames)
|
for (const word& funcName : funcNames)
|
||||||
{
|
{
|
||||||
|
|||||||
Reference in New Issue
Block a user