Xpetra
Version of the Day
|
#include <Xpetra_TpetraCrsGraph_decl.hpp>
Public Member Functions | |
Teuchos::RCP< const Map > | getMap () const |
Implements DistObject interface. More... | |
void | doImport (const DistObject< GlobalOrdinal, LocalOrdinal, GlobalOrdinal, Node > &source, const Import &importer, CombineMode CM) |
Import. More... | |
void | doExport (const DistObject< GlobalOrdinal, LocalOrdinal, GlobalOrdinal, Node > &dest, const Import &importer, CombineMode CM) |
Export. More... | |
void | doImport (const DistObject< GlobalOrdinal, LocalOrdinal, GlobalOrdinal, Node > &source, const Export &exporter, CombineMode CM) |
Import (using an Exporter). More... | |
void | doExport (const DistObject< GlobalOrdinal, LocalOrdinal, GlobalOrdinal, Node > &dest, const Export &exporter, CombineMode CM) |
Export (using an Importer). More... | |
Public Member Functions inherited from Xpetra::CrsGraph< LocalOrdinal, GlobalOrdinal, Node > | |
virtual | ~CrsGraph () |
Destructor. More... | |
virtual void | expertStaticFillComplete (const RCP< const Map< LocalOrdinal, GlobalOrdinal, Node > > &domainMap, const RCP< const Map< LocalOrdinal, GlobalOrdinal, Node > > &rangeMap, const RCP< const Import< LocalOrdinal, GlobalOrdinal, Node > > &importer=null, const RCP< const Export< LocalOrdinal, GlobalOrdinal, Node > > &exporter=null, const RCP< Teuchos::ParameterList > ¶ms=null)=0 |
Expert version of fillComplete. More... | |
virtual void | getLocalDiagOffsets (const Kokkos::View< size_t *, device_type, Kokkos::MemoryUnmanaged > &offsets) const =0 |
Get offsets of the diagonal entries in the matrix. More... | |
Public Member Functions inherited from Xpetra::DistObject< GlobalOrdinal, LocalOrdinal, GlobalOrdinal, Node > | |
virtual | ~DistObject () |
Destructor. More... | |
virtual void | beginImport (const DistObject< GlobalOrdinal, LocalOrdinal, GlobalOrdinal, Node > &source, const Import< LocalOrdinal, GlobalOrdinal, Node > &importer, CombineMode CM) |
Import data into this object using an Import object ("forward mode"). More... | |
virtual void | beginImport (const DistObject< GlobalOrdinal, LocalOrdinal, GlobalOrdinal, Node > &source, const Export< LocalOrdinal, GlobalOrdinal, Node > &exporter, CombineMode CM) |
Import data into this object using an Export object ("reverse mode"). More... | |
virtual void | endImport (const DistObject< GlobalOrdinal, LocalOrdinal, GlobalOrdinal, Node > &source, const Import< LocalOrdinal, GlobalOrdinal, Node > &importer, CombineMode CM) |
Import data into this object using an Import object ("forward mode"). More... | |
virtual void | endImport (const DistObject< GlobalOrdinal, LocalOrdinal, GlobalOrdinal, Node > &source, const Export< LocalOrdinal, GlobalOrdinal, Node > &exporter, CombineMode CM) |
Import data into this object using an Export object ("reverse mode"). More... | |
virtual void | beginExport (const DistObject< GlobalOrdinal, LocalOrdinal, GlobalOrdinal, Node > &source, const Export< LocalOrdinal, GlobalOrdinal, Node > &exporter, CombineMode CM) |
Export data into this object using an Export object ("forward mode"). More... | |
virtual void | beginExport (const DistObject< GlobalOrdinal, LocalOrdinal, GlobalOrdinal, Node > &source, const Import< LocalOrdinal, GlobalOrdinal, Node > &importer, CombineMode CM) |
Export data into this object using an Import object ("reverse mode"). More... | |
virtual void | endExport (const DistObject< GlobalOrdinal, LocalOrdinal, GlobalOrdinal, Node > &source, const Export< LocalOrdinal, GlobalOrdinal, Node > &exporter, CombineMode CM) |
Export data into this object using an Export object ("forward mode"). More... | |
virtual void | endExport (const DistObject< GlobalOrdinal, LocalOrdinal, GlobalOrdinal, Node > &source, const Import< LocalOrdinal, GlobalOrdinal, Node > &importer, CombineMode CM) |
Export data into this object using an Import object ("reverse mode"). More... | |
Private Types | |
typedef TpetraCrsGraph < LocalOrdinal, GlobalOrdinal, Node > | TpetraCrsGraphClass |
typedef TpetraImport < LocalOrdinal, GlobalOrdinal, Node > | TpetraImportClass |
typedef TpetraExport < LocalOrdinal, GlobalOrdinal, Node > | TpetraExportClass |
typedef Map | map_type |
typedef Xpetra::CrsGraph < LocalOrdinal, GlobalOrdinal, Node >::local_graph_type | local_graph_type |
Private Attributes | |
RCP< Tpetra::CrsGraph < LocalOrdinal, GlobalOrdinal, Node > > | graph_ |
Constructor/Destructor Methods | |
TpetraCrsGraph (const RCP< const Map > &rowMap, size_t maxNumEntriesPerRow, const RCP< ParameterList > ¶ms=null) | |
Constructor specifying fixed number of entries for each row. More... | |
TpetraCrsGraph (const RCP< const Map > &rowMap, const ArrayRCP< const size_t > &NumEntriesPerRowToAlloc, const RCP< ParameterList > ¶ms=null) | |
Constructor specifying (possibly different) number of entries in each row. More... | |
TpetraCrsGraph (const RCP< const Map > &rowMap, const RCP< const Map > &colMap, size_t maxNumEntriesPerRow, const RCP< ParameterList > ¶ms=null) | |
Constructor specifying column Map and fixed number of entries for each row. More... | |
TpetraCrsGraph (const RCP< const Map > &rowMap, const RCP< const Map > &colMap, const ArrayRCP< const size_t > &NumEntriesPerRowToAlloc, const RCP< ParameterList > ¶ms=null) | |
Constructor specifying column Map and number of entries in each row. More... | |
TpetraCrsGraph (const RCP< const CrsGraph > &sourceGraph, const Import &importer, const RCP< const Map > &domainMap=Teuchos::null, const RCP< const Map > &rangeMap=Teuchos::null, const RCP< Teuchos::ParameterList > ¶ms=Teuchos::null) | |
TpetraCrsGraph (const Teuchos::RCP< const Map > &rowMap, const Teuchos::RCP< const Map > &colMap, const typename local_graph_type::row_map_type &rowPointers, const typename local_graph_type::entries_type::non_const_type &columnIndices, const Teuchos::RCP< Teuchos::ParameterList > &plist=Teuchos::null) | |
Constructor specifying column Map and arrays containing the graph in sorted, local ids. More... | |
TpetraCrsGraph (const local_graph_type &lclGraph, const Teuchos::RCP< const map_type > &rowMap, const Teuchos::RCP< const map_type > &colMap, const Teuchos::RCP< const map_type > &domainMap=Teuchos::null, const Teuchos::RCP< const map_type > &rangeMap=Teuchos::null, const Teuchos::RCP< Teuchos::ParameterList > ¶ms=Teuchos::null) | |
Constructor specifying column, domain and range maps, and a local (sorted) graph, which the resulting CrsGraph views. More... | |
TpetraCrsGraph (const Teuchos::RCP< const Map > &rowMap, const Teuchos::RCP< const Map > &colMap, const local_graph_type &lclGraph, const Teuchos::RCP< Teuchos::ParameterList > ¶ms) | |
Constructor specifying column Map and a local (sorted) graph, which the resulting CrsGraph views. More... | |
TpetraCrsGraph (const Teuchos::RCP< const Map > &rowMap, const Teuchos::RCP< const Map > &colMap, const Teuchos::ArrayRCP< size_t > &rowPointers, const Teuchos::ArrayRCP< LocalOrdinal > &columnIndices, const Teuchos::RCP< Teuchos::ParameterList > ¶ms=Teuchos::null) | |
virtual | ~TpetraCrsGraph () |
Destructor. More... | |
Insertion/Removal Methods | |
void | insertGlobalIndices (GlobalOrdinal globalRow, const ArrayView< const GlobalOrdinal > &indices) |
Insert global indices into the graph. More... | |
void | insertLocalIndices (const LocalOrdinal localRow, const ArrayView< const LocalOrdinal > &indices) |
Insert local indices into the graph. More... | |
void | removeLocalIndices (LocalOrdinal localRow) |
Remove all graph indices from the specified local row. More... | |
void | allocateAllIndices (size_t numNonZeros, ArrayRCP< size_t > &rowptr, ArrayRCP< LocalOrdinal > &colind) |
Allocates the 1D pointer arrays of the graph. More... | |
void | setAllIndices (const ArrayRCP< size_t > &rowptr, const ArrayRCP< LocalOrdinal > &colind) |
Sets the 1D pointer arrays of the graph. More... | |
void | getAllIndices (ArrayRCP< const size_t > &rowptr, ArrayRCP< const LocalOrdinal > &colind) const |
Gets the 1D pointer arrays of the graph. More... | |
Transformational Methods | |
void | fillComplete (const RCP< const Map > &domainMap, const RCP< const Map > &rangeMap, const RCP< ParameterList > ¶ms=null) |
Signal that data entry is complete, specifying domain and range maps. More... | |
void | fillComplete (const RCP< ParameterList > ¶ms=null) |
Signal that data entry is complete. More... | |
void | expertStaticFillComplete (const Teuchos::RCP< const map_type > &domainMap, const Teuchos::RCP< const map_type > &rangeMap, const Teuchos::RCP< const Import > &importer=Teuchos::null, const Teuchos::RCP< const Export > &exporter=Teuchos::null, const Teuchos::RCP< Teuchos::ParameterList > ¶ms=Teuchos::null) |
Expert version of fillComplete. More... | |
Methods implementing RowGraph. | |
RCP< const Comm< int > > | getComm () const |
Returns the communicator. More... | |
RCP< const Map > | getRowMap () const |
Returns the Map that describes the row distribution in this graph. More... | |
RCP< const Map > | getColMap () const |
Returns the Map that describes the column distribution in this graph. More... | |
RCP< const Map > | getDomainMap () const |
Returns the Map associated with the domain of this graph. More... | |
RCP< const Map > | getRangeMap () const |
Returns the Map associated with the domain of this graph. More... | |
RCP< const Import > | getImporter () const |
Returns the importer associated with this graph. More... | |
RCP< const Export > | getExporter () const |
Returns the exporter associated with this graph. More... | |
global_size_t | getGlobalNumRows () const |
Returns the number of global rows in the graph. More... | |
global_size_t | getGlobalNumCols () const |
Returns the number of global columns in the graph. More... | |
size_t | getLocalNumRows () const |
Returns the number of graph rows owned on the calling node. More... | |
size_t | getLocalNumCols () const |
Returns the number of columns connected to the locally owned rows of this graph. More... | |
GlobalOrdinal | getIndexBase () const |
Returns the index base for global indices for this graph. More... | |
global_size_t | getGlobalNumEntries () const |
Returns the global number of entries in the graph. More... | |
size_t | getLocalNumEntries () const |
Returns the local number of entries in the graph. More... | |
size_t | getNumEntriesInGlobalRow (GlobalOrdinal globalRow) const |
Returns the current number of entries on this node in the specified global row. More... | |
size_t | getNumEntriesInLocalRow (LocalOrdinal localRow) const |
Returns the current number of entries on this node in the specified local row. More... | |
size_t | getNumAllocatedEntriesInGlobalRow (GlobalOrdinal globalRow) const |
Returns the current number of allocated entries for this node in the specified global row . More... | |
size_t | getNumAllocatedEntriesInLocalRow (LocalOrdinal localRow) const |
Returns the current number of allocated entries on this node in the specified local row. More... | |
size_t | getGlobalMaxNumRowEntries () const |
Maximum number of entries in all rows over all processes. More... | |
size_t | getLocalMaxNumRowEntries () const |
Maximum number of entries in all rows owned by the calling process. More... | |
bool | hasColMap () const |
Whether the graph has a column Map. More... | |
bool | isLocallyIndexed () const |
Whether column indices are stored using local indices on the calling process. More... | |
bool | isGloballyIndexed () const |
Whether column indices are stored using global indices on the calling process. More... | |
bool | isFillComplete () const |
Whether fillComplete() has been called and the graph is in compute mode. More... | |
bool | isStorageOptimized () const |
Returns true if storage has been optimized. More... | |
void | getGlobalRowView (GlobalOrdinal GlobalRow, ArrayView< const GlobalOrdinal > &Indices) const |
Return a const, nonpersisting view of global indices in the given row. More... | |
void | getLocalRowView (LocalOrdinal LocalRow, ArrayView< const LocalOrdinal > &indices) const |
Return a const, nonpersisting view of local indices in the given row. More... | |
local_graph_type::HostMirror | getLocalGraphHost () const |
Access the local KokkosSparse::StaticCrsGraph data for host use. More... | |
local_graph_type | getLocalGraphDevice () const |
Access the local KokkosSparse::StaticCrsGraph data for device use. More... | |
void | getLocalDiagOffsets (const Kokkos::View< size_t *, typename Node::device_type, Kokkos::MemoryUnmanaged > &offsets) const |
Get offsets of the diagonal entries in the matrix. More... | |
void | computeGlobalConstants () |
Force the computation of global constants if we don't have them. More... | |
Overridden from Teuchos::Describable | |
std::string | description () const |
Return a simple one-line description of this object. More... | |
void | describe (Teuchos::FancyOStream &out, const Teuchos::EVerbosityLevel verbLevel=Teuchos::Describable::verbLevel_default) const |
Print the object with some verbosity level to an FancyOStream object. More... | |
Advanced methods, at increased risk of deprecation. | |
ArrayRCP< const size_t > | getNodeRowPtrs () const |
Get an ArrayRCP of the row-offsets. More... | |
Xpetra specific | |
TpetraCrsGraph (const Teuchos::RCP< Tpetra::CrsGraph< LocalOrdinal, GlobalOrdinal, Node > > &graph) | |
TpetraCrsGraph constructor to wrap a Tpetra::CrsGraph object. More... | |
RCP< const Tpetra::CrsGraph < LocalOrdinal, GlobalOrdinal, Node > > | getTpetra_CrsGraph () const |
Get the underlying Tpetra graph. More... | |
Additional Inherited Members | |
Public Types inherited from Xpetra::CrsGraph< LocalOrdinal, GlobalOrdinal, Node > | |
typedef LocalOrdinal | local_ordinal_type |
typedef GlobalOrdinal | global_ordinal_type |
typedef Node | node_type |
typedef node_type::execution_space | execution_space |
typedef node_type::device_type | device_type |
typedef Kokkos::StaticCrsGraph < LocalOrdinal, Kokkos::LayoutLeft, device_type, void, size_t > | local_graph_type |
Definition at line 31 of file Xpetra_TpetraCrsGraph_decl.hpp.
|
private |
Definition at line 36 of file Xpetra_TpetraCrsGraph_decl.hpp.
|
private |
Definition at line 37 of file Xpetra_TpetraCrsGraph_decl.hpp.
|
private |
Definition at line 38 of file Xpetra_TpetraCrsGraph_decl.hpp.
|
private |
Definition at line 39 of file Xpetra_TpetraCrsGraph_decl.hpp.
|
private |
Definition at line 41 of file Xpetra_TpetraCrsGraph_decl.hpp.
Xpetra::TpetraCrsGraph< LocalOrdinal, GlobalOrdinal, Node >::TpetraCrsGraph | ( | const RCP< const Map > & | rowMap, |
size_t | maxNumEntriesPerRow, | ||
const RCP< ParameterList > & | params = null |
||
) |
Constructor specifying fixed number of entries for each row.
Xpetra::TpetraCrsGraph< LocalOrdinal, GlobalOrdinal, Node >::TpetraCrsGraph | ( | const RCP< const Map > & | rowMap, |
const ArrayRCP< const size_t > & | NumEntriesPerRowToAlloc, | ||
const RCP< ParameterList > & | params = null |
||
) |
Constructor specifying (possibly different) number of entries in each row.
Definition at line 31 of file Xpetra_TpetraCrsGraph_def.hpp.
Xpetra::TpetraCrsGraph< LocalOrdinal, GlobalOrdinal, Node >::TpetraCrsGraph | ( | const RCP< const Map > & | rowMap, |
const RCP< const Map > & | colMap, | ||
size_t | maxNumEntriesPerRow, | ||
const RCP< ParameterList > & | params = null |
||
) |
Constructor specifying column Map and fixed number of entries for each row.
Definition at line 35 of file Xpetra_TpetraCrsGraph_def.hpp.
Xpetra::TpetraCrsGraph< LocalOrdinal, GlobalOrdinal, Node >::TpetraCrsGraph | ( | const RCP< const Map > & | rowMap, |
const RCP< const Map > & | colMap, | ||
const ArrayRCP< const size_t > & | NumEntriesPerRowToAlloc, | ||
const RCP< ParameterList > & | params = null |
||
) |
Constructor specifying column Map and number of entries in each row.
Definition at line 39 of file Xpetra_TpetraCrsGraph_def.hpp.
Xpetra::TpetraCrsGraph< LocalOrdinal, GlobalOrdinal, Node >::TpetraCrsGraph | ( | const RCP< const CrsGraph > & | sourceGraph, |
const Import & | importer, | ||
const RCP< const Map > & | domainMap = Teuchos::null , |
||
const RCP< const Map > & | rangeMap = Teuchos::null , |
||
const RCP< Teuchos::ParameterList > & | params = Teuchos::null |
||
) |
Xpetra::TpetraCrsGraph< LocalOrdinal, GlobalOrdinal, Node >::TpetraCrsGraph | ( | const Teuchos::RCP< const Map > & | rowMap, |
const Teuchos::RCP< const Map > & | colMap, | ||
const typename local_graph_type::row_map_type & | rowPointers, | ||
const typename local_graph_type::entries_type::non_const_type & | columnIndices, | ||
const Teuchos::RCP< Teuchos::ParameterList > & | plist = Teuchos::null |
||
) |
Constructor specifying column Map and arrays containing the graph in sorted, local ids.
rowMap | [in] Distribution of rows of the graph. |
colMap | [in] Distribution of columns of the graph. |
rowPointers | [in] The beginning of each row in the graph, as in a CSR "rowptr" array. The length of this vector should be equal to the number of rows in the graph, plus one. This last entry should store the nunber of nonzeros in the graph. |
columnIndices | [in] The local indices of the columns, as in a CSR "colind" array. The length of this vector should be equal to the number of unknowns in the graph. |
params | [in/out] Optional list of parameters. If not null, any missing parameters will be filled in with their default values. |
Definition at line 63 of file Xpetra_TpetraCrsGraph_def.hpp.
Xpetra::TpetraCrsGraph< LocalOrdinal, GlobalOrdinal, Node >::TpetraCrsGraph | ( | const local_graph_type & | lclGraph, |
const Teuchos::RCP< const map_type > & | rowMap, | ||
const Teuchos::RCP< const map_type > & | colMap, | ||
const Teuchos::RCP< const map_type > & | domainMap = Teuchos::null , |
||
const Teuchos::RCP< const map_type > & | rangeMap = Teuchos::null , |
||
const Teuchos::RCP< Teuchos::ParameterList > & | params = Teuchos::null |
||
) |
Constructor specifying column, domain and range maps, and a local (sorted) graph, which the resulting CrsGraph views.
Unlike most other CrsGraph constructors, successful completion of this constructor will result in a fill-complete graph.
rowMap | [in] Distribution of rows of the graph. |
colMap | [in] Distribution of columns of the graph. |
domainMap | [in] The graph's domain Map. MUST be one to one! |
rangeMap | [in] The graph's range Map. MUST be one to one! May be, but need not be, the same as the domain Map. |
lclGraph | [in] A locally indexed Kokkos::StaticCrsGraph whose local row indices come from the specified row Map, and whose local column indices come from the specified column Map. |
params | [in/out] Optional list of parameters. If not null, any missing parameters will be filled in with their default values. |
Definition at line 80 of file Xpetra_TpetraCrsGraph_def.hpp.
Xpetra::TpetraCrsGraph< LocalOrdinal, GlobalOrdinal, Node >::TpetraCrsGraph | ( | const Teuchos::RCP< const Map > & | rowMap, |
const Teuchos::RCP< const Map > & | colMap, | ||
const local_graph_type & | lclGraph, | ||
const Teuchos::RCP< Teuchos::ParameterList > & | params | ||
) |
Constructor specifying column Map and a local (sorted) graph, which the resulting CrsGraph views.
Unlike most other CrsGraph constructors, successful completion of this constructor will result in a fill-complete graph.
rowMap | [in] Distribution of rows of the graph. |
colMap | [in] Distribution of columns of the graph. |
lclGraph | [in] A locally indexed Kokkos::StaticCrsGraph whose local row indices come from the specified row Map, and whose local column indices come from the specified column Map. |
params | [in/out] Optional list of parameters. If not null, any missing parameters will be filled in with their default values. |
Definition at line 72 of file Xpetra_TpetraCrsGraph_def.hpp.
Xpetra::TpetraCrsGraph< LocalOrdinal, GlobalOrdinal, Node >::TpetraCrsGraph | ( | const Teuchos::RCP< const Map > & | rowMap, |
const Teuchos::RCP< const Map > & | colMap, | ||
const Teuchos::ArrayRCP< size_t > & | rowPointers, | ||
const Teuchos::ArrayRCP< LocalOrdinal > & | columnIndices, | ||
const Teuchos::RCP< Teuchos::ParameterList > & | params = Teuchos::null |
||
) |
Definition at line 90 of file Xpetra_TpetraCrsGraph_def.hpp.
|
virtual |
Destructor.
Definition at line 98 of file Xpetra_TpetraCrsGraph_def.hpp.
Xpetra::TpetraCrsGraph< LocalOrdinal, GlobalOrdinal, Node >::TpetraCrsGraph | ( | const Teuchos::RCP< Tpetra::CrsGraph< LocalOrdinal, GlobalOrdinal, Node > > & | graph | ) |
TpetraCrsGraph constructor to wrap a Tpetra::CrsGraph object.
Definition at line 429 of file Xpetra_TpetraCrsGraph_def.hpp.
|
virtual |
Insert global indices into the graph.
Implements Xpetra::CrsGraph< LocalOrdinal, GlobalOrdinal, Node >.
Definition at line 101 of file Xpetra_TpetraCrsGraph_def.hpp.
|
virtual |
Insert local indices into the graph.
Implements Xpetra::CrsGraph< LocalOrdinal, GlobalOrdinal, Node >.
Definition at line 107 of file Xpetra_TpetraCrsGraph_def.hpp.
|
virtual |
Remove all graph indices from the specified local row.
Implements Xpetra::CrsGraph< LocalOrdinal, GlobalOrdinal, Node >.
Definition at line 113 of file Xpetra_TpetraCrsGraph_def.hpp.
|
virtual |
Allocates the 1D pointer arrays of the graph.
Implements Xpetra::CrsGraph< LocalOrdinal, GlobalOrdinal, Node >.
Definition at line 120 of file Xpetra_TpetraCrsGraph_def.hpp.
|
virtual |
Sets the 1D pointer arrays of the graph.
Implements Xpetra::CrsGraph< LocalOrdinal, GlobalOrdinal, Node >.
Definition at line 127 of file Xpetra_TpetraCrsGraph_def.hpp.
|
virtual |
Gets the 1D pointer arrays of the graph.
Implements Xpetra::CrsGraph< LocalOrdinal, GlobalOrdinal, Node >.
Definition at line 133 of file Xpetra_TpetraCrsGraph_def.hpp.
|
virtual |
Signal that data entry is complete, specifying domain and range maps.
Implements Xpetra::CrsGraph< LocalOrdinal, GlobalOrdinal, Node >.
Definition at line 139 of file Xpetra_TpetraCrsGraph_def.hpp.
|
virtual |
Signal that data entry is complete.
Implements Xpetra::CrsGraph< LocalOrdinal, GlobalOrdinal, Node >.
Definition at line 145 of file Xpetra_TpetraCrsGraph_def.hpp.
void Xpetra::TpetraCrsGraph< LocalOrdinal, GlobalOrdinal, Node >::expertStaticFillComplete | ( | const Teuchos::RCP< const map_type > & | domainMap, |
const Teuchos::RCP< const map_type > & | rangeMap, | ||
const Teuchos::RCP< const Import > & | importer = Teuchos::null , |
||
const Teuchos::RCP< const Export > & | exporter = Teuchos::null , |
||
const Teuchos::RCP< Teuchos::ParameterList > & | params = Teuchos::null |
||
) |
Expert version of fillComplete.
Definition at line 152 of file Xpetra_TpetraCrsGraph_def.hpp.
|
virtual |
Returns the communicator.
Implements Xpetra::CrsGraph< LocalOrdinal, GlobalOrdinal, Node >.
Definition at line 174 of file Xpetra_TpetraCrsGraph_def.hpp.
|
virtual |
Returns the Map that describes the row distribution in this graph.
Implements Xpetra::CrsGraph< LocalOrdinal, GlobalOrdinal, Node >.
Definition at line 180 of file Xpetra_TpetraCrsGraph_def.hpp.
|
virtual |
Returns the Map that describes the column distribution in this graph.
Implements Xpetra::CrsGraph< LocalOrdinal, GlobalOrdinal, Node >.
Definition at line 186 of file Xpetra_TpetraCrsGraph_def.hpp.
|
virtual |
Returns the Map associated with the domain of this graph.
Implements Xpetra::CrsGraph< LocalOrdinal, GlobalOrdinal, Node >.
Definition at line 192 of file Xpetra_TpetraCrsGraph_def.hpp.
|
virtual |
Returns the Map associated with the domain of this graph.
Implements Xpetra::CrsGraph< LocalOrdinal, GlobalOrdinal, Node >.
Definition at line 198 of file Xpetra_TpetraCrsGraph_def.hpp.
|
virtual |
Returns the importer associated with this graph.
Implements Xpetra::CrsGraph< LocalOrdinal, GlobalOrdinal, Node >.
Definition at line 204 of file Xpetra_TpetraCrsGraph_def.hpp.
|
virtual |
Returns the exporter associated with this graph.
Implements Xpetra::CrsGraph< LocalOrdinal, GlobalOrdinal, Node >.
Definition at line 210 of file Xpetra_TpetraCrsGraph_def.hpp.
|
virtual |
Returns the number of global rows in the graph.
Implements Xpetra::CrsGraph< LocalOrdinal, GlobalOrdinal, Node >.
Definition at line 216 of file Xpetra_TpetraCrsGraph_def.hpp.
|
virtual |
Returns the number of global columns in the graph.
Implements Xpetra::CrsGraph< LocalOrdinal, GlobalOrdinal, Node >.
Definition at line 222 of file Xpetra_TpetraCrsGraph_def.hpp.
|
virtual |
Returns the number of graph rows owned on the calling node.
Implements Xpetra::CrsGraph< LocalOrdinal, GlobalOrdinal, Node >.
Definition at line 228 of file Xpetra_TpetraCrsGraph_def.hpp.
|
virtual |
Returns the number of columns connected to the locally owned rows of this graph.
Implements Xpetra::CrsGraph< LocalOrdinal, GlobalOrdinal, Node >.
Definition at line 234 of file Xpetra_TpetraCrsGraph_def.hpp.
|
virtual |
Returns the index base for global indices for this graph.
Implements Xpetra::CrsGraph< LocalOrdinal, GlobalOrdinal, Node >.
Definition at line 240 of file Xpetra_TpetraCrsGraph_def.hpp.
|
virtual |
Returns the global number of entries in the graph.
Implements Xpetra::CrsGraph< LocalOrdinal, GlobalOrdinal, Node >.
Definition at line 246 of file Xpetra_TpetraCrsGraph_def.hpp.
|
virtual |
Returns the local number of entries in the graph.
Implements Xpetra::CrsGraph< LocalOrdinal, GlobalOrdinal, Node >.
Definition at line 252 of file Xpetra_TpetraCrsGraph_def.hpp.
|
virtual |
Returns the current number of entries on this node in the specified global row.
Implements Xpetra::CrsGraph< LocalOrdinal, GlobalOrdinal, Node >.
Definition at line 258 of file Xpetra_TpetraCrsGraph_def.hpp.
|
virtual |
Returns the current number of entries on this node in the specified local row.
Implements Xpetra::CrsGraph< LocalOrdinal, GlobalOrdinal, Node >.
Definition at line 264 of file Xpetra_TpetraCrsGraph_def.hpp.
|
virtual |
Returns the current number of allocated entries for this node in the specified global row .
Implements Xpetra::CrsGraph< LocalOrdinal, GlobalOrdinal, Node >.
Definition at line 270 of file Xpetra_TpetraCrsGraph_def.hpp.
|
virtual |
Returns the current number of allocated entries on this node in the specified local row.
Implements Xpetra::CrsGraph< LocalOrdinal, GlobalOrdinal, Node >.
Definition at line 276 of file Xpetra_TpetraCrsGraph_def.hpp.
|
virtual |
Maximum number of entries in all rows over all processes.
Implements Xpetra::CrsGraph< LocalOrdinal, GlobalOrdinal, Node >.
Definition at line 282 of file Xpetra_TpetraCrsGraph_def.hpp.
|
virtual |
Maximum number of entries in all rows owned by the calling process.
Implements Xpetra::CrsGraph< LocalOrdinal, GlobalOrdinal, Node >.
Definition at line 288 of file Xpetra_TpetraCrsGraph_def.hpp.
|
virtual |
Whether the graph has a column Map.
Implements Xpetra::CrsGraph< LocalOrdinal, GlobalOrdinal, Node >.
Definition at line 294 of file Xpetra_TpetraCrsGraph_def.hpp.
|
virtual |
Whether column indices are stored using local indices on the calling process.
Implements Xpetra::CrsGraph< LocalOrdinal, GlobalOrdinal, Node >.
Definition at line 300 of file Xpetra_TpetraCrsGraph_def.hpp.
|
virtual |
Whether column indices are stored using global indices on the calling process.
Implements Xpetra::CrsGraph< LocalOrdinal, GlobalOrdinal, Node >.
Definition at line 306 of file Xpetra_TpetraCrsGraph_def.hpp.
|
virtual |
Whether fillComplete() has been called and the graph is in compute mode.
Implements Xpetra::CrsGraph< LocalOrdinal, GlobalOrdinal, Node >.
Definition at line 312 of file Xpetra_TpetraCrsGraph_def.hpp.
|
virtual |
Returns true if storage has been optimized.
Implements Xpetra::CrsGraph< LocalOrdinal, GlobalOrdinal, Node >.
Definition at line 318 of file Xpetra_TpetraCrsGraph_def.hpp.
|
virtual |
Return a const, nonpersisting view of global indices in the given row.
Implements Xpetra::CrsGraph< LocalOrdinal, GlobalOrdinal, Node >.
Definition at line 324 of file Xpetra_TpetraCrsGraph_def.hpp.
|
virtual |
Return a const, nonpersisting view of local indices in the given row.
Implements Xpetra::CrsGraph< LocalOrdinal, GlobalOrdinal, Node >.
Definition at line 332 of file Xpetra_TpetraCrsGraph_def.hpp.
|
virtual |
Access the local KokkosSparse::StaticCrsGraph data for host use.
Implements Xpetra::CrsGraph< LocalOrdinal, GlobalOrdinal, Node >.
Definition at line 340 of file Xpetra_TpetraCrsGraph_def.hpp.
|
virtual |
Access the local KokkosSparse::StaticCrsGraph data for device use.
Implements Xpetra::CrsGraph< LocalOrdinal, GlobalOrdinal, Node >.
Definition at line 345 of file Xpetra_TpetraCrsGraph_def.hpp.
void Xpetra::TpetraCrsGraph< LocalOrdinal, GlobalOrdinal, Node >::getLocalDiagOffsets | ( | const Kokkos::View< size_t *, typename Node::device_type, Kokkos::MemoryUnmanaged > & | offsets | ) | const |
Get offsets of the diagonal entries in the matrix.
Definition at line 350 of file Xpetra_TpetraCrsGraph_def.hpp.
|
virtual |
Force the computation of global constants if we don't have them.
Implements Xpetra::CrsGraph< LocalOrdinal, GlobalOrdinal, Node >.
Definition at line 355 of file Xpetra_TpetraCrsGraph_def.hpp.
|
virtual |
Return a simple one-line description of this object.
Implements Xpetra::CrsGraph< LocalOrdinal, GlobalOrdinal, Node >.
Definition at line 361 of file Xpetra_TpetraCrsGraph_def.hpp.
|
virtual |
Print the object with some verbosity level to an FancyOStream object.
Implements Xpetra::CrsGraph< LocalOrdinal, GlobalOrdinal, Node >.
Definition at line 367 of file Xpetra_TpetraCrsGraph_def.hpp.
ArrayRCP< const size_t > Xpetra::TpetraCrsGraph< LocalOrdinal, GlobalOrdinal, Node >::getNodeRowPtrs | ( | ) | const |
Get an ArrayRCP of the row-offsets.
Definition at line 373 of file Xpetra_TpetraCrsGraph_def.hpp.
|
virtual |
Implements DistObject interface.
Access function for the Tpetra::Map this DistObject was constructed with.
Implements Xpetra::DistObject< GlobalOrdinal, LocalOrdinal, GlobalOrdinal, Node >.
Definition at line 379 of file Xpetra_TpetraCrsGraph_def.hpp.
|
virtual |
Implements Xpetra::DistObject< GlobalOrdinal, LocalOrdinal, GlobalOrdinal, Node >.
Definition at line 385 of file Xpetra_TpetraCrsGraph_def.hpp.
|
virtual |
Implements Xpetra::DistObject< GlobalOrdinal, LocalOrdinal, GlobalOrdinal, Node >.
Definition at line 397 of file Xpetra_TpetraCrsGraph_def.hpp.
|
virtual |
Import (using an Exporter).
Implements Xpetra::DistObject< GlobalOrdinal, LocalOrdinal, GlobalOrdinal, Node >.
Definition at line 407 of file Xpetra_TpetraCrsGraph_def.hpp.
|
virtual |
Export (using an Importer).
Implements Xpetra::DistObject< GlobalOrdinal, LocalOrdinal, GlobalOrdinal, Node >.
Definition at line 418 of file Xpetra_TpetraCrsGraph_def.hpp.
RCP< const Tpetra::CrsGraph< LocalOrdinal, GlobalOrdinal, Node > > Xpetra::TpetraCrsGraph< LocalOrdinal, GlobalOrdinal, Node >::getTpetra_CrsGraph | ( | ) | const |
Get the underlying Tpetra graph.
Definition at line 433 of file Xpetra_TpetraCrsGraph_def.hpp.
|
private |
Definition at line 353 of file Xpetra_TpetraCrsGraph_decl.hpp.