From cda0a9daa358d61a927576b6277aedab73c07ba9 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Atgeirr=20Fl=C3=B8=20Rasmussen?= Date: Tue, 28 Feb 2023 14:09:40 +0100 Subject: [PATCH] Include missing header and minor adjustments. --- opm/models/blackoil/blackoilintensivequantities.hh | 3 ++- opm/models/discretization/common/tpfalinearizer.hh | 2 +- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/opm/models/blackoil/blackoilintensivequantities.hh b/opm/models/blackoil/blackoilintensivequantities.hh index cd5ffc8c3..d785540bd 100644 --- a/opm/models/blackoil/blackoilintensivequantities.hh +++ b/opm/models/blackoil/blackoilintensivequantities.hh @@ -41,6 +41,7 @@ #include #include +#include #include #include @@ -168,7 +169,7 @@ public: void update(const ElementContext& elemCtx, unsigned dofIdx, unsigned timeIdx) { ParentType::update(elemCtx, dofIdx, timeIdx); - OPM_TIMEBLOCK_LOCAL(blackoilIntensiveQuanititiesUpdate); + OPM_TIMEBLOCK_LOCAL(blackoilIntensiveQuanititiesUpdate); const auto& problem = elemCtx.problem(); const auto& priVars = elemCtx.primaryVars(dofIdx, timeIdx); const auto& linearizationType = problem.model().linearizer().getLinearizationType(); diff --git a/opm/models/discretization/common/tpfalinearizer.hh b/opm/models/discretization/common/tpfalinearizer.hh index b34646564..caeed5c3a 100644 --- a/opm/models/discretization/common/tpfalinearizer.hh +++ b/opm/models/discretization/common/tpfalinearizer.hh @@ -589,7 +589,7 @@ private: Scalar storefac = volume / dt; adres = 0.0; { - OPM_TIMEBLOCK_LOCAL(calculateStorage); + OPM_TIMEBLOCK_LOCAL(computeStorage); LocalResidual::computeStorage(adres, intQuantsIn); } setResAndJacobi(res, bMat, adres);