]> https://gitweb.dealii.org/ - dealii.git/commitdiff
Fix tests with ConstantFunction without prefix 10568/head
authorPeter Munch <peterrmuench@gmail.com>
Mon, 22 Jun 2020 09:13:58 +0000 (11:13 +0200)
committerPeter Munch <peterrmuench@gmail.com>
Mon, 22 Jun 2020 09:16:22 +0000 (11:16 +0200)
tests/fe/fe_enriched_color_04.cc
tests/fe/fe_enriched_color_05.cc
tests/fe/fe_enriched_color_07.cc
tests/fe/fe_enriched_color_08.cc

index 9382e49eefb2b79039ee5859bf4c6114d8c74fc3..8f355a2595aaf3a1f647923a4e6e0cea492991fe 100644 (file)
@@ -131,7 +131,8 @@ main(int argc, char **argv)
     {
       // constant function is chosen as enrichment function
       Functions::ConstantFunction<dim> func(i);
-      vec_enrichments.push_back(std::make_shared<ConstantFunction<dim>>(func));
+      vec_enrichments.push_back(
+        std::make_shared<Functions::ConstantFunction<dim>>(func));
     }
 
   // Construct container for color enrichment functions needed
index 8146c4155855831676936b5be4632e51dbfdba72..11bf2fe9541f0dfa742b3954a3d1595c7f6cebef 100644 (file)
@@ -203,7 +203,8 @@ main(int argc, char **argv)
     {
       // constant function.
       Functions::ConstantFunction<dim> func(10 + i); // constant function
-      vec_enrichments.push_back(std::make_shared<ConstantFunction<dim>>(func));
+      vec_enrichments.push_back(
+        std::make_shared<Functions::ConstantFunction<dim>>(func));
     }
 
   // Construct container for color enrichment functions needed
index 700c17d82603b8983bba0818c670ba377e7ba8ae..16846b9ffed6b77f868a2c58f313e725e3b7991c 100644 (file)
@@ -1306,7 +1306,7 @@ LaplaceProblem<dim>::make_enrichment_functions()
           pcout << "Dummy function added at " << i << std::endl;
           Functions::ConstantFunction<dim> func(0);
           vec_enrichments.push_back(
-            std::make_shared<ConstantFunction<dim>>(func));
+            std::make_shared<Functions::ConstantFunction<dim>>(func));
         }
     }
 }
index e28792df6e276280bd20916d9f4fa3cab84e12b1..86a293b4f908a07707026d445de5412a24f427b9 100644 (file)
@@ -243,7 +243,8 @@ main(int argc, char **argv)
     {
       // constant function.
       Functions::ConstantFunction<dim> func(10 + i); // constant function
-      vec_enrichments.push_back(std::make_shared<ConstantFunction<dim>>(func));
+      vec_enrichments.push_back(
+        std::make_shared<Functions::ConstantFunction<dim>>(func));
     }
 
   // Construct helper class to construct fe collection

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.