Skip to content
Snippets Groups Projects
Commit c96d2773 authored by Jonathan Youett's avatar Jonathan Youett
Browse files

leafView -> leafGridView

parent ed4de8e0
No related branches found
No related tags found
No related merge requests found
...@@ -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);
...@@ -180,7 +180,7 @@ bool checkWithYaspGrid(int refine, const std::string fileName="") ...@@ -180,7 +180,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