Moved output parameters to the end of the list in extractParallelGridInformationToISTL

This commit is contained in:
Markus Blatt
2015-02-11 11:22:27 +01:00
parent 11848acf0c
commit be7221aa9b
3 changed files with 6 additions and 6 deletions

View File

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