44#ifndef EPETRA_FECRSGRAPH_H
45#define EPETRA_FECRSGRAPH_H
74 bool ignoreNonLocalEntries=
false,
75 bool buildNonlocalGraph=
false);
81 bool ignoreNonLocalEntries=
false,
82 bool buildNonlocalGraph=
false);
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);
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_BlockMap: A class for partitioning block element vectors and matrices.
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
int * NumIndicesPerRow() const
const Epetra_BlockMap & RowMap() const
Returns the RowMap associated with this graph.
Epetra_CrsGraph(Epetra_DataAccess CV, const Epetra_BlockMap &RowMap, const int *NumIndicesPerRow, bool StaticProfile=false)
Epetra_CrsGraph constuctor with variable number of indices per row.
const Epetra_BlockMap & ColMap() const
Returns the Column Map associated with this graph.
Epetra_FECrsGraph(Epetra_DataAccess CV, const Epetra_BlockMap &RowMap, int *NumIndicesPerRow, bool ignoreNonLocalEntries=false, bool buildNonlocalGraph=false)
Constructor.
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
friend class Epetra_FECrsMatrix
int GlobalAssemble(bool callFillComplete=true)
Gather any overlapping/shared data into the non-overlapping partitioning defined by the Map that was ...
int InputNonlocalIndices(int row, int numCols, const int *cols)
Epetra_Map: A class for partitioning vectors and matrices.