SummaryState is updated at the end of simulator timestep

This commit is contained in:
Joakim Hove 2019-12-03 15:52:47 +01:00
parent becb29cec6
commit ad00a3a891

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