From: Daniel Arndt Date: Mon, 27 Jun 2022 11:51:23 +0000 (-0400) Subject: Fix the reamaining occurrences X-Git-Tag: v9.5.0-rc1~1146^2 X-Git-Url: https://gitweb.dealii.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=7f05289a4ecce6f0d558557937ea1d683b746bd0;p=dealii.git Fix the reamaining occurrences --- diff --git a/examples/step-3/doc/results.dox b/examples/step-3/doc/results.dox index f03e517bd8..3898a27738 100644 --- a/examples/step-3/doc/results.dox +++ b/examples/step-3/doc/results.dox @@ -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 - ConstantFunction<2>(1) instead of - ZeroFunction<2>() to have unit Dirichlet boundary + Functions::ConstantFunction<2>(1) instead of + Functions::ZeroFunction<2>() 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 diff --git a/examples/step-7/doc/results.dox b/examples/step-7/doc/results.dox index b4b756b5ce..dc51316b05 100644 --- a/examples/step-7/doc/results.dox +++ b/examples/step-7/doc/results.dox @@ -244,7 +244,7 @@ we can compute $\|u\| \approx \|u_h\|=\|0-u_h\|$ by calling Vector norm_per_cell(triangulation.n_active_cells()); VectorTools::integrate_difference(dof_handler, solution, - ZeroFunction(), + Functions::ZeroFunction(), norm_per_cell, QGauss(fe->degree + 1), VectorTools::L2_norm); diff --git a/examples/step-81/step-81.cc b/examples/step-81/step-81.cc index 7be44e5f7a..1caef9e297 100644 --- a/examples/step-81/step-81.cc +++ b/examples/step-81/step-81.cc @@ -548,13 +548,13 @@ namespace Step81 VectorTools::project_boundary_values_curl_conforming_l2( dof_handler, 0, /* real part */ - dealii::ZeroFunction(2 * dim), + Functions::ZeroFunction(2 * dim), 0, /* boundary id */ constraints); VectorTools::project_boundary_values_curl_conforming_l2( dof_handler, dim, /* imaginary part */ - dealii::ZeroFunction(2 * dim), + Functions::ZeroFunction(2 * dim), 0, /* boundary id */ constraints); diff --git a/tests/fe/fe_enriched_color_06.cc b/tests/fe/fe_enriched_color_06.cc index fe863fa7db..284dbcb91d 100644 --- a/tests/fe/fe_enriched_color_06.cc +++ b/tests/fe/fe_enriched_color_06.cc @@ -115,7 +115,8 @@ main(int argc, char **argv) { // constant function. Functions::ConstantFunction func(10 + i); // constant function - vec_enrichments.push_back(std::make_shared>(func)); + vec_enrichments.push_back( + std::make_shared>(func)); } // Construct helper class to construct FE collection