mirror of
https://github.com/OPM/opm-simulators.git
synced 2025-02-25 18:55:30 -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
|
const MaterialLawParams& materialLawParams_(int globalDofIdx) const
|
||||||
{
|
{
|
||||||
int cartesianCellIdx = this->simulator().gridManager().cartesianCellId(globalDofIdx);
|
return materialLawManager_.materialLawParams(globalDofIdx);
|
||||||
|
|
||||||
return materialLawManager_.materialLawParams(cartesianCellIdx);
|
|
||||||
}
|
}
|
||||||
|
|
||||||
// update the hysteresis parameters of the material laws for the whole grid
|
// update the hysteresis parameters of the material laws for the whole grid
|
||||||
|
Loading…
Reference in New Issue
Block a user