]> https://gitweb.dealii.org/ - dealii-svn.git/commitdiff
Add something to the documentation.
authorbangerth <bangerth@0785d39b-7218-0410-832d-ea1e28bc413d>
Wed, 27 Mar 2013 10:49:48 +0000 (10:49 +0000)
committerbangerth <bangerth@0785d39b-7218-0410-832d-ea1e28bc413d>
Wed, 27 Mar 2013 10:49:48 +0000 (10:49 +0000)
git-svn-id: https://svn.dealii.org/branches/branch_bigger_global_dof_indices_4@29057 0785d39b-7218-0410-832d-ea1e28bc413d

deal.II/source/lac/trilinos_sparse_matrix.cc

index aa5e848a86a45a7ce5589c331101344a05ff0d3a..26455a4aa14774609f69a3b70963ee7a65bdfad8 100644 (file)
@@ -48,7 +48,7 @@ namespace TrilinosWrappers
     {
       return map.MinMyGID();
     }
-    
+
     int max_my_gid(const Epetra_BlockMap &map)
     {
       return map.MaxMyGID();
@@ -548,7 +548,9 @@ namespace TrilinosWrappers
       }
 
     // Eventually, optimize the graph structure (sort indices, make memory
-    // contiguous, etc).
+    // contiguous, etc). note that the documentation of the function indeed
+    // states that we first need to provide the column (domain) map and then
+    // the row (range) map
     graph->FillComplete(input_col_map, input_row_map);
     graph->OptimizeStorage();
 
@@ -1455,7 +1457,7 @@ namespace TrilinosWrappers
           {
             matrix->ExtractMyRowView (i, num_entries, values, indices);
             for (TrilinosWrappers::types::int_type j=0; j<num_entries; ++j)
-              out << "(" << global_row_index(*matrix,i) << "," 
+              out << "(" << global_row_index(*matrix,i) << ","
                   << global_column_index(*matrix,indices[j]) << ") "
                   << values[j] << std::endl;
           }

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.