|
|
|
typedef GraphType::local_ordinal_type | local_ordinal_type |
| |
|
typedef GraphType::global_ordinal_type | global_ordinal_type |
| |
|
typedef GraphType::node_type | node_type |
| |
|
typedef Tpetra::Export< local_ordinal_type, global_ordinal_type, node_type > | export_type |
| |
|
typedef Tpetra::Import< local_ordinal_type, global_ordinal_type, node_type > | import_type |
| |
|
typedef Tpetra::Map< local_ordinal_type, global_ordinal_type, node_type > | map_type |
| |
|
typedef Tpetra::RowGraph< local_ordinal_type, global_ordinal_type, node_type > | row_graph_type |
| |
|
typedef GraphType::local_ordinal_type | local_ordinal_type |
| |
|
typedef GraphType::global_ordinal_type | global_ordinal_type |
| |
|
typedef GraphType::node_type | node_type |
| |
|
|
| | OverlappingRowGraph (const Teuchos::RCP< const row_graph_type > &nonoverlappingGraph, const Teuchos::RCP< const row_graph_type > &overlappingGraph, const Teuchos::RCP< const map_type > &rowMap, const Teuchos::RCP< const map_type > &colMap, const Tpetra::global_size_t numGlobalRows, const Tpetra::global_size_t numGlobalCols, const Tpetra::global_size_t numGlobalNonzeros, const size_t maxNumEntries, const Teuchos::RCP< const import_type > &nonoverlappingImporter, const Teuchos::RCP< const import_type > &overlappingImporter) |
| |
| virtual | ~OverlappingRowGraph () |
| | Destructor. More...
|
| |
|
| virtual Teuchos::RCP< const Teuchos::Comm< int > > | getComm () const |
| | The communicator over which the graph is distributed. More...
|
| |
| virtual Teuchos::RCP< const map_type > | getRowMap () const |
| | The Map that describes the distribution of rows over processes. More...
|
| |
| virtual Teuchos::RCP< const map_type > | getColMap () const |
| | The Map that describes the distribution of columns over processes. More...
|
| |
| virtual Teuchos::RCP< const map_type > | getDomainMap () const |
| | The Map that describes the domain of this graph. More...
|
| |
| virtual Teuchos::RCP< const map_type > | getRangeMap () const |
| | The Map that describes the range of this graph. More...
|
| |
| virtual Teuchos::RCP< const import_type > | getImporter () const |
| | Import object (from domain Map to column Map). More...
|
| |
| virtual Teuchos::RCP< const export_type > | getExporter () const |
| | Export object (from row Map to range Map). More...
|
| |
| virtual global_size_t | getGlobalNumRows () const |
| | The global number of rows in this graph. More...
|
| |
| virtual global_size_t | getGlobalNumCols () const |
| | The global number of columns in this graph. More...
|
| |
| virtual size_t | getNodeNumRows () const |
| | The number of rows owned by the calling process. More...
|
| |
| virtual size_t | getNodeNumCols () const |
| | The number of columns owned by the calling process. More...
|
| |
| virtual global_ordinal_type | getIndexBase () const |
| | The index base for global indices for this graph. More...
|
| |
| virtual global_size_t | getGlobalNumEntries () const |
| | The global number of entries in this graph. More...
|
| |
| virtual size_t | getNodeNumEntries () const |
| | The number of entries in this graph owned by the calling process. More...
|
| |
| virtual size_t | getNumEntriesInGlobalRow (global_ordinal_type globalRow) const |
| | The number of entries in the given global row that are owned by the calling process. More...
|
| |
| virtual size_t | getNumEntriesInLocalRow (local_ordinal_type localRow) const |
| | The number of entries in the given local row that are owned by the calling process. More...
|
| |
| virtual size_t | getGlobalMaxNumRowEntries () const |
| | The maximum number of entries in any row on any process. More...
|
| |
| virtual size_t | getNodeMaxNumRowEntries () const |
| | The maximum number of entries in any row on the calling process. More...
|
| |
| virtual bool | hasColMap () const |
| | Whether this graph has a column Map. More...
|
| |
| virtual bool | isLocallyIndexed () const |
| | Whether this graph is locally indexed. More...
|
| |
| virtual bool | isGloballyIndexed () const |
| | Whether this graph is globally indexed. More...
|
| |
| virtual bool | isFillComplete () const |
| | true if fillComplete() has been called, else false. More...
|
| |
|
| virtual void | getGlobalRowCopy (global_ordinal_type globalRow, const Teuchos::ArrayView< global_ordinal_type > &indices, size_t &numIndices) const |
| | Copy out a list of column indices in the given global row that are owned by the calling process. More...
|
| |
| virtual void | getLocalRowCopy (local_ordinal_type localRow, const Teuchos::ArrayView< local_ordinal_type > &indices, size_t &numIndices) const |
| | Copy out a list of local column indices in the given local row that are owned by the calling process. More...
|
| |
| virtual | ~RowGraph ()=default |
| | Destructor (virtual for memory safety of derived classes) More...
|
| |
template<class GraphType>
class Ifpack2::Details::OverlappingRowGraph< GraphType >
Sparse graph (Tpetra::RowGraph subclass) with ghost rows.
- Template Parameters
-
| GraphType | Tpetra::RowGraph or Tpetra::CrsGraph specialization. |
This class is meant to be created by and used with OverlappingRowMatrix. It is the subclass of Tpetra::RowGraph returned by that class' getGraph() method.
- Warning
- This class is an implementation detail of Ifpack2. Users should not rely on its interface.
template<class GraphType >
| void Ifpack2::Details::OverlappingRowGraph< GraphType >::getLocalRowCopy |
( |
local_ordinal_type |
localRow, |
|
|
const Teuchos::ArrayView< local_ordinal_type > & |
indices, |
|
|
size_t & |
numIndices |
|
) |
| const |
|
virtual |
Copy out a list of local column indices in the given local row that are owned by the calling process.
This method only makes sense to call if the graph has a column Map, since the local column indices are computed with respect to the column Map.
- Parameters
-
| localRow | [in] Local index of the row. |
| indices | [out] Local column indices in that row that are owned by the calling process. |
| numIndices | [out] Number of indices returned in indices. |
This method throws std::runtime_error if indices is not large enough to hold the column indices in row localRow. If row localRow does not belong to this process, then indices is not modified and numIndices is set to Teuchos::OrdinalTraits<size_t>::invalid() on output.