44 #ifndef EPETRA_FECRSGRAPH_H
45 #define EPETRA_FECRSGRAPH_H
47 #if defined(Epetra_SHOW_DEPRECATED_WARNINGS)
49 #warning "The Epetra package is deprecated"
81 int* NumIndicesPerRow,
82 bool ignoreNonLocalEntries=
false,
83 bool buildNonlocalGraph=
false);
89 bool ignoreNonLocalEntries=
false,
90 bool buildNonlocalGraph=
false);
96 int* NumIndicesPerRow,
97 bool ignoreNonLocalEntries=
false,
98 bool buildNonlocalGraph=
false);
104 int NumIndicesPerRow,
105 bool ignoreNonLocalEntries=
false,
106 bool buildNonlocalGraph=
false);
128 #ifndef EPETRA_NO_32BIT_GLOBAL_INDICES
130 int numCols,
const int* cols);
132 #ifndef EPETRA_NO_64BIT_GLOBAL_INDICES
134 int numCols,
const long long* cols);
187 bool callFillComplete=
true);
194 int InputNonlocalIndices(
int row,
197 int InputNonlocalIndex(
int rowoffset,
208 #ifndef EPETRA_NO_32BIT_GLOBAL_INDICES
211 #ifndef EPETRA_NO_64BIT_GLOBAL_INDICES
215 template<
typename int_type>
216 std::map<int_type,Epetra_CrsGraphData::EntriesInOneRow<int_type> >& nonlocalRowData();
227 template<
typename int_type>
228 int InsertGlobalIndices(
int numRows,
const int_type* rows,
int numCols,
const int_type* cols);
230 template<
typename int_type>
235 #ifndef EPETRA_NO_32BIT_GLOBAL_INDICES
242 #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_