diff --git a/dumux/io/grid/gridmanager_yasp.hh b/dumux/io/grid/gridmanager_yasp.hh index 1d8f0749ca9b530d4cd278eaddd07e0a8411288c..ae69c90dc44de828b833aa7d7c5ec8be49dc0d4b 100644 --- a/dumux/io/grid/gridmanager_yasp.hh +++ b/dumux/io/grid/gridmanager_yasp.hh @@ -127,7 +127,7 @@ public: // construct using user defined partitioning const auto partitioning = getParamFromGroup<std::array<int, dim>>(modelParamGroup, "Grid.Partitioning"); Dune::Yasp::FixedSizePartitioning<dim> lb(partitioning); - ParentType::gridPtr() = std::make_unique<Grid>(upperRight, cells, periodic, overlap, typename Grid::CollectiveCommunication(), &lb); + ParentType::gridPtr() = std::make_unique<Grid>(upperRight, cells, periodic, overlap, typename Grid::Communication(), &lb); } postProcessing_(modelParamGroup); @@ -157,7 +157,7 @@ public: // construct using user defined partitioning const auto partitioning = getParamFromGroup<std::array<int, dim>>(modelParamGroup, "Grid.Partitioning"); Dune::Yasp::FixedSizePartitioning<dim> lb(partitioning); - ParentType::gridPtr() = std::make_unique<Grid>(lowerLeft, upperRight, cells, periodic, overlap, typename Grid::CollectiveCommunication(), &lb); + ParentType::gridPtr() = std::make_unique<Grid>(lowerLeft, upperRight, cells, periodic, overlap, typename Grid::Communication(), &lb); } postProcessing_(modelParamGroup); @@ -297,7 +297,7 @@ public: // construct using user defined partitioning const auto partitioning = getParamFromGroup<std::array<int, dim>>(modelParamGroup, "Grid.Partitioning"); Dune::Yasp::FixedSizePartitioning<dim> lb(partitioning); - ParentType::gridPtr() = std::make_shared<Grid>(globalPositions, periodic, overlap, typename Grid::CollectiveCommunication(), &lb); + ParentType::gridPtr() = std::make_shared<Grid>(globalPositions, periodic, overlap, typename Grid::Communication(), &lb); } postProcessing_(modelParamGroup); diff --git a/dumux/io/vtk/intersectionwriter.hh b/dumux/io/vtk/intersectionwriter.hh index 8584d97189bf3bfc0bd974b8886cafc73e24e73d..2ba0805f3384938d6e8e6cc16afd95b1867b8f78 100644 --- a/dumux/io/vtk/intersectionwriter.hh +++ b/dumux/io/vtk/intersectionwriter.hh @@ -128,7 +128,7 @@ public: using Point = Corner; using PointIterator = CornerIterator; using ConnectivityWriter = Dune::VTK::NonConformingConnectivityWriter<Cell>; - using Communication = typename GridView::CollectiveCommunication; + using Communication = typename GridView::Communication; explicit NonConformingIntersectionIteratorFactory(const GridView& gv) : gridView_(gv) {}