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

Change printAggregates2d to work with non square domains.

[[Imported from SVN: r208]]
parent 2b3dddce
No related branches found
No related tags found
No related merge requests found
......@@ -493,7 +493,7 @@ void testGraph ()
Dune::Amg::Aggregates<PropertiesGraph> aggregates;
Dune::Amg::AggregatesMap<int> aggregatesMap(pgraph.maxVertex());
aggregates.build(laplacian2d, pgraph, aggregatesMap, crit);
Dune::Amg::printAggregates2d(aggregatesMap, N, std::cout);
Dune::Amg::printAggregates2d(aggregatesMap, N, N, std::cout);
}
......@@ -545,13 +545,13 @@ void testAggregate(double eps)
aggregates.build(mat, pgraph, aggregatesMap, crit);
Dune::Amg::printAggregates2d(aggregatesMap, N, std::cout);
Dune::Amg::printAggregates2d(aggregatesMap, N, N, std::cout);
std::cout<<"Excluded!"<<std::endl;
Dune::Amg::AggregatesMap<int> saggregatesMap(pgraph.maxVertex());
saggregates.build(mat, spgraph, saggregatesMap, scrit);
Dune::Amg::printAggregates2d(saggregatesMap, N, std::cout);
Dune::Amg::printAggregates2d(saggregatesMap, N, N, std::cout);
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment