ENH: report dictionary name actually used (for -dict option)

This commit is contained in:
Mark Olesen
2020-06-02 14:15:21 +02:00
parent 31b172217c
commit f721b5344f
26 changed files with 60 additions and 64 deletions

View File

@ -6,7 +6,7 @@
\\/ M anipulation |
-------------------------------------------------------------------------------
Copyright (C) 2016 Shell Research Ltd.
Copyright (C) 2019 OpenCFD Ltd.
Copyright (C) 2019-2020 OpenCFD Ltd.
-------------------------------------------------------------------------------
License
This file is part of OpenFOAM.
@ -66,7 +66,7 @@ int main(int argc, char* argv[])
"Specify a time"
);
argList::addOption("dict", "file", "Use alternative PDRsetFieldsDict");
argList::addOption("dict", "file", "Alternative PDRsetFieldsDict");
argList::addBoolOption
(
@ -86,7 +86,7 @@ int main(int argc, char* argv[])
const word dictName("PDRsetFieldsDict");
#include "setSystemRunTimeDictionaryIO.H"
Info<< "Reading " << dictName << "\n" << endl;
Info<< "Reading " << dictIO.name() << nl << endl;
IOdictionary setFieldsDict(dictIO);