From af39a95c2d40bca3432f519a749ea9c06d6d8edc Mon Sep 17 00:00:00 2001 From: Wolfgang Bangerth Date: Thu, 2 May 2024 20:23:24 +0530 Subject: [PATCH] Say what a bare integer argument is. --- examples/step-3/step-3.cc | 2 +- examples/step-4/step-4.cc | 2 +- examples/step-5/step-5.cc | 2 +- examples/step-6/step-6.cc | 2 +- 4 files changed, 4 insertions(+), 4 deletions(-) diff --git a/examples/step-3/step-3.cc b/examples/step-3/step-3.cc index 47402656bc..ac30b786e4 100644 --- a/examples/step-3/step-3.cc +++ b/examples/step-3/step-3.cc @@ -132,7 +132,7 @@ private: // distribute_dofs() function.) All the other member variables of the Step3 // class have a default constructor which does all we want. Step3::Step3() - : fe(1) + : fe(/* polynomial degree = */ 1) , dof_handler(triangulation) {} diff --git a/examples/step-4/step-4.cc b/examples/step-4/step-4.cc index d0e622d7c6..1c107d2ad9 100644 --- a/examples/step-4/step-4.cc +++ b/examples/step-4/step-4.cc @@ -240,7 +240,7 @@ double BoundaryValues::value(const Point &p, // example program, step-3: template Step4::Step4() - : fe(1) + : fe(/* polynomial degree = */ 1) , dof_handler(triangulation) {} diff --git a/examples/step-5/step-5.cc b/examples/step-5/step-5.cc index bba78459f6..b855994398 100644 --- a/examples/step-5/step-5.cc +++ b/examples/step-5/step-5.cc @@ -114,7 +114,7 @@ double coefficient(const Point &p) // This function is as before. template Step5::Step5() - : fe(1) + : fe(/* polynomial degree = */ 1) , dof_handler(triangulation) {} diff --git a/examples/step-6/step-6.cc b/examples/step-6/step-6.cc index 3dd3c7153c..30c1cdb04b 100644 --- a/examples/step-6/step-6.cc +++ b/examples/step-6/step-6.cc @@ -145,7 +145,7 @@ double coefficient(const Point &p) // the desired polynomial degree (here 2): template Step6::Step6() - : fe(2) + : fe(/* polynomial degree = */ 2) , dof_handler(triangulation) {} -- 2.39.5