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);
150 int GlobalAssemble(
bool callFillComplete=
true);
177 int GlobalAssemble(
const Epetra_Map& domain_map,
179 bool callFillComplete=
true);
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>
223 int GlobalAssemble(
const Epetra_Map& domain_map,
const Epetra_Map& range_map,
bool callFillComplete);
227#ifndef EPETRA_NO_32BIT_GLOBAL_INDICES
234#ifndef EPETRA_NO_64BIT_GLOBAL_INDICES
Epetra_BlockMap: A class for partitioning block element vectors and matrices.
Epetra_CrsGraph: A class for constructing and using sparse compressed row graphs.
int InsertGlobalIndices(int GlobalRow, int NumIndices, int *Indices)
Enter a list of elements in a specified global row of the graph.
friend class Epetra_FECrsGraph
Epetra Finite-Element CrsGraph.
int InputNonlocalIndex(int rowoffset, int col)
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...
std::map< long long, Epetra_CrsGraphData::EntriesInOneRow< long long > > nonlocalRowData_LL_
int InsertNonlocalRow(int row, int offset)
Epetra_CrsGraph * nonlocalGraph_
A CrsGraph holding non-local data in case the respective flag is set in the constructor.
Epetra_FECrsGraph & operator=(const Epetra_FECrsGraph &Graph)
std::map< int_type, Epetra_CrsGraphData::EntriesInOneRow< int_type > > & nonlocalRowData()
bool ignoreNonLocalEntries_
bool UseNonlocalGraph() const
int InputNonlocalIndices(int row, int numCols, const int *cols)
Epetra Finite-Element CrsMatrix.
Epetra_Map: A class for partitioning vectors and matrices.