Skip to content
Snippets Groups Projects
Commit 6a3a4689 authored by Robert K's avatar Robert K
Browse files

[cleanup][warnings] Remove warnings.

parent e3170abf
No related branches found
No related tags found
No related merge requests found
......@@ -472,8 +472,9 @@ namespace Dune {
// get hedge1 corresponding to dune reference element and return number
return item_->myhedge( ElemTopo::dune2aluEdge(i) )->getIndex();
}
else if (GridImp::dimension == 2)
else // if (GridImp::dimension == 2)
{
assert( GridImp::dimension == 2 );
if (GridImp:: elementType == tetra)
{
// We want vertices 1,2,3 in DUNE numbering for tetra and 0,1,2,3 for hexa
......
......@@ -33,11 +33,12 @@ try
return 0;
}
using ALU3dSimplex = Dune::ALUGrid<3, 3, Dune::simplex, Dune::conforming>;
Dune::GridPtr< ALU3dSimplex > gridPtr( filename );
using GridType = Dune::ALUGrid<3, 3, Dune::simplex, Dune::conforming>;
Dune::GridPtr< GridType > gridPtr( filename );
gridPtr.loadBalance();
// grid is ready and load balanced at that point
std::cout << "P[ " << rank << " ] parameters = " << gridPtr.nofParameters( 0 ) << std::endl;
auto lvlView = gridPtr->levelGridView( 0 );
const auto end = lvlView.end< 0 > ();
......
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