16 #ifndef dealii_trilinos_index_access_h 17 #define dealii_trilinos_index_access_h 19 #include <deal.II/base/config.h> 21 #ifdef DEAL_II_WITH_TRILINOS 23 #include <deal.II/base/types.h> 25 #include <Epetra_BlockMap.h> 26 #include <Epetra_CrsGraph.h> 27 #include <Epetra_CrsMatrix.h> 28 #include <Epetra_MultiVector.h> 30 DEAL_II_NAMESPACE_OPEN
40 TrilinosWrappers::types::int_type
43 #ifdef DEAL_II_WITH_64BIT_INDICES 44 return map.NumGlobalElements64();
46 return map.NumGlobalElements();
55 TrilinosWrappers::types::int_type
58 #ifdef DEAL_II_WITH_64BIT_INDICES 59 return map.MinMyGID64();
61 return map.MinMyGID();
70 TrilinosWrappers::types::int_type
73 #ifdef DEAL_II_WITH_64BIT_INDICES 74 return map.MaxMyGID64();
76 return map.MaxMyGID();
85 TrilinosWrappers::types::int_type
87 const ::types::global_dof_index i)
89 #ifdef DEAL_II_WITH_64BIT_INDICES 102 TrilinosWrappers::types::int_type *
105 #ifdef DEAL_II_WITH_64BIT_INDICES 106 return map.MyGlobalElements64();
108 return map.MyGlobalElements();
117 TrilinosWrappers::types::int_type
120 #ifdef DEAL_II_WITH_64BIT_INDICES 121 return graph.NumGlobalRows64();
123 return graph.NumGlobalRows();
132 TrilinosWrappers::types::int_type
135 #ifdef DEAL_II_WITH_64BIT_INDICES 136 return graph.NumGlobalCols64();
138 return graph.NumGlobalCols();
147 TrilinosWrappers::types::int_type
150 #ifdef DEAL_II_WITH_64BIT_INDICES 151 return graph.NumGlobalEntries64();
153 return graph.NumGlobalEntries();
162 TrilinosWrappers::types::int_type
164 const ::types::global_dof_index i)
166 #ifdef DEAL_II_WITH_64BIT_INDICES 167 return matrix.GRID64(i);
169 return matrix.GRID(i);
178 TrilinosWrappers::types::int_type
180 const ::types::global_dof_index i)
182 #ifdef DEAL_II_WITH_64BIT_INDICES 183 return matrix.GCID64(i);
185 return matrix.GCID(i);
194 TrilinosWrappers::types::int_type
197 #ifdef DEAL_II_WITH_64BIT_INDICES 198 return vector.GlobalLength64();
200 return vector.GlobalLength();
209 TrilinosWrappers::types::int_type
212 #ifdef DEAL_II_WITH_64BIT_INDICES 213 return matrix.NumGlobalRows64();
215 return matrix.NumGlobalRows();
220 DEAL_II_NAMESPACE_CLOSE
221 #endif // DEAL_II_WITH_TRILINOS 222 #endif // dealii_trilinos_index_access_h TrilinosWrappers::types::int_type global_length(const Epetra_MultiVector &vector)
TrilinosWrappers::types::int_type min_my_gid(const Epetra_BlockMap &map)
TrilinosWrappers::types::int_type n_global_rows(const Epetra_CrsGraph &graph)
TrilinosWrappers::types::int_type * my_global_elements(const Epetra_BlockMap &map)
TrilinosWrappers::types::int_type n_global_cols(const Epetra_CrsGraph &graph)
TrilinosWrappers::types::int_type global_row_index(const Epetra_CrsMatrix &matrix, const ::types::global_dof_index i)
TrilinosWrappers::types::int_type n_global_entries(const Epetra_CrsGraph &graph)
TrilinosWrappers::types::int_type global_column_index(const Epetra_CrsMatrix &matrix, const ::types::global_dof_index i)
TrilinosWrappers::types::int_type n_global_elements(const Epetra_BlockMap &map)
TrilinosWrappers::types::int_type max_my_gid(const Epetra_BlockMap &map)
TrilinosWrappers::types::int_type global_index(const Epetra_BlockMap &map, const ::types::global_dof_index i)