Include missing header and minor adjustments.

This commit is contained in:
Atgeirr Flø Rasmussen 2023-02-28 14:09:40 +01:00
parent 9a63513afb
commit cda0a9daa3
2 changed files with 3 additions and 2 deletions

View File

@ -41,6 +41,7 @@
#include <opm/material/common/Valgrind.hpp>
#include <opm/input/eclipse/EclipseState/Grid/FaceDir.hpp>
#include <opm/common/ErrorMacros.hpp>
#include <opm/common/OpmLog/OpmLog.hpp>
#include <opm/utility/CopyablePtr.hpp>
@ -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();

View File

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