From 4e485e5f13765c2b87e1b597308854c20619db5b Mon Sep 17 00:00:00 2001 From: Wolfgang Bangerth Date: Wed, 27 Mar 2013 10:49:48 +0000 Subject: [PATCH] Add something to the documentation. 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 | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/deal.II/source/lac/trilinos_sparse_matrix.cc b/deal.II/source/lac/trilinos_sparse_matrix.cc index aa5e848a86..26455a4aa1 100644 --- a/deal.II/source/lac/trilinos_sparse_matrix.cc +++ b/deal.II/source/lac/trilinos_sparse_matrix.cc @@ -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