ENH: align meshRefinement dictionary wrapper with dictionary code

COMP: do not rely on implicit conversion to PtrList from Istream
This commit is contained in:
Mark Olesen
2020-05-26 00:09:04 +02:00
parent 997c9a232c
commit 03c2373d2c
4 changed files with 51 additions and 60 deletions

View File

@ -6,7 +6,7 @@
\\/ M anipulation |
-------------------------------------------------------------------------------
Copyright (C) 2011-2016 OpenFOAM Foundation
Copyright (C) 2015-2019 OpenCFD Ltd.
Copyright (C) 2015-2020 OpenCFD Ltd.
-------------------------------------------------------------------------------
License
This file is part of OpenFOAM.
@ -1259,7 +1259,10 @@ int main(int argc, char *argv[])
refinementFeatures features
(
mesh,
meshRefinement::lookup(refineDict, "features", dryRun),
PtrList<dictionary>
(
meshRefinement::lookup(refineDict, "features", dryRun)
),
dryRun
);
Info<< "Read features in = "