EclProblem: remove the isSubstep parameter from writeOutput()

Now that the book keeping for time stepping is correct even in `flow`,
this parameter has become redundant.
This commit is contained in:
Andreas Lauser committed 2019-05-13 13:05:39 +02:00
1 parent 8197bcfc54
commit 8657f18075
3 files changed
+6 -8

No files matched your search

+3 -5
View File
@@ -982,16 +982,14 @@ public:
* \brief Write the requested quantities of the current solution into the output
* files.
*/
void writeOutput(bool isSubStep, bool verbose = true)
void writeOutput(bool verbose = true)
{
assert(!this->simulator().episodeWillBeOver() == isSubStep);
// use the generic code to prepare the output fields and to
// write the desired VTK files.
ParentType::writeOutput(isSubStep, verbose);
ParentType::writeOutput(verbose);
if (enableEclOutput_)
eclWriter_->writeOutput(isSubStep);
eclWriter_->writeOutput(/*isSubStep=*/!this->simulator().episodeWillBeOver());
}
/*!