Merge remote-tracking branch 'andlaus/grid_adaptivity_fixes' into PR/ewoms-can-use-dune-fem

This commit is contained in:
Robert Kloefkorn 2015-08-06 18:07:35 +02:00
commit c15fedf7a1

View File

@ -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