Commit ba5b76f1 authored by Thomas Fetzer's avatar Thomas Fetzer

[lecture] Fix deprecation warnings for epsiodeWillBeOver

parent 247513f0
......@@ -337,7 +337,7 @@ public:
bool shouldWriteOutput() const
{
return this->timeManager().timeStepIndex() == 0 ||
this->timeManager().episodeWillBeOver() ||
this->timeManager().episodeWillBeFinished() ||
this->timeManager().willBeFinished();
}
......
......@@ -330,7 +330,7 @@ public:
bool shouldWriteOutput() const
{
return this->timeManager().timeStepIndex() == 0 ||
this->timeManager().episodeWillBeOver() ||
this->timeManager().episodeWillBeFinished() ||
this->timeManager().willBeFinished();
}
......
......@@ -321,7 +321,7 @@ public:
bool shouldWriteOutput() const
{
return this->timeManager().timeStepIndex() == 0 ||
this->timeManager().episodeWillBeOver() ||
this->timeManager().episodeWillBeFinished() ||
this->timeManager().willBeFinished();
}
......
......@@ -345,7 +345,7 @@ public:
bool shouldWriteOutput() const
{
return this->timeManager().timeStepIndex() == 0 ||
this->timeManager().episodeWillBeOver() ||
this->timeManager().episodeWillBeFinished() ||
this->timeManager().willBeFinished();
}
......
......@@ -330,7 +330,7 @@ public:
bool shouldWriteOutput() const
{
return this->timeManager().timeStepIndex() == 0 ||
this->timeManager().episodeWillBeOver() ||
this->timeManager().episodeWillBeFinished() ||
this->timeManager().willBeFinished();
}
......
......@@ -388,7 +388,7 @@ public:
{
return
this->timeManager().timeStepIndex() == 0 ||
this->timeManager().episodeWillBeOver() ||
this->timeManager().episodeWillBeFinished() ||
this->timeManager().willBeFinished();
}
......
......@@ -395,7 +395,7 @@ public:
bool shouldWriteOutput() const
{
return this->timeManager().timeStepIndex() == 0 ||
this->timeManager().episodeWillBeOver() ||
this->timeManager().episodeWillBeFinished() ||
this->timeManager().willBeFinished();
}
......
......@@ -247,7 +247,7 @@ public:
bool shouldWriteOutput() const
{
return this->timeManager().timeStepIndex() == 0 ||
this->timeManager().episodeWillBeOver() ||
this->timeManager().episodeWillBeFinished() ||
this->timeManager().willBeFinished();
}
......
......@@ -376,7 +376,7 @@ public:
{
const int freqOutput = GET_RUNTIME_PARAM_FROM_GROUP(TypeTag, int, Output, FreqOutput);
if (this->timeManager().timeStepIndex() % freqOutput == 0
|| this->timeManager().episodeWillBeOver())
|| this->timeManager().episodeWillBeFinished())
return true;
return false;
}
......
......@@ -260,7 +260,7 @@ public:
{
return
this->timeManager().timeStepIndex() == 0 ||
this->timeManager().episodeWillBeOver() ||
this->timeManager().episodeWillBeFinished() ||
this->timeManager().willBeFinished();
}
......
......@@ -162,7 +162,7 @@ public:
return
this->timeManager().timeStepIndex() == 0 ||
this->timeManager().timeStepIndex() % 10000 == 0 ||
this->timeManager().episodeWillBeOver() ||
this->timeManager().episodeWillBeFinished() ||
this->timeManager().willBeFinished();
}
......@@ -171,7 +171,7 @@ public:
return
this->timeManager().timeStepIndex() == 0 ||
this->timeManager().timeStepIndex() % 10000 == 0 ||
this->timeManager().episodeWillBeOver() ||
this->timeManager().episodeWillBeFinished() ||
this->timeManager().willBeFinished();
}
......@@ -225,7 +225,7 @@ public:
if (timeStepIndex == 0 ||
timeStepIndex % 100 == 0 || //after every 1000000 secs
this->timeManager().episodeWillBeOver() ||
this->timeManager().episodeWillBeFinished() ||
this->timeManager().willBeFinished())
{
std::cout<<" totalMassProducedOil_ : "<< totalMassProducedOil_ << " Time: " << time+dt << std::endl;
......
......@@ -161,7 +161,7 @@ public:
return
this->timeManager().timeStepIndex() == 0 ||
this->timeManager().timeStepIndex() % 10000 == 0 ||
this->timeManager().episodeWillBeOver() ||
this->timeManager().episodeWillBeFinished() ||
this->timeManager().willBeFinished();
}
......@@ -170,7 +170,7 @@ public:
return
this->timeManager().timeStepIndex() == 0 ||
this->timeManager().timeStepIndex() % 10000 == 0 ||
this->timeManager().episodeWillBeOver() ||
this->timeManager().episodeWillBeFinished() ||
this->timeManager().willBeFinished();
}
......@@ -211,7 +211,7 @@ public:
const int timeStepIndex = this->timeManager().timeStepIndex();
if (timeStepIndex == 0 || timeStepIndex % 100 == 0
|| this->timeManager().episodeWillBeOver()
|| this->timeManager().episodeWillBeFinished()
|| this->timeManager().willBeFinished())
{
......
......@@ -177,7 +177,7 @@ public:
return
this->timeManager().timeStepIndex() == 0 ||
this->timeManager().timeStepIndex() % 10000 == 0 ||
this->timeManager().episodeWillBeOver() ||
this->timeManager().episodeWillBeFinished() ||
this->timeManager().willBeFinished();
}
......@@ -186,7 +186,7 @@ public:
return
this->timeManager().timeStepIndex() == 0 ||
this->timeManager().timeStepIndex() % 10000 == 0 ||
this->timeManager().episodeWillBeOver() ||
this->timeManager().episodeWillBeFinished() ||
this->timeManager().willBeFinished();
}
......@@ -225,7 +225,7 @@ public:
const int timeStepIndex = this->timeManager().timeStepIndex();
if (timeStepIndex == 0 ||
timeStepIndex % 100 == 0 || //after every 1000000 secs
this->timeManager().episodeWillBeOver() ||
this->timeManager().episodeWillBeFinished() ||
this->timeManager().willBeFinished())
{
......
......@@ -203,7 +203,7 @@ public:
{
return
this->timeManager().timeStepIndex() == 0 ||
this->timeManager().episodeWillBeOver() ||
this->timeManager().episodeWillBeFinished() ||
this->timeManager().willBeFinished();
}
......
......@@ -284,7 +284,7 @@ public:
bool shouldWriteOutput() const
{
return this->timeManager().timeStepIndex() == 0 ||
this->timeManager().episodeWillBeOver() ||
this->timeManager().episodeWillBeFinished() ||
this->timeManager().willBeFinished();
}
......
......@@ -300,7 +300,7 @@ public:
bool shouldWriteOutput() const
{
return this->timeManager().timeStepIndex() == 0 ||
this->timeManager().episodeWillBeOver() ||
this->timeManager().episodeWillBeFinished() ||
this->timeManager().willBeFinished();
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment