STYLE: use dictionary checking methods in runTimePostProcessing

- make parallelProjection default (was previously mandatory)
This commit is contained in:
Mark Olesen
2019-05-31 15:28:57 +02:00
committed by Andrew Heather
parent 7e29e165d7
commit 3de7cd5207
8 changed files with 37 additions and 41 deletions

View File

@ -77,7 +77,7 @@ Foam::functionObjects::runTimePostPro::geometryPatches::geometryPatches
geometrySurface(parent, dict, colours, List<fileName>()),
fieldVisualisationBase(dict, colours),
selectPatches_(),
nearCellValue_(dict.lookupOrDefault("nearCellValue", false))
nearCellValue_(dict.getOrDefault("nearCellValue", false))
{
dict.readEntry("patches", selectPatches_);
}