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

@ -235,7 +235,7 @@ int main(int argc, char *argv[])
const word dictName("surfaceFeatureExtractDict");
#include "setSystemRunTimeDictionaryIO.H"
Info<< "Reading " << dictName << nl << endl;
Info<< "Reading " << dictIO.name() << nl << endl;
const IOdictionary dict(dictIO);
// Loader for available triSurface surface files

View File

@ -277,7 +277,7 @@ int main(int argc, char *argv[])
);
argList::noParallel();
argList::addArgument("hookTolerance", "The point merge tolerance");
argList::addOption("dict", "file", "Use alternative surfaceHookUpDict");
argList::addOption("dict", "file", "Alternative surfaceHookUpDict");
#include "setRootCase.H"
#include "createTime.H"
@ -285,7 +285,7 @@ int main(int argc, char *argv[])
const word dictName("surfaceHookUpDict");
#include "setSystemRunTimeDictionaryIO.H"
Info<< "Reading " << dictName << nl << endl;
Info<< "Reading " << dictIO.name() << nl << endl;
const IOdictionary dict(dictIO);

View File

@ -55,7 +55,7 @@ Usage
Scale factor when writing files.
- \par -dict \<dictionary\>
Use alternative dictionary for constant/coordinateSystems.
Alternative dictionary for constant/coordinateSystems.
- \par -from \<coordinateSystem\>
Specify a coordinate system when reading files.

View File

@ -6,7 +6,7 @@
\\/ M anipulation |
-------------------------------------------------------------------------------
Copyright (C) 2011-2013 OpenFOAM Foundation
Copyright (C) 2015 OpenCFD Ltd.
Copyright (C) 2015-2020 OpenCFD Ltd.
-------------------------------------------------------------------------------
License
This file is part of OpenFOAM.
@ -60,7 +60,7 @@ int main(int argc, char *argv[])
"Add patches (regions) to a surface with a user-selectable method"
);
argList::noParallel();
argList::addOption("dict", "file", "Use alternative surfacePatchDict");
argList::addOption("dict", "file", "Alternative surfacePatchDict");
#include "setRootCase.H"
#include "createTime.H"