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:
Markus Blatt
2015-02-19 09:35:18 +01:00
parent 47d9b3438e
commit 5e72774b89
2 changed files with 4 additions and 13 deletions

View File

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