]> https://gitweb.dealii.org/ - dealii.git/commitdiff
One has to specify the template argument for get_fe_from_name.
authorWolfgang Bangerth <bangerth@math.tamu.edu>
Mon, 14 Mar 2005 15:41:37 +0000 (15:41 +0000)
committerWolfgang Bangerth <bangerth@math.tamu.edu>
Mon, 14 Mar 2005 15:41:37 +0000 (15:41 +0000)
git-svn-id: https://svn.dealii.org/trunk@10124 0785d39b-7218-0410-832d-ea1e28bc413d

tests/bits/get_fe_from_name.cc

index a7634b072e3dc2f0f9f7eb7aae40bc1b4fdc762e..5c95f7270dbaf6609e92bb84f6c5c8b040761828 100644 (file)
@@ -30,9 +30,9 @@ int main ()
   
   std::string name;
   name = "FE_Q(1)";
-  fe1 = FETools::get_fe_from_name(name);
-  fe2 = FETools::get_fe_from_name(name);
-  fe3 = FETools::get_fe_from_name(name);
+  fe1 = FETools::get_fe_from_name<1>(name);
+  fe2 = FETools::get_fe_from_name<2>(name);
+  fe3 = FETools::get_fe_from_name<3>(name);
   
   deallog << "Read " << name << std::endl;
   deallog << "Generated :" << std::endl;

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.