From 9484ce1fd4aac422392765ca9f4d197f51daae47 Mon Sep 17 00:00:00 2001 From: "kainan.wang" Date: Tue, 26 Mar 2013 06:46:42 +0000 Subject: [PATCH] Change more places for trilinos XXX64 git-svn-id: https://svn.dealii.org/branches/branch_bigger_global_dof_indices_4@29037 0785d39b-7218-0410-832d-ea1e28bc413d --- deal.II/source/lac/trilinos_sparse_matrix.cc | 4 ++-- deal.II/source/lac/trilinos_sparsity_pattern.cc | 12 ++++++------ 2 files changed, 8 insertions(+), 8 deletions(-) diff --git a/deal.II/source/lac/trilinos_sparse_matrix.cc b/deal.II/source/lac/trilinos_sparse_matrix.cc index 3bf1ea3735..ef89d1e715 100644 --- a/deal.II/source/lac/trilinos_sparse_matrix.cc +++ b/deal.II/source/lac/trilinos_sparse_matrix.cc @@ -446,8 +446,8 @@ namespace TrilinosWrappers column_space_map.reset (new Epetra_Map (input_col_map)); - const size_type first_row = input_row_map.MinMyGID(), - last_row = input_row_map.MaxMyGID()+1; + const size_type first_row = input_row_map.MinMyGID64(), + last_row = input_row_map.MaxMyGID64()+1; std::vector n_entries_per_row(last_row-first_row); for (size_type row=first_row; row 1) graph.reset(new Epetra_FECrsGraph(Copy, input_row_map, - n_entries_per_row[input_row_map.MinMyGID()], + n_entries_per_row[input_row_map.MinMyGID64()], false)); else graph.reset(new Epetra_FECrsGraph(Copy, input_row_map, input_col_map, - n_entries_per_row[input_row_map.MinMyGID()], + n_entries_per_row[input_row_map.MinMyGID64()], false)); } @@ -343,8 +343,8 @@ namespace TrilinosWrappers Assert (input_row_map.LinearMap() == true, ExcMessage ("This function is not efficient if the map is not contiguous.")); - const size_type first_row = input_row_map.MinMyGID(), - last_row = input_row_map.MaxMyGID()+1; + const size_type first_row = input_row_map.MinMyGID64(), + last_row = input_row_map.MaxMyGID64()+1; std::vector n_entries_per_row(last_row - first_row); for (size_type row=first_row; row RowMap().MinMyGID(); - end = graph -> RowMap().MaxMyGID()+1; + begin = graph -> RowMap().MinMyGID64(); + end = graph -> RowMap().MaxMyGID64()+1; return std::make_pair (begin, end); } -- 2.39.5