mirror of
https://github.com/OPM/opm-simulators.git
synced 2024-11-28 20:13:49 -06:00
Merge pull request #2206 from joakim-hove/move-summarystate-eval
SummaryState is updated at the end of simulator timestep
This commit is contained in:
commit
c922bf3b30
@ -984,6 +984,9 @@ public:
|
||||
drift_[globalDofIdx] *= this->model().dofTotalVolume(globalDofIdx);
|
||||
}
|
||||
}
|
||||
|
||||
bool isSubStep = !EWOMS_GET_PARAM(TypeTag, bool, EnableWriteAllSolutions) && !this->simulator().episodeWillBeOver();
|
||||
eclWriter_->evalSummaryState(isSubStep);
|
||||
}
|
||||
|
||||
/*!
|
||||
@ -1037,8 +1040,6 @@ public:
|
||||
ParentType::writeOutput(verbose);
|
||||
|
||||
bool isSubStep = !EWOMS_GET_PARAM(TypeTag, bool, EnableWriteAllSolutions) && !this->simulator().episodeWillBeOver();
|
||||
|
||||
eclWriter_->evalSummaryState(isSubStep);
|
||||
if (enableEclOutput_)
|
||||
eclWriter_->writeOutput(isSubStep);
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user