mirror of
https://github.com/OPM/opm-simulators.git
synced 2025-02-25 18:55:30 -06:00
Merge pull request #755 from andlaus/MaterialLawManager_follow_up
adapt to the EclMaterialLawManager's rename of the *Pointer methods
This commit is contained in:
commit
ee71a24cd4
@ -443,11 +443,11 @@ void distributeGridAndData( Dune::CpGrid& grid,
|
|||||||
const IndexSet& local_indices = grid.getCellIndexSet();
|
const IndexSet& local_indices = grid.getCellIndexSet();
|
||||||
for ( auto index : local_indices )
|
for ( auto index : local_indices )
|
||||||
{
|
{
|
||||||
distributed_material_law_manager->materialLawParamsPointer(index.local()) =
|
distributed_material_law_manager->materialLawParamsPointerReferenceHack(index.local()) =
|
||||||
material_law_manager->materialLawParamsPointer(index.global());
|
material_law_manager->materialLawParamsPointerReferenceHack(index.global());
|
||||||
|
|
||||||
distributed_material_law_manager->oilWaterScaledEpsInfoDrainagePointer(index.local()) =
|
distributed_material_law_manager->oilWaterScaledEpsInfoDrainagePointerReferenceHack(index.local()) =
|
||||||
material_law_manager->oilWaterScaledEpsInfoDrainagePointer(index.global());
|
material_law_manager->oilWaterScaledEpsInfoDrainagePointerReferenceHack(index.global());
|
||||||
}
|
}
|
||||||
BlackoilPropsAdFromDeck distributed_props(properties,
|
BlackoilPropsAdFromDeck distributed_props(properties,
|
||||||
distributed_material_law_manager,
|
distributed_material_law_manager,
|
||||||
|
Loading…
Reference in New Issue
Block a user