]> https://gitweb.dealii.org/ - dealii.git/commitdiff
Fix the reamaining occurrences 14048/head
authorDaniel Arndt <arndtd@ornl.gov>
Mon, 27 Jun 2022 11:51:23 +0000 (07:51 -0400)
committerDaniel Arndt <arndtd@ornl.gov>
Mon, 27 Jun 2022 11:51:46 +0000 (07:51 -0400)
examples/step-3/doc/results.dox
examples/step-7/doc/results.dox
examples/step-81/step-81.cc
tests/fe/fe_enriched_color_06.cc

index f03e517bd8f02bb7fd7a8fd3eab6fa079f151436..3898a277382c71ba91ec92c6ef223de1206b7082 100644 (file)
@@ -74,8 +74,8 @@ suggestions:
   Change the boundary condition: The code uses the Functions::ZeroFunction
   function to generate zero boundary conditions. However, you may want to try
   non-zero constant boundary values using
-  <code>ConstantFunction&lt;2&gt;(1)</code> instead of
-  <code>ZeroFunction&lt;2&gt;()</code> to have unit Dirichlet boundary
+  <code>Functions::ConstantFunction&lt;2&gt;(1)</code> instead of
+  <code>Functions::ZeroFunction&lt;2&gt;()</code> to have unit Dirichlet boundary
   values. More exotic functions are described in the documentation of the
   Functions namespace, and you may pick one to describe your particular boundary
   values.
@@ -139,7 +139,7 @@ suggestions:
   @code
   VectorTools::interpolate_boundary_values(dof_handler,
                                           1,
-                                          ConstantFunction<2>(1.),
+                                          Functions::ConstantFunction<2>(1.),
                                           boundary_values);
   @endcode
   If you have this call immediately after the first one to this function, then
index b4b756b5cee610c53ebd4f69f0230b92d33c868c..dc51316b05af57b8be60fcd45d4ffba1c2d8ca65 100644 (file)
@@ -244,7 +244,7 @@ we can compute $\|u\| \approx \|u_h\|=\|0-u_h\|$ by calling
     Vector<float> norm_per_cell(triangulation.n_active_cells());
     VectorTools::integrate_difference(dof_handler,
                                       solution,
-                                      ZeroFunction<dim>(),
+                                      Functions::ZeroFunction<dim>(),
                                       norm_per_cell,
                                       QGauss<dim>(fe->degree + 1),
                                       VectorTools::L2_norm);
index 7be44e5f7a2fdc236a5e96dc3b806489a1f352e0..1caef9e297cd6cbce9be6cb398260bfc8f826c6d 100644 (file)
@@ -548,13 +548,13 @@ namespace Step81
     VectorTools::project_boundary_values_curl_conforming_l2(
       dof_handler,
       0, /* real part */
-      dealii::ZeroFunction<dim>(2 * dim),
+      Functions::ZeroFunction<dim>(2 * dim),
       0, /* boundary id */
       constraints);
     VectorTools::project_boundary_values_curl_conforming_l2(
       dof_handler,
       dim, /* imaginary part */
-      dealii::ZeroFunction<dim>(2 * dim),
+      Functions::ZeroFunction<dim>(2 * dim),
       0, /* boundary id */
       constraints);
 
index fe863fa7db214cf6d3694283f2f692772f76c389..284dbcb91d986ea870afe3b45515115661f68e0c 100644 (file)
@@ -115,7 +115,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.