Commit 633d308d authored by Kilian Weishaupt's avatar Kilian Weishaupt
Browse files

[assembly] Resolve deprecation warnings

parent ac5a3864
......@@ -31,7 +31,7 @@
#include <dumux/common/properties.hh>
#include <dumux/common/timeloop.hh>
#include <dumux/discretization/method.hh>
#include <dumux/parallel/vertexhandles.hh>
#include <dumux/parallel/vectorcommdatahandle.hh>
#include "jacobianpattern.hh"
#include "diffmethod.hh"
......@@ -191,8 +191,8 @@ public:
if (isBox && gridView().comm().size() > 1)
{
using VertexMapper = typename GridGeometry::VertexMapper;
VertexHandleSum<typename SolutionVector::block_type, SolutionVector, VertexMapper>
sumResidualHandle(residual, gridGeometry_->vertexMapper());
VectorCommDataHandleSum<VertexMapper, SolutionVector, GridGeometry::GridView::dimension>
sumResidualHandle(gridGeometry_->vertexMapper(), residual);
gridView().communicate(sumResidualHandle,
Dune::InteriorBorder_InteriorBorder_Interface,
Dune::ForwardCommunication);
......
......@@ -32,7 +32,7 @@
#include <dumux/common/typetraits/isvalid.hh>
#include <dumux/discretization/method.hh>
#include <dumux/parallel/vertexhandles.hh>
#include <dumux/parallel/vectorcommdatahandle.hh>
#include "entitycolor.hh"
......@@ -181,8 +181,8 @@ public:
// at this point we communicate the yellow vertices to the
// neighboring processes because a neigbor process may not see
// the red vertex for yellow border vertices
VertexHandleMin<EntityColor, std::vector<EntityColor>, VertexMapper>
minHandle(vertexColor_, vertexMapper);
VectorCommDataHandleMin<VertexMapper, std::vector<EntityColor>, dim>
minHandle(vertexMapper, vertexColor_);
gridView.communicate(minHandle,
Dune::InteriorBorder_InteriorBorder_Interface,
Dune::ForwardCommunication);
......@@ -235,8 +235,8 @@ public:
}
// demote the border orange vertices
VertexHandleMax<EntityColor, std::vector<EntityColor>, VertexMapper>
maxHandle(vertexColor_, vertexMapper);
VectorCommDataHandleMax<VertexMapper, std::vector<EntityColor>, dim>
maxHandle(vertexMapper, vertexColor_);
gridView.communicate(maxHandle,
Dune::InteriorBorder_InteriorBorder_Interface,
Dune::ForwardCommunication);
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment