Setup a distributed material law manager and copy values.

Since the refactoring to using opm-material a material law  manager for
the global grid was used. This meant that the properties used for
elements of the local grid were wrong. With this commit we set up a
manager that is based on the local grid only.
This commit is contained in:
Markus Blatt
2015-10-12 15:13:42 +02:00
parent 8e5c9b77ea
commit 4526cce41b
4 changed files with 34 additions and 5 deletions

View File

@@ -364,7 +364,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