Skip to content

Debug output when reading ALUGrid from gmsh file (master)

If I create a grid using the gmsh reader like this:

int main (int argc, char *argv[]) try
{
    Dune::MPIHelper::instance(argc, argv);
    using Grid = Dune::ALUGrid<3, 3, Dune::simplex, Dune::conforming>;
    auto gridFactory = std::make_unique<Dune::GridFactory<Grid>>();
    Dune::GmshReader<Grid>::read(*gridFactory, "ball.msh", /*verbose=*/false, /*boundarySegments=*/false);
    auto grid = std::shared_ptr<Grid>(gridFactory->createGrid());
    return 0;
}

I get tons of debug output from ALUGrid that I didn't ask for. (From some bisection compatibility check.)

Build neighbors took 0.000766 sec.
P[ 0 ]: Making compatible
#V0 #V1
198 0
Done: element 0 of 636 time used = 1e-05
Done: element 6 of 636 time used = 2.2e-05
...
Done: element 624 of 636 time used = 3.1e-05
Done: element 630 of 636 time used = 4.7e-05
P[ 0 ]: Grid is compatible!!
NotStrongCompatibleMacroFaces InnerFaces  TotalFaces Maximum/Vertex  Minimum/Vertex 
487 1113 1431 26 0

Marking longest edge for initial refinement...
P[ 0 ]: BisectionCompatibility done:
P[ 0 ]: Elements: 636 0.005112 seconds used. 
Edited by Timo Koch