src/OpenFOAM: Rationalised use of enumerations by using the C++11 scoped form

for

    db/functionObjects/timeControl/timeControl.H: timeControls
    primitives/bools/Switch/Switch.H: class switchType
    primitives/strings/fileName/fileName.H: fileType
    primitives/strings/wordRe/wordRe.H: compOption
This commit is contained in:
Henry Weller
2018-08-25 07:26:51 +01:00
parent 61c9bc2ee3
commit 8ed92de98c
33 changed files with 271 additions and 217 deletions

View File

@ -124,7 +124,8 @@ Foam::scalar Foam::functionObjects::timeControl::timeToNextWrite()
if
(
active()
&& writeControl_.control() == Foam::timeControl::ocAdjustableRunTime
&& writeControl_.control() ==
Foam::timeControl::timeControls::adjustableRunTime
)
{
const label writeTimeIndex = writeControl_.executionIndex();