]> https://gitweb.dealii.org/ - dealii-svn.git/commitdiff
Add some more this->
authorwolf <wolf@0785d39b-7218-0410-832d-ea1e28bc413d>
Mon, 16 Dec 2002 15:19:47 +0000 (15:19 +0000)
committerwolf <wolf@0785d39b-7218-0410-832d-ea1e28bc413d>
Mon, 16 Dec 2002 15:19:47 +0000 (15:19 +0000)
git-svn-id: https://svn.dealii.org/trunk@6822 0785d39b-7218-0410-832d-ea1e28bc413d

deal.II/deal.II/source/fe/fe_q.cc
deal.II/lac/include/lac/sparse_decomposition.templates.h
deal.II/lac/include/lac/sparse_mic.templates.h

index 74673d97b3216da411e3d7b275754a814a31c857..8a057dc7a943e7ca586ee03d9b7784a3d66f6c9c 100644 (file)
@@ -1400,11 +1400,11 @@ FE_Q<dim>::has_support_on_face (const unsigned int shape_index,
                     Assert (false, ExcNotImplemented());
             };
         }
-      else if (shape_index < first_quad_index)
+      else if (shape_index < this->first_quad_index)
                                          // ok, dof is on a line
         {
           const unsigned int line_index
-            = (shape_index - first_line_index) / this->dofs_per_line;
+            = (shape_index - this->first_line_index) / this->dofs_per_line;
           Assert (line_index < GeometryInfo<dim>::lines_per_cell,
                   ExcInternalError());
 
@@ -1431,11 +1431,11 @@ FE_Q<dim>::has_support_on_face (const unsigned int shape_index,
           else
             Assert (false, ExcNotImplemented());
         }
-      else if (shape_index < first_hex_index)
+      else if (shape_index < this->first_hex_index)
                                          // dof is on a quad
         {
           const unsigned int quad_index 
-            = (shape_index - first_quad_index) / this->dofs_per_quad;
+            = (shape_index - this->first_quad_index) / this->dofs_per_quad;
           Assert (static_cast<signed int>(quad_index) <
                   static_cast<signed int>(GeometryInfo<dim>::quads_per_cell),
                   ExcInternalError());
index bc31a7adda0c46e4f7c6f3079147d650676ca272..eeaa862823b28b4b778845d2b93a2445d5aef677 100644 (file)
@@ -146,15 +146,16 @@ SparseLUDecomposition<number>::strengthen_diagonal_impl ()
                                        // get the global index of the first
                                        // non-diagonal element in this row
       const unsigned int rowstart
-        = get_sparsity_pattern().get_rowstart_indices()[row] + 1;
+        = this->get_sparsity_pattern().get_rowstart_indices()[row] + 1;
       number * const diagonal_element = &this->global_entry(rowstart-1);
 
       number rowsum = 0;
       for (unsigned int global_index=rowstart;
            global_index<rowstart+rowlength; ++global_index)
-        rowsum += std::fabs(global_entry(global_index));
+        rowsum += std::fabs(this->global_entry(global_index));
 
-      *diagonal_element += get_strengthen_diagonal (rowsum, row)  * rowsum;
+      *diagonal_element += this->get_strengthen_diagonal (rowsum, row)  *
+                           rowsum;
     }
 }
 
index 07a4cbc13354ce9ee7d75e0a924416a3c83c03c3..a0d88a0d84d91e50ea6aa6597fb8526421ff4b51 100644 (file)
@@ -117,7 +117,7 @@ void SparseMIC<number>::decompose (const SparseMatrix<somenumber> &matrix,
   inner_sums.resize (this->m());
 
                                    // precalc sum(j=k+1, N, a[k][j]))
-  for(unsigned int row=0; row<m(); row++) {
+  for(unsigned int row=0; row<this->m(); row++) {
     inner_sums[row] = get_rowsum(row);
   }
 

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.