Merge pull request #525 from blattms/adapt_flow_solvent-to_redistribute_interface_change

Adapts flow_solvent to change in redistribution interface.
This commit is contained in:
dr-robertk 2015-10-29 16:38:10 +01:00
commit c5c50391d0
2 changed files with 1 additions and 2 deletions

View File

@ -355,7 +355,7 @@ try
// and initilialize new properties and states for it.
if( mpi_size > 1 )
{
Opm::distributeGridAndData( grid, eclipseState, state, new_props, geoprops, parallel_information, use_local_perm );
Opm::distributeGridAndData( grid, deck, eclipseState, state, new_props, geoprops, materialLawManager, parallel_information, use_local_perm );
}
// create output writer after grid is distributed, otherwise the parallel output

View File

@ -356,7 +356,6 @@ void distributeGridAndData( Dune::CpGrid& grid,
// really, really cumbersome for the underlying vector<shared_ptr>
// where the classes pointed to even have more shared_ptr stored in them.
typedef Dune::CpGrid::ParallelIndexSet IndexSet;
typedef IndexSet::IndexPair Pair;
const IndexSet& local_indices = grid.getCellIndexSet();
for ( auto index : local_indices )
{