mirror of
https://github.com/OPM/opm-simulators.git
synced 2025-02-25 18:55:30 -06:00
Remove the unsused grid members from BlackoilPropsDataHandle.
Previously BlackoilPropsDataHandle did hold a grid for sending and receiving that were either not used or we could prevent their usage. Therefore this commit removes them from the class and queries all needed information from the property objects.
This commit is contained in:
@@ -234,8 +234,7 @@ try
|
||||
std::numeric_limits<double>::max());
|
||||
Opm::BlackoilStateDataHandle state_handle(global_grid, distributed_grid,
|
||||
state, distributed_state);
|
||||
Opm::BlackoilPropsDataHandle props_handle(global_grid, distributed_grid,
|
||||
*new_props,
|
||||
Opm::BlackoilPropsDataHandle props_handle(*new_props,
|
||||
*distributed_props);
|
||||
grid->scatterData(state_handle);
|
||||
grid->scatterData(props_handle);
|
||||
|
||||
Reference in New Issue
Block a user