mirror of
https://github.com/OPM/opm-simulators.git
synced 2025-02-25 18:55:30 -06:00
make compile after update in opm-material.
This commit is contained in:
parent
c15fedf7a1
commit
67836d69ca
@ -790,9 +790,12 @@ private:
|
|||||||
for (size_t dofIdx = 0; dofIdx < numDof; ++ dofIdx)
|
for (size_t dofIdx = 0; dofIdx < numDof; ++ dofIdx)
|
||||||
porosity_[dofIdx] *= multpvData[gridManager.cartesianCellId(dofIdx)];
|
porosity_[dofIdx] *= multpvData[gridManager.cartesianCellId(dofIdx)];
|
||||||
}
|
}
|
||||||
|
std::vector<int> 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
|
// 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_()
|
void initFluidSystem_()
|
||||||
|
Loading…
Reference in New Issue
Block a user