Merge pull request #2206 from joakim-hove/move-summarystate-eval

SummaryState is updated at the end of simulator timestep
This commit is contained in:
Atgeirr Flø Rasmussen 2019-12-04 09:33:33 +01:00 committed by GitHub
commit c922bf3b30
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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);
}