From 67836d69ca0c48681c9b3576ab9f83bbf3f53352 Mon Sep 17 00:00:00 2001 From: Robert Kloefkorn Date: Fri, 7 Aug 2015 11:17:58 +0200 Subject: [PATCH] make compile after update in opm-material. --- applications/ebos/eclproblem.hh | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/applications/ebos/eclproblem.hh b/applications/ebos/eclproblem.hh index 5fc75418c..0e7dc81f4 100644 --- a/applications/ebos/eclproblem.hh +++ b/applications/ebos/eclproblem.hh @@ -790,9 +790,12 @@ private: for (size_t dofIdx = 0; dofIdx < numDof; ++ dofIdx) porosity_[dofIdx] *= multpvData[gridManager.cartesianCellId(dofIdx)]; } + std::vector compressedToCartesianElemIdx(numDof); + for (unsigned elemIdx = 0; elemIdx < numDof; ++elemIdx) + compressedToCartesianElemIdx[elemIdx] = gridManager.cartesianCellId(elemIdx); // the fluid-matrix interactions for ECL problems are dealt with by a separate class - materialLawManager_.initFromDeck(deck, eclState); + materialLawManager_.initFromDeck(deck, eclState, compressedToCartesianElemIdx); } void initFluidSystem_()