[Dune] [Dune-Commit] dune-grid r5959 - trunk/dune/grid/common/test

Oliver Sander sander at mi.fu-berlin.de
Fri Nov 20 09:32:28 CET 2009


It never compiled.  That's FS 482.  It put the extra lines there to document
that the quadrature rules are not as dimension-independent as the rest of
Dune.  I'am afraid just out-commenting the problematic lines is not a long-
term solution :-)

best,
Oliver

dedner at dune-project.org schrieb:
> Author: dedner
> Date: 2009-11-19 15:43:28 +0100 (Thu, 19 Nov 2009)
> New Revision: 5959
>
> Modified:
>    trunk/dune/grid/common/test/test-quadrature.cc
> Log:
> d>3 quadrature do not work because factory needs to instantiate SimplexQuadrature<d> as well as CubeQuadrature<d> - how could this test have ever compiled\?
>
> Modified: trunk/dune/grid/common/test/test-quadrature.cc
> ===================================================================
> --- trunk/dune/grid/common/test/test-quadrature.cc	2009-11-19 14:07:51 UTC (rev 5958)
> +++ trunk/dune/grid/common/test/test-quadrature.cc	2009-11-19 14:43:28 UTC (rev 5959)
> @@ -196,9 +196,9 @@
>      Dune::GeometryType cube1d(Dune::GeometryType::cube,1);
>      Dune::GeometryType cube2d(Dune::GeometryType::cube,2);
>      Dune::GeometryType cube3d(Dune::GeometryType::cube,3);
> -    Dune::GeometryType cube4d(Dune::GeometryType::cube,4);
> -    Dune::GeometryType cube5d(Dune::GeometryType::cube,5);
> -    Dune::GeometryType cube6d(Dune::GeometryType::cube,6);
> +    // Dune::GeometryType cube4d(Dune::GeometryType::cube,4);
> +    // Dune::GeometryType cube5d(Dune::GeometryType::cube,5);
> +    // Dune::GeometryType cube6d(Dune::GeometryType::cube,6);
>      
>      Dune::GeometryType simplex0d(Dune::GeometryType::simplex,0);
>      Dune::GeometryType simplex1d(Dune::GeometryType::simplex,1);
> @@ -212,9 +212,9 @@
>      checkWeights<double, 1>(cube1d);
>      checkWeights<double, 2>(cube2d);
>      checkWeights<double, 3>(cube3d);
> -    checkWeights<double, 4>(cube4d);
> -    checkWeights<double, 5>(cube5d);
> -    checkWeights<double, 6>(cube6d);
> +    // checkWeights<double, 4>(cube4d);
> +    // checkWeights<double, 5>(cube5d);
> +    // checkWeights<double, 6>(cube6d);
>  
>      checkWeights<double, 0>(simplex0d);
>      checkWeights<double, 1>(simplex1d);
> @@ -228,9 +228,9 @@
>      checkQuadrature<double, 1>(cube1d);
>      checkQuadrature<double, 2>(cube2d);
>      checkQuadrature<double, 3>(cube3d);
> -    checkQuadrature<double, 4>(cube4d);
> -    checkQuadrature<double, 5>(cube5d);
> -    checkQuadrature<double, 6>(cube6d);
> +    // checkQuadrature<double, 4>(cube4d);
> +    // checkQuadrature<double, 5>(cube5d);
> +    // checkQuadrature<double, 6>(cube6d);
>  
>      checkQuadrature<double, 0>(simplex0d);
>      checkQuadrature<double, 1>(simplex1d);
>
>
> _______________________________________________
> Dune-Commit mailing list
> Dune-Commit at dune-project.org
> http://lists.dune-project.org/mailman/listinfo/dune-commit
>   


-- 
************************************************************************
* Oliver Sander                ** email: sander at mi.fu-berlin.de        *
* Freie Universität Berlin     ** phone: + 49 (30) 838 75348           *
* Institut für Mathematik      ** URL  : page.mi.fu-berlin.de/~sander  *
* Arnimallee 6                 ** -------------------------------------*
* 14195 Berlin, Germany        ** Member of MATHEON (www.matheon.de)   *
************************************************************************





More information about the Dune mailing list