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) 2011-2016 OpenFOAM Foundation
Copyright (C) 2016-2018 OpenCFD Ltd.
Copyright (C) 2016-2020 OpenCFD Ltd.
-------------------------------------------------------------------------------
License
This file is part of OpenFOAM.
@ -444,7 +444,7 @@ int main(int argc, char *argv[])
"Does not duplicate points."
);
argList::addOption("dict", "file", "Use alternative createBafflesDict");
argList::addOption("dict", "file", "Alternative createBafflesDict");
#include "addOverwriteOption.H"
#include "addRegionOption.H"
@ -468,7 +468,7 @@ int main(int argc, char *argv[])
PtrList<faceSelection> selectors;
{
Info<< "Reading baffle criteria from " << dictName << nl << endl;
Info<< "Reading baffle criteria from " << dictIO.name() << nl << endl;
IOdictionary dict(dictIO);
internalFacesOnly = dict.get<bool>("internalFacesOnly");