mirror of
https://github.com/OPM/opm-simulators.git
synced 2024-11-27 11:40:17 -06:00
Merge remote-tracking branch 'andlaus/grid_adaptivity_fixes' into PR/ewoms-can-use-dune-fem
This commit is contained in:
commit
c15fedf7a1
@ -1130,9 +1130,7 @@ private:
|
||||
|
||||
const MaterialLawParams& materialLawParams_(int globalDofIdx) const
|
||||
{
|
||||
int cartesianCellIdx = this->simulator().gridManager().cartesianCellId(globalDofIdx);
|
||||
|
||||
return materialLawManager_.materialLawParams(cartesianCellIdx);
|
||||
return materialLawManager_.materialLawParams(globalDofIdx);
|
||||
}
|
||||
|
||||
// update the hysteresis parameters of the material laws for the whole grid
|
||||
|
Loading…
Reference in New Issue
Block a user