]> https://gitweb.dealii.org/ - dealii.git/commitdiff
Avoid using the deprecated row_iterator types of sparsity patterns. Replace them...
authorWolfgang Bangerth <bangerth@math.tamu.edu>
Wed, 22 Apr 2015 12:12:18 +0000 (07:12 -0500)
committerWolfgang Bangerth <bangerth@math.tamu.edu>
Thu, 23 Apr 2015 11:42:54 +0000 (06:42 -0500)
source/dofs/dof_renumbering.cc

index 9e440a0eb2e2ea129f111d300d05770e9c6baaf5..1ff221061c8d9859eb7669d69062e47a23905950 100644 (file)
@@ -423,10 +423,10 @@ namespace DoFRenumbering
           {
             const types::global_dof_index row = locally_owned.nth_index_in_set(i);
             row_entries.resize(0);
-            for (DynamicSparsityPattern::row_iterator it =
-                   dsp.row_begin(row); it != dsp.row_end(row); ++it)
-              if (*it != row && locally_owned.is_element(*it))
-                row_entries.push_back(locally_owned.index_within_set(*it));
+            for (DynamicSparsityPattern::iterator it =
+                   dsp.begin(row); it != dsp.end(row); ++it)
+              if (it->column() != row && locally_owned.is_element(it->column()))
+                row_entries.push_back(locally_owned.index_within_set(it->column()));
             sparsity.add_entries(i, row_entries.begin(), row_entries.end(),
                                  true);
           }

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.