Merge pull request #4502 from hnil/wrong_timingblock

- fixed wrong timing block
This commit is contained in:
Bård Skaflestad 2023-03-02 09:59:28 +01:00 committed by GitHub
commit 2c36934894
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -1572,7 +1572,7 @@ public:
unsigned spaceIdx, unsigned spaceIdx,
unsigned timeIdx) const unsigned timeIdx) const
{ {
OPM_TIMEBLOCK(eclProblemBoundary); OPM_TIMEBLOCK_LOCAL(eclProblemBoundary);
if (!context.intersection(spaceIdx).boundary()) if (!context.intersection(spaceIdx).boundary())
return; return;
@ -1782,7 +1782,7 @@ public:
unsigned globalDofIdx, unsigned globalDofIdx,
unsigned timeIdx) const unsigned timeIdx) const
{ {
OPM_TIMEBLOCK(eclProblemSource); OPM_TIMEBLOCK_LOCAL(eclProblemSource);
rate = 0.0; rate = 0.0;
wellModel_.computeTotalRatesForDof(rate, globalDofIdx); wellModel_.computeTotalRatesForDof(rate, globalDofIdx);