Commit 08cc6761 authored by Christian Engwer's avatar Christian Engwer

cleanup in the visualization.cc file

creadits to Martin Drohmann

[[Imported from SVN: r236]]
parent fef656df
......@@ -45,28 +45,33 @@ int main(int argc, char **argv)
{
/*
UnitCube<Dune::OneDGrid,1> uc0;
UnitCube<Dune::YaspGrid<3>,1> uc1;
UnitCube<Dune::YaspGrid<2>,1> uc2;
*/
#if HAVE_UG
UnitCube< Dune::UGGrid< dimGrid >, 2 > uc6;
dowork( uc6.grid(), 3 );
#endif
UnitCube<Dune::YaspGrid<dimGrid>,1> uc1;
#ifdef GRIDDIM
#if HAVE_ALBERTA
UnitCube< Dune::AlbertaGrid< dimGrid, dimGrid >, 1 > uc7;
// note: The 3d cube cannot be bisected recursively
dowork( uc7.grid(), (dimGrid < 3 ? 6 : 0 ) );
#endif
#endif
#if HAVE_UG
UnitCube< Dune::UGGrid< dimGrid >, 2 > uc2;
dowork( uc2.grid(), 3 );
#endif
#ifdef GRIDDIM
#if HAVE_ALBERTA
UnitCube< Dune::AlbertaGrid< dimGrid, dimGrid >, 1 > uc3;
// note: The 3d cube cannot be bisected recursively
dowork( uc3.grid(), (dimGrid < 3 ? 6 : 0 ) );
#endif
#endif
*/
UnitCube< Dune::SGrid< dimGrid, dimGrid >, 1 > uc4;
dowork( uc4.grid(), 3 );
#if HAVE_ALUGRID
UnitCube< Dune::ALUSimplexGrid< dimGrid, dimGrid > , 1 > uc8;
dowork( uc8.grid(), 3 );
UnitCube< Dune::ALUSimplexGrid< dimGrid, dimGrid > , 1 > uc5;
dowork( uc5.grid(), 3 );
#if GRIDDIM == 3
UnitCube< Dune::ALUCubeGrid< dimGrid, dimGrid > , 1 > uc6;
dowork( uc6.grid(), 3 );
#endif
#endif
}
catch (std::exception & e) {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment