]> https://gitweb.dealii.org/ - dealii.git/commitdiff
Say what a bare integer argument is. 16952/head
authorWolfgang Bangerth <bangerth@colostate.edu>
Thu, 2 May 2024 14:53:24 +0000 (20:23 +0530)
committerWolfgang Bangerth <bangerth@colostate.edu>
Thu, 2 May 2024 14:53:24 +0000 (20:23 +0530)
examples/step-3/step-3.cc
examples/step-4/step-4.cc
examples/step-5/step-5.cc
examples/step-6/step-6.cc

index 47402656bc006da507a170e3895de368dd5340eb..ac30b786e42e162b59d167c6a5ca0adc6c770715 100644 (file)
@@ -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)
 {}
 
index d0e622d7c6d86a0fa24dd48c7620b0b3c1c196c7..1c107d2ad92df49c8384a91555ea9f46c977a6ff 100644 (file)
@@ -240,7 +240,7 @@ double BoundaryValues<dim>::value(const Point<dim> &p,
 // example program, step-3:
 template <int dim>
 Step4<dim>::Step4()
-  : fe(1)
+  : fe(/* polynomial degree = */ 1)
   , dof_handler(triangulation)
 {}
 
index bba78459f6ab6bec91f2e998a14587e9edbfe797..b8559943988de9e90bb9aedaa09447ec0ca322a2 100644 (file)
@@ -114,7 +114,7 @@ double coefficient(const Point<dim> &p)
 // This function is as before.
 template <int dim>
 Step5<dim>::Step5()
-  : fe(1)
+  : fe(/* polynomial degree = */ 1)
   , dof_handler(triangulation)
 {}
 
index 3dd3c7153c91b90c70fb68a3bb4f741842337350..30c1cdb04b570460e7cb2fca606dfc84f91a1044 100644 (file)
@@ -145,7 +145,7 @@ double coefficient(const Point<dim> &p)
 // the desired polynomial degree (here <code>2</code>):
 template <int dim>
 Step6<dim>::Step6()
-  : fe(2)
+  : fe(/* polynomial degree = */ 2)
   , dof_handler(triangulation)
 {}
 

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.