Bugfix: honor timeIdx argument of invalidateAndUpdateIntensiveQuantities().

This commit is contained in:
Atgeirr Flø Rasmussen 2023-05-22 17:28:11 +02:00
parent b12d9844a2
commit 2628472f7a

View File

@ -800,7 +800,7 @@ public:
for (; !threadedElemIt.isFinished(elemIt); elemIt = threadedElemIt.increment()) {
const Element& elem = *elemIt;
elemCtx.updatePrimaryStencil(elem);
elemCtx.updatePrimaryIntensiveQuantities(/*timeIdx=*/0);
elemCtx.updatePrimaryIntensiveQuantities(timeIdx);
}
}
}