]> https://gitweb.dealii.org/ - dealii-svn.git/commitdiff
Add something more tricky: systems of systems.
authorwolf <wolf@0785d39b-7218-0410-832d-ea1e28bc413d>
Fri, 17 May 2002 10:47:23 +0000 (10:47 +0000)
committerwolf <wolf@0785d39b-7218-0410-832d-ea1e28bc413d>
Fri, 17 May 2002 10:47:23 +0000 (10:47 +0000)
git-svn-id: https://svn.dealii.org/trunk@5852 0785d39b-7218-0410-832d-ea1e28bc413d

tests/fe/fe_data_test.cc

index 73a082b77a2b595e518b50d6bf8a317fa1a78b1f..ff84cb1894cb9d98c6ddc52754f8998d537b7922 100644 (file)
@@ -2,7 +2,7 @@
 //    $Id$
 //    Version: $Name$
 //
-//    Copyright (C) 1998, 1999, 2000, 2001 by the deal.II authors
+//    Copyright (C) 1998, 1999, 2000, 2001, 2002 by the deal.II authors
 //
 //    This file is subject to QPL and may not be  distributed
 //    without copyright and license information. Please refer
@@ -19,6 +19,7 @@
 #include <grid/tria_iterator.h>
 #include <dofs/dof_accessor.h>
 #include <fe/fe_q.h>
+#include <fe/fe_dgq.h>
 #include <fe/fe_system.h>
 
 
@@ -40,6 +41,15 @@ void test_fe_datas()
                                           FE_Q<dim> (3), 1));
       fe_datas.push_back(new FESystem<dim>(FE_Q<dim> (4), 2));
     }
+                                  // have systems of systems
+  fe_datas.push_back (new FESystem<dim> (FESystem<dim> (FE_Q<dim>(2),2),2));
+  fe_datas.push_back (new FESystem<dim> (FESystem<dim> (FE_Q<dim>(1),2),1,
+                                        FESystem<dim> (FE_Q<dim>(2),2),1));
+  fe_datas.push_back (new FESystem<dim> (FESystem<dim> (FE_Q<dim>(1),1,
+                                                       FE_Q<dim>(2),1),1,
+                                        FESystem<dim> (FE_Q<dim>(2),2),1,
+                                        FESystem<dim> (FE_DGQ<dim>(2),2),1));
+  
   
   deallog << std::endl << "dim=" << dim << std::endl;
   for (unsigned int n=0; n<fe_datas.size(); ++n)

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.