Skip to content
Snippets Groups Projects
Commit b06e2fd5 authored by Markus Blatt's avatar Markus Blatt
Browse files

Adapted test to new interface.

[[Imported from SVN: r507]]
parent 08865026
No related branches found
No related tags found
No related merge requests found
......@@ -65,7 +65,7 @@ void testCoarsenIndices(int N)
std::cout << "fine indices: "<<indices << std::endl;
std::cout << "fine remote: "<<remoteIndices << std::endl;
aggregatesMap.buildAggregates(mat, pg, Criterion());
int noAggregates = aggregatesMap.buildAggregates(mat, pg, Criterion());
Dune::Amg::printAggregates2d(aggregatesMap, n, N, std::cout);
......@@ -75,6 +75,9 @@ void testCoarsenIndices(int N)
typename Dune::PropertyMapTypeSelector<Dune::Amg::VertexVisitedTag,PropertiesGraph>::Type visitedMap = Dune::get(Dune::Amg::VertexVisitedTag(), pg);
coarseInfo.buildGlobalLookup(noAggregates);
pinfo.buildGlobalLookup(aggregatesMap.noVertices());
Dune::Amg::IndicesCoarsener<ParallelInformation,Dune::EnumItem<GridFlag,GridAttributes::copy> >::coarsen(pinfo,
pg,
visitedMap,
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment