mirror of
https://github.com/OPM/opm-simulators.git
synced 2025-02-25 18:55:30 -06:00
Moved output parameters to the end of the list in extractParallelGridInformationToISTL
This commit is contained in:
@@ -27,7 +27,7 @@
|
||||
#if defined(HAVE_DUNE_CORNERPOINT)
|
||||
#if defined(HAVE_MPI) && defined(HAVE_DUNE_ISTL) && DUNE_VERSION_NEWER(DUNE_GRID, 2, 3)
|
||||
// Extracts the information about the data decomposition from the grid for dune-istl
|
||||
void extractParallelGridInformationToISTL(boost::any& anyComm, const Dune::CpGrid& grid)
|
||||
void extractParallelGridInformationToISTL(const Dune::CpGrid& grid, boost::any& anyComm)
|
||||
{
|
||||
if(grid.comm().size()>1)
|
||||
{
|
||||
@@ -42,7 +42,7 @@ void extractParallelGridInformationToISTL(boost::any& anyComm, const Dune::CpGri
|
||||
}
|
||||
#else
|
||||
// Missing support for MPI or dune-istl -> do nothing.
|
||||
void extractParallelGridInformationToISTL(boost::any&, const Dune::CpGrid&)
|
||||
void extractParallelGridInformationToISTL(const Dune::CpGrid&, boost::any&)
|
||||
{}
|
||||
#endif //defined(HAVE_MPI) && defined(HAVE_DUNE_ISTL) && DUNE_VERSION_NEWER(DUNE_GRID, 2, 3)
|
||||
#endif //defined(HAVE_DUNE_CORNERPOINT)
|
||||
|
||||
Reference in New Issue
Block a user