]> https://gitweb.dealii.org/ - dealii.git/commitdiff
Fixed indentation
authorNicolas Barnafi <nabw91@gmail.com>
Mon, 4 Jul 2022 15:33:43 +0000 (17:33 +0200)
committerNicolas Barnafi <nabw91@gmail.com>
Mon, 4 Jul 2022 15:33:43 +0000 (17:33 +0200)
include/deal.II/lac/petsc_sparse_matrix.h
source/lac/petsc_parallel_sparse_matrix.cc

index 7a36cbc1e39a081477201dfb647aa82e84f3763b..5d22aac3ef3aed810289d92e445741e16c4cfd34 100644 (file)
@@ -635,7 +635,8 @@ namespace PETScWrappers
                 const SparsityPatternType &sparsity_pattern);
 
       /**
-       * Same as previous functions, but here we consider active dofs for matrices of IS type.
+       * Same as previous functions, but here we consider active dofs for
+       * matrices of IS type.
        */
       template <typename SparsityPatternType>
       void
index 09543ac402c84ba682305b081e0224ec85d0acda..0d65d8e0645cccc3d76a58a74407600907076d64 100644 (file)
@@ -477,10 +477,11 @@ namespace PETScWrappers
 
       // create the local to global mappings as arrays.
       IndexSet::size_type n_local_active_rows = local_active_rows.n_elements();
-      IndexSet::size_type n_local_active_cols = local_active_columns.n_elements();
-      std::vector<int>    idx_glob_row(n_local_active_rows);
-      std::vector<int>    idx_glob_col(n_local_active_cols);
-      unsigned int        k;
+      IndexSet::size_type n_local_active_cols =
+        local_active_columns.n_elements();
+      std::vector<int> idx_glob_row(n_local_active_rows);
+      std::vector<int> idx_glob_col(n_local_active_cols);
+      unsigned int     k;
       for (k = 0; k < n_local_active_rows; ++k)
         {
           idx_glob_row[k] = local_active_rows.nth_index_in_set(k);

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.