STYLE: can use bool instead of Switch version of dictionary::lookupOrDefault

- both versions handle the same input words.
  Only need the <Switch> version when the destination variable is
  also a Switch and we need to output the word later.
This commit is contained in:
Mark Olesen
2010-05-20 14:17:18 +02:00
parent 9525d57d71
commit ff30e6b61a
21 changed files with 29 additions and 36 deletions

View File

@ -36,7 +36,6 @@ SourceFiles
#define solution_H
#include "IOdictionary.H"
#include "Switch.H"
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
@ -57,7 +56,7 @@ class solution
dictionary cache_;
//- Switch for the caching mechanism
Switch caching_;
bool caching_;
//- Dictionary of relaxation factors for all the fields
dictionary relaxationFactors_;