mirror of
https://develop.openfoam.com/Development/openfoam.git
synced 2025-11-28 03:28:01 +00:00
STYLE: Minor code clean-up
This commit is contained in:
@ -508,18 +508,18 @@ int main(int argc, char *argv[])
|
|||||||
|
|
||||||
const bool overwrite = args.optionFound("overwrite");
|
const bool overwrite = args.optionFound("overwrite");
|
||||||
|
|
||||||
word sampleDictName
|
word dictName
|
||||||
(
|
(
|
||||||
args.optionLookupOrDefault<word>("dict", "createPatchDict")
|
args.optionLookupOrDefault<word>("dict", "createPatchDict")
|
||||||
);
|
);
|
||||||
|
|
||||||
Info<< "Reading " << sampleDictName << nl << endl;
|
Info<< "Reading " << dictName << nl << endl;
|
||||||
|
|
||||||
IOdictionary dict
|
IOdictionary dict
|
||||||
(
|
(
|
||||||
IOobject
|
IOobject
|
||||||
(
|
(
|
||||||
sampleDictName,
|
dictName,
|
||||||
runTime.system(),
|
runTime.system(),
|
||||||
(
|
(
|
||||||
meshRegionName != polyMesh::defaultRegion
|
meshRegionName != polyMesh::defaultRegion
|
||||||
|
|||||||
Reference in New Issue
Block a user