44 #ifndef EPETRA_FECRSGRAPH_H
45 #define EPETRA_FECRSGRAPH_H
73 int* NumIndicesPerRow,
74 bool ignoreNonLocalEntries=
false,
75 bool buildNonlocalGraph=
false);
81 bool ignoreNonLocalEntries=
false,
82 bool buildNonlocalGraph=
false);
88 int* NumIndicesPerRow,
89 bool ignoreNonLocalEntries=
false,
90 bool buildNonlocalGraph=
false);
97 bool ignoreNonLocalEntries=
false,
98 bool buildNonlocalGraph=
false);
120 #ifndef EPETRA_NO_32BIT_GLOBAL_INDICES
122 int numCols,
const int* cols);
124 #ifndef EPETRA_NO_64BIT_GLOBAL_INDICES
126 int numCols,
const long long* cols);
179 bool callFillComplete=
true);
186 int InputNonlocalIndices(
int row,
189 int InputNonlocalIndex(
int rowoffset,
200 #ifndef EPETRA_NO_32BIT_GLOBAL_INDICES
203 #ifndef EPETRA_NO_64BIT_GLOBAL_INDICES
207 template<
typename int_type>
208 std::map<int_type,Epetra_CrsGraphData::EntriesInOneRow<int_type> >& nonlocalRowData();
219 template<
typename int_type>
220 int InsertGlobalIndices(
int numRows,
const int_type* rows,
int numCols,
const int_type* cols);
222 template<
typename int_type>
227 #ifndef EPETRA_NO_32BIT_GLOBAL_INDICES
234 #ifndef EPETRA_NO_64BIT_GLOBAL_INDICES
Epetra_Map: A class for partitioning vectors and matrices.
Epetra_CrsGraph * nonlocalGraph_
A CrsGraph holding non-local data in case the respective flag is set in the constructor.
Epetra_CrsGraph & operator=(const Epetra_CrsGraph &Source)
Assignment operator.
int InsertNonlocalRow(int_type row, typename std::vector< int_type >::iterator offset)
Epetra Finite-Element CrsGraph.
const Epetra_Map & ColMap() const
Returns the Epetra_Map object that describes the set of column-indices that appear in each processor'...
std::map< int, Epetra_CrsGraphData::EntriesInOneRow< int > > nonlocalRowData_int_
This STL map holds all non-local data in format of Entries in the individual rows together with the r...
const Epetra_Map & RowMap() const
Returns the Epetra_Map object associated with the rows of this matrix.
Epetra Finite-Element CrsMatrix.
bool UseNonlocalGraph() const
Epetra_BlockMap: A class for partitioning block element vectors and matrices.
int GlobalAssemble(bool callFillComplete=true, Epetra_CombineMode combineMode=Add, bool save_off_and_reuse_map_exporter=false)
Gather any overlapping/shared data into the non-overlapping partitioning defined by the Map that was ...
std::map< long long, Epetra_CrsGraphData::EntriesInOneRow< long long > > nonlocalRowData_LL_
int InsertGlobalIndices(int GlobalRow, int NumIndices, int *Indices)
Enter a list of elements in a specified global row of the graph.
const Epetra_CrsGraph & Graph() const
Returns a reference to the Epetra_CrsGraph object associated with this matrix.
std::map< int_type, Epetra_CrsGraphData::EntriesInOneRow< int_type > > & nonlocalRowData()
friend class Epetra_FECrsGraph
Epetra_CrsGraph: A class for constructing and using sparse compressed row graphs. ...
bool ignoreNonLocalEntries_