mirror of
https://github.com/OPM/opm-simulators.git
synced 2025-02-25 18:55:30 -06:00
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:
commit
c5c50391d0
@ -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
|
||||
|
@ -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 )
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user