]> https://gitweb.dealii.org/ - dealii-svn.git/commitdiff
Further limit amount of work
authorbangerth <bangerth@0785d39b-7218-0410-832d-ea1e28bc413d>
Fri, 11 Aug 2006 18:22:33 +0000 (18:22 +0000)
committerbangerth <bangerth@0785d39b-7218-0410-832d-ea1e28bc413d>
Fri, 11 Aug 2006 18:22:33 +0000 (18:22 +0000)
git-svn-id: https://svn.dealii.org/trunk@13681 0785d39b-7218-0410-832d-ea1e28bc413d

tests/deal.II/project_rt_01.cc

index 348a17345f5d40550bfaa8cdd659d8b990ee1540..4cf563a6f6f1b014da9bb2a57c5aeef4b1db6339 100644 (file)
@@ -25,6 +25,9 @@ template <int dim>
 void test ()
 {
   if (dim != 1)
-    for (unsigned int p=0; p<3; ++p)
+                                    // this is interesting also in 3d, but is
+                                    // exceedingly slow there. limit to the
+                                    // case of RT(0) elements in 3d
+    for (unsigned int p=0; p<(dim == 2 ? 3 : 1); ++p)
       test_no_hanging_nodes (FE_RaviartThomas<dim>(p), p+1, 1);
 }

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.