[Dune-devel] Crash in test-localfe

Oliver Sander sander at igpm.rwth-aachen.de
Wed Apr 24 16:49:23 CEST 2013


Dear Dune,
I adapted test-localfe.cc to get rid of deprecation warnings
regarding Raviart-Thomas shape functions.  The new ones crash
though -- whoever wrote them may want to have a look.

Thanks,
Oliver

Am 24.04.2013 16:46, schrieb sander at dune-project.org:
> Author: sander
> Date: 2013-04-24 16:46:31 +0200 (Wed, 24 Apr 2013)
> New Revision: 1211
>
> Modified:
>     trunk/dune/localfunctions/test/test-localfe.cc
> Log:
> Test new generic RaviartThomasSimplexLocalFiniteElement
>
> Instead of the of RT02d and RT12d.
>
> Funnily, this crashed the test.
>
> Modified: trunk/dune/localfunctions/test/test-localfe.cc
> ===================================================================
> --- trunk/dune/localfunctions/test/test-localfe.cc	2013-04-24 14:46:30 UTC (rev 1210)
> +++ trunk/dune/localfunctions/test/test-localfe.cc	2013-04-24 14:46:31 UTC (rev 1211)
> @@ -37,8 +37,7 @@
>   #include "../hierarchical/hierarchicalp2withelementbubble.hh"
>   #include "../hierarchical/hierarchicalprismp2.hh"
>   #include "../rannacherturek/rannacherturek.hh"
> -#include "../raviartthomas/raviartthomas02d.hh"
> -#include "../raviartthomas/raviartthomas12d.hh"
> +#include "../raviartthomas/raviartthomassimplex.hh"
>   #include "../raviartthomas/raviartthomascube.hh"
>   #include "../monom.hh"
>
> @@ -257,10 +256,10 @@
>       // --------------------------------------------------------
>       //  Test Raviart-Thomas Finite elements
>       // --------------------------------------------------------
> -    Dune::RT02DLocalFiniteElement<double,double>  rt02dlfem(1);
> +    Dune::RaviartThomasSimplexLocalFiniteElement<2,double,double>  rt02dlfem(Dune::GeometryType(2,Dune::GeometryType::simplex),0);
>       success = testFE(rt02dlfem) and success;
>
> -    Dune::RT12DLocalFiniteElement<double,double>  rt12dlfem(1);
> +    Dune::RaviartThomasSimplexLocalFiniteElement<2,double,double>  rt12dlfem(Dune::GeometryType(2,Dune::GeometryType::simplex),1);
>       success = testFE(rt12dlfem) and success;
>
>       Dune::RaviartThomasCubeLocalFiniteElement<double,double,2,0>  rt0cube2dlfem(1);
>
>
> _______________________________________________
> Dune-Commit mailing list
> Dune-Commit at dune-project.org
> http://lists.dune-project.org/mailman/listinfo/dune-commit





More information about the Dune-devel mailing list