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

Use GeometryChecker in test-geogrid

parent 5d3beb6e
No related branches found
No related tags found
1 merge request!114Do not force grids to subclass Entity or Geometry
Pipeline #
......@@ -84,9 +84,11 @@ void test(const std::string& gridfile)
gridcheck( geogrid );
std::cerr << "Checking geometry... " << std::endl;
checkGeometry( geogrid.leafGridView() );
Dune::GeometryChecker< GeometryGridType > checker;
checker.checkGeometry( geogrid.leafGridView() );
for( int i = 0; i <= geogrid.maxLevel(); ++i )
checkGeometry( geogrid.levelGridView( i ) );
checker.checkGeometry( geogrid.levelGridView( i ) );
std::cerr << "Checking geometry in father..." << std::endl;
checkGeometryInFather( geogrid );
......
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