Skip to content
Snippets Groups Projects
Commit a0be8571 authored by Elias Pipping's avatar Elias Pipping
Browse files

Adjust to upstream changes

parent b2cc6664
No related branches found
No related tags found
No related merge requests found
...@@ -51,7 +51,7 @@ struct MultigridTestSuite ...@@ -51,7 +51,7 @@ struct MultigridTestSuite
typedef typename GridType::LevelGridView GridView; typedef typename GridType::LevelGridView GridView;
const GridView gridView = grid.levelView(grid.maxLevel()); const GridView gridView = grid.levelGridView(grid.maxLevel());
Matrix A; Matrix A;
constructPQ1Pattern(gridView, A); constructPQ1Pattern(gridView, A);
......
...@@ -129,7 +129,7 @@ bool checkWithGrid(const GridType& grid, const std::string fileName="") ...@@ -129,7 +129,7 @@ bool checkWithGrid(const GridType& grid, const std::string fileName="")
typedef typename Dune::FieldVector<double, 1> RangeType; typedef typename Dune::FieldVector<double, 1> RangeType;
const GridView gridView = grid.leafView(); const GridView gridView = grid.leafGridView();
Matrix A; Matrix A;
constructPQ1Pattern(gridView, A); constructPQ1Pattern(gridView, A);
...@@ -181,7 +181,7 @@ bool checkWithYaspGrid(int refine, const std::string fileName="") ...@@ -181,7 +181,7 @@ bool checkWithYaspGrid(int refine, const std::string fileName="")
std::cout << "Testing with YaspGrid<" << dim << ">" << std::endl; std::cout << "Testing with YaspGrid<" << dim << ">" << std::endl;
std::cout << "Number of levels: " << (grid.maxLevel()+1) << std::endl; std::cout << "Number of levels: " << (grid.maxLevel()+1) << std::endl;
std::cout << "Number of leaf nodes: " << grid.leafView().size(dim) << std::endl; std::cout << "Number of leaf nodes: " << grid.leafGridView().size(dim) << std::endl;
passed = passed and checkWithGrid(grid, fileName); passed = passed and checkWithGrid(grid, fileName);
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment