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

leafView -> leafGridView

parent 8caffef9
Branches
No related tags found
No related merge requests found
......@@ -106,7 +106,7 @@ bool checkWithGrid(const GridType& grid, const std::string fileName="")
typedef typename Dune::FieldVector<double, 1> RangeType;
const GridView gridView = grid.leafView();
const GridView gridView = grid.leafGridView();
Matrix A;
constructPQ1Pattern(gridView, A);
......@@ -158,7 +158,7 @@ bool checkWithYaspGrid(int refine, const std::string fileName="")
std::cout << "Testing with YaspGrid<" << dim << ">" << 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);
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment