]> https://gitweb.dealii.org/ - dealii-svn.git/commitdiff
Do most of the merge from branch_codimension_one. A few bits are still missing.
authorbangerth <bangerth@0785d39b-7218-0410-832d-ea1e28bc413d>
Fri, 5 Dec 2008 22:44:18 +0000 (22:44 +0000)
committerbangerth <bangerth@0785d39b-7218-0410-832d-ea1e28bc413d>
Fri, 5 Dec 2008 22:44:18 +0000 (22:44 +0000)
git-svn-id: https://svn.dealii.org/trunk@17867 0785d39b-7218-0410-832d-ea1e28bc413d

tests/Makefile
tests/deal.II/Makefile
tests/fe/check_derivatives.cc

index 5da88de4afd2dc6f462dd0c3a026dd7aaab76cc7..9276ba7afb985cfc5ee82afe0e47e8ba25defc0f 100644 (file)
@@ -14,6 +14,7 @@ nofail-dirs = base      \
               bits      \
               hp        \
               aniso     \
+              codim_one \
              $(shell if test "$(USE_CONTRIB_PETSC)" = yes ; then echo petsc ; fi) \
              $(shell if test "$(USE_CONTRIB_TRILINOS)" = yes ; then echo trilinos ; fi) \
              $(shell if test "$(USE_CONTRIB_UMFPACK)" = yes ; then echo umfpack ; fi) \
index 9c1a10e724dc6b470f9da6fc1e4972ec1c1bfe26..cb009839c5cc7134576fa5d5cac196586cc53e78 100644 (file)
@@ -71,6 +71,7 @@ tests_x = block_matrices \
        minimal_cell_diameter \
        maximal_cell_diameter \
        union_triangulation \
+       iterators* \
        mesh_smoothing_* \
        create_* \
        line_coarsening_3d \
index bbf3b704ce0a60e538277854b702bb830e4b00da..9551cf8b4975d37955911bbe98609f9b95086b0a 100644 (file)
@@ -2,7 +2,7 @@
 //    check_derivatives.cc,v 1.3 2003/06/09 16:00:38 wolf Exp
 //    Version: 
 //
-//    Copyright (C) 2005 by the deal.II authors
+//    Copyright (C) 2005, 2008 by the deal.II authors
 //
 //    This file is subject to QPL and may not be  distributed
 //    without copyright and license information. Please refer
@@ -67,6 +67,22 @@ void test (const FiniteElement<dim> &fe,
 
 
 
+template <template <int,int> class FE>
+void check (const unsigned int min_degree,
+            const unsigned int max_degree)
+{
+  for (unsigned int degree=min_degree; degree<=max_degree; ++degree)
+    {
+      FE<1,1> fe1(degree);
+      test<1> (fe1, QGauss<1> (degree+1));
+      FE<2,2> fe2(degree);
+      test<2> (fe2, QGauss<2> (degree+1));
+      FE<3,3> fe3(degree);
+      test<3> (fe3, QGauss<3> (degree+1));
+    }
+}
+
+
 template <template <int> class FE>
 void check (const unsigned int min_degree,
             const unsigned int max_degree)
@@ -100,7 +116,7 @@ void check<FE_Nedelec> (const unsigned int min_degree,
 // former is also not implemented in 3d
 template <>
 void check<FE_RaviartThomas> (const unsigned int min_degree,
-                        const unsigned int max_degree)
+                             const unsigned int max_degree)
 {
   for (unsigned int degree=min_degree; degree<=max_degree; ++degree)
     {

In the beginning the Universe was created. This has made a lot of people very angry and has been widely regarded as a bad move.

Douglas Adams


Typeset in Trocchi and Trocchi Bold Sans Serif.