]> https://gitweb.dealii.org/ - dealii.git/commitdiff
Mark an input parameter const.
authorWolfgang Bangerth <bangerth@math.tamu.edu>
Mon, 25 Mar 2002 14:08:25 +0000 (14:08 +0000)
committerWolfgang Bangerth <bangerth@math.tamu.edu>
Mon, 25 Mar 2002 14:08:25 +0000 (14:08 +0000)
git-svn-id: https://svn.dealii.org/trunk@5614 0785d39b-7218-0410-832d-ea1e28bc413d

deal.II/deal.II/include/multigrid/mg_smoother.h

index f37ef250923afea9ea6c92624093aca4c1217b10..f658cd7d68c923919105184be1f41672ebb261de 100644 (file)
@@ -94,22 +94,24 @@ class MGSmootherContinuous : public Subscriptor
                                      * is no 1d implementation.
                                      */
     MGSmootherContinuous (const MGDoFHandler<1> &mg_dof,
-               unsigned int           steps);
+                         const unsigned int     steps);
 
                                     /**
                                      * Constructor. This one collects
-                                     * the indices of the degrees of freedom
-                                     * on the interior boundaries between
-                                     * the different levels, which are
+                                     * the indices of the degrees of
+                                     * freedom on the interior
+                                     * boundaries between the
+                                     * different levels, which are
                                      * needed by the function
                                      * @p{set_zero_interior_boundaries}.
                                      *
-                                     * The parameter steps indicates the number of smoothing
-                                     * steps to be executed by @p{smooth}.
+                                     * The parameter steps indicates
+                                     * the number of smoothing steps
+                                     * to be executed by @p{smooth}.
                                      */
     template <int dim>
     MGSmootherContinuous (const MGDoFHandler<dim> &mg_dof,
-               unsigned int             steps);    
+                         const unsigned int       steps);    
 
                                     /**
                                      * Reset the values of the degrees of

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.