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

for Time, treeBoundBox, indexedOctree, dynamicIndexedOctree, CirculatorBase
This commit is contained in:
Henry Weller
2018-08-31 16:11:16 +01:00
parent de456c4f94
commit e750f2555c
51 changed files with 467 additions and 437 deletions

View File

@ -143,7 +143,7 @@ bool Foam::functionObjects::abort::execute()
{
case actionType::noWriteNow :
{
if (time_.stopAt(Time::saNoWriteNow))
if (time_.stopAt(Time::stopAtControl::noWriteNow))
{
Info<< "USER REQUESTED ABORT (timeIndex="
<< time_.timeIndex()
@ -155,7 +155,7 @@ bool Foam::functionObjects::abort::execute()
case actionType::writeNow :
{
if (time_.stopAt(Time::saWriteNow))
if (time_.stopAt(Time::stopAtControl::writeNow))
{
Info<< "USER REQUESTED ABORT (timeIndex="
<< time_.timeIndex()
@ -167,7 +167,7 @@ bool Foam::functionObjects::abort::execute()
case actionType::nextWrite :
{
if (time_.stopAt(Time::saNextWrite))
if (time_.stopAt(Time::stopAtControl::nextWrite))
{
Info<< "USER REQUESTED ABORT (timeIndex="
<< time_.timeIndex()