Xpetra Version of the Day
Loading...
Searching...
No Matches
Xpetra::TpetraCrsGraph< LocalOrdinal, GlobalOrdinal, Node > Class Template Reference

#include <Xpetra_TpetraCrsGraph_decl.hpp>

Inheritance diagram for Xpetra::TpetraCrsGraph< LocalOrdinal, GlobalOrdinal, Node >:
Xpetra::CrsGraph< LocalOrdinal, GlobalOrdinal, Node > Xpetra::DistObject< Packet, LocalOrdinal, GlobalOrdinal, Node > Teuchos::Describable Teuchos::LabeledObject

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
 

Xpetra specific

RCP< Tpetra::CrsGraph< LocalOrdinal, GlobalOrdinal, Node > > graph_
 
 TpetraCrsGraph (const Teuchos::RCP< Tpetra::CrsGraph< LocalOrdinal, GlobalOrdinal, Node > > &graph)
 TpetraCrsGraph constructor to wrap a Tpetra::CrsGraph object.
 
RCP< const Tpetra::CrsGraph< LocalOrdinal, GlobalOrdinal, Node > > getTpetra_CrsGraph () const
 Get the underlying Tpetra graph.
 

Constructor/Destructor Methods

 TpetraCrsGraph (const RCP< const Map > &rowMap, size_t maxNumEntriesPerRow, const RCP< ParameterList > &params=null)
 Constructor specifying fixed number of entries for each row.
 
 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.
 
 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.
 
 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.
 
 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)
 
 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.
 
 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.
 
 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.
 
 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)
 
virtual ~TpetraCrsGraph ()
 Destructor.
 

Insertion/Removal Methods

void insertGlobalIndices (GlobalOrdinal globalRow, const ArrayView< const GlobalOrdinal > &indices)
 Insert global indices into the graph.
 
void insertLocalIndices (const LocalOrdinal localRow, const ArrayView< const LocalOrdinal > &indices)
 Insert local indices into the graph.
 
void removeLocalIndices (LocalOrdinal localRow)
 Remove all graph indices from the specified local row.
 
void allocateAllIndices (size_t numNonZeros, ArrayRCP< size_t > &rowptr, ArrayRCP< LocalOrdinal > &colind)
 Allocates the 1D pointer arrays of the graph.
 
void setAllIndices (const ArrayRCP< size_t > &rowptr, const ArrayRCP< LocalOrdinal > &colind)
 Sets the 1D pointer arrays of the graph.
 
void getAllIndices (ArrayRCP< const size_t > &rowptr, ArrayRCP< const LocalOrdinal > &colind) const
 Gets the 1D pointer arrays of the graph.
 

Transformational Methods

void fillComplete (const RCP< const Map > &domainMap, const RCP< const Map > &rangeMap, const RCP< ParameterList > &params=null)
 Signal that data entry is complete, specifying domain and range maps.
 
void fillComplete (const RCP< ParameterList > &params=null)
 Signal that data entry is complete.
 
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 > &params=Teuchos::null)
 Expert version of fillComplete.
 

Methods implementing RowGraph.

RCP< const Comm< int > > getComm () const
 Returns the communicator.
 
RCP< const MapgetRowMap () const
 Returns the Map that describes the row distribution in this graph.
 
RCP< const MapgetColMap () const
 Returns the Map that describes the column distribution in this graph.
 
RCP< const MapgetDomainMap () const
 Returns the Map associated with the domain of this graph.
 
RCP< const MapgetRangeMap () const
 Returns the Map associated with the domain of this graph.
 
RCP< const ImportgetImporter () const
 Returns the importer associated with this graph.
 
RCP< const ExportgetExporter () const
 Returns the exporter associated with this graph.
 
global_size_t getGlobalNumRows () const
 Returns the number of global rows in the graph.
 
global_size_t getGlobalNumCols () const
 Returns the number of global columns in the graph.
 
size_t getLocalNumRows () const
 Returns the number of graph rows owned on the calling node.
 
size_t getLocalNumCols () const
 Returns the number of columns connected to the locally owned rows of this graph.
 
GlobalOrdinal getIndexBase () const
 Returns the index base for global indices for this graph.
 
global_size_t getGlobalNumEntries () const
 Returns the global number of entries in the graph.
 
size_t getLocalNumEntries () const
 Returns the local number of entries in the graph.
 
size_t getNumEntriesInGlobalRow (GlobalOrdinal globalRow) const
 Returns the current number of entries on this node in the specified global row.
 
size_t getNumEntriesInLocalRow (LocalOrdinal localRow) const
 Returns the current number of entries on this node in the specified local row.
 
size_t getNumAllocatedEntriesInGlobalRow (GlobalOrdinal globalRow) const
 Returns the current number of allocated entries for this node in the specified global row .
 
size_t getNumAllocatedEntriesInLocalRow (LocalOrdinal localRow) const
 Returns the current number of allocated entries on this node in the specified local row.
 
size_t getGlobalMaxNumRowEntries () const
 Maximum number of entries in all rows over all processes.
 
size_t getLocalMaxNumRowEntries () const
 Maximum number of entries in all rows owned by the calling process.
 
bool hasColMap () const
 Whether the graph has a column Map.
 
bool isLocallyIndexed () const
 Whether column indices are stored using local indices on the calling process.
 
bool isGloballyIndexed () const
 Whether column indices are stored using global indices on the calling process.
 
bool isFillComplete () const
 Whether fillComplete() has been called and the graph is in compute mode.
 
bool isStorageOptimized () const
 Returns true if storage has been optimized.
 
void getGlobalRowView (GlobalOrdinal GlobalRow, ArrayView< const GlobalOrdinal > &Indices) const
 Return a const, nonpersisting view of global indices in the given row.
 
void getLocalRowView (LocalOrdinal LocalRow, ArrayView< const LocalOrdinal > &indices) const
 Return a const, nonpersisting view of local indices in the given row.
 
local_graph_type::HostMirror getLocalGraphHost () const
 Access the local KokkosSparse::StaticCrsGraph data for host use.
 
local_graph_type getLocalGraphDevice () const
 Access the local KokkosSparse::StaticCrsGraph data for device use.
 
void getLocalDiagOffsets (const Kokkos::View< size_t *, typename Node::device_type, Kokkos::MemoryUnmanaged > &offsets) const
 Get offsets of the diagonal entries in the matrix.
 
void computeGlobalConstants ()
 Force the computation of global constants if we don't have them.
 

Overridden from Teuchos::Describable

std::string description () const
 Return a simple one-line description of this object.
 
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.
 

Advanced methods, at increased risk of deprecation.

ArrayRCP< const size_t > getNodeRowPtrs () const
 Get an ArrayRCP of the row-offsets.
 
Teuchos::RCP< const MapgetMap () const
 Implements DistObject interface.
 
void doImport (const DistObject< GlobalOrdinal, LocalOrdinal, GlobalOrdinal, Node > &source, const Import &importer, CombineMode CM)
 Import.
 
void doExport (const DistObject< GlobalOrdinal, LocalOrdinal, GlobalOrdinal, Node > &dest, const Import &importer, CombineMode CM)
 Export.
 
void doImport (const DistObject< GlobalOrdinal, LocalOrdinal, GlobalOrdinal, Node > &source, const Export &exporter, CombineMode CM)
 Import (using an Exporter).
 
void doExport (const DistObject< GlobalOrdinal, LocalOrdinal, GlobalOrdinal, Node > &dest, const Export &exporter, CombineMode CM)
 Export (using an Importer).
 

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 KokkosSparse::StaticCrsGraph< LocalOrdinal, Kokkos::LayoutLeft, device_type, void, size_t > local_graph_type
 
- Public Member Functions inherited from Xpetra::CrsGraph< LocalOrdinal, GlobalOrdinal, Node >
virtual void getLocalDiagOffsets (const Kokkos::View< size_t *, device_type, Kokkos::MemoryUnmanaged > &offsets) const =0
 Get offsets of the diagonal entries in the matrix.
 
virtual ~CrsGraph ()
 Destructor.
 
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 > &params=null)=0
 Expert version of fillComplete.
 
- Public Member Functions inherited from Xpetra::DistObject< Packet, LocalOrdinal, GlobalOrdinal, Node >
virtual ~DistObject ()
 Destructor.
 
virtual void doImport (const DistObject< Packet, LocalOrdinal, GlobalOrdinal, Node > &source, const Import< LocalOrdinal, GlobalOrdinal, Node > &importer, CombineMode CM)=0
 Import data into this object using an Import object ("forward mode").
 
virtual void beginImport (const DistObject< Packet, LocalOrdinal, GlobalOrdinal, Node > &source, const Import< LocalOrdinal, GlobalOrdinal, Node > &importer, CombineMode CM)
 Import data into this object using an Import object ("forward mode").
 
virtual void endImport (const DistObject< Packet, LocalOrdinal, GlobalOrdinal, Node > &source, const Import< LocalOrdinal, GlobalOrdinal, Node > &importer, CombineMode CM)
 Import data into this object using an Import object ("forward mode").
 
virtual void doExport (const DistObject< Packet, LocalOrdinal, GlobalOrdinal, Node > &source, const Export< LocalOrdinal, GlobalOrdinal, Node > &exporter, CombineMode CM)=0
 Export data into this object using an Export object ("forward mode").
 
virtual void beginExport (const DistObject< Packet, LocalOrdinal, GlobalOrdinal, Node > &source, const Export< LocalOrdinal, GlobalOrdinal, Node > &exporter, CombineMode CM)
 Export data into this object using an Export object ("forward mode").
 
virtual void endExport (const DistObject< Packet, LocalOrdinal, GlobalOrdinal, Node > &source, const Export< LocalOrdinal, GlobalOrdinal, Node > &exporter, CombineMode CM)
 Export data into this object using an Export object ("forward mode").
 
virtual void doImport (const DistObject< Packet, LocalOrdinal, GlobalOrdinal, Node > &source, const Export< LocalOrdinal, GlobalOrdinal, Node > &exporter, CombineMode CM)=0
 Import data into this object using an Export object ("reverse mode").
 
virtual void beginImport (const DistObject< Packet, LocalOrdinal, GlobalOrdinal, Node > &source, const Export< LocalOrdinal, GlobalOrdinal, Node > &exporter, CombineMode CM)
 Import data into this object using an Export object ("reverse mode").
 
virtual void endImport (const DistObject< Packet, LocalOrdinal, GlobalOrdinal, Node > &source, const Export< LocalOrdinal, GlobalOrdinal, Node > &exporter, CombineMode CM)
 Import data into this object using an Export object ("reverse mode").
 
virtual void doExport (const DistObject< Packet, LocalOrdinal, GlobalOrdinal, Node > &source, const Import< LocalOrdinal, GlobalOrdinal, Node > &importer, CombineMode CM)=0
 Export data into this object using an Import object ("reverse mode").
 
virtual void beginExport (const DistObject< Packet, LocalOrdinal, GlobalOrdinal, Node > &source, const Import< LocalOrdinal, GlobalOrdinal, Node > &importer, CombineMode CM)
 Export data into this object using an Import object ("reverse mode").
 
virtual void endExport (const DistObject< Packet, LocalOrdinal, GlobalOrdinal, Node > &source, const Import< LocalOrdinal, GlobalOrdinal, Node > &importer, CombineMode CM)
 Export data into this object using an Import object ("reverse mode").
 
- Public Member Functions inherited from Teuchos::Describable
void describe (std::ostream &out, const EVerbosityLevel verbLevel=verbLevel_default) const
 
virtual ~Describable ()
 
DescribableStreamManipulatorState describe (const Describable &describable, const EVerbosityLevel verbLevel=Describable::verbLevel_default)
 
std::ostream & operator<< (std::ostream &os, const DescribableStreamManipulatorState &d)
 
void describe (std::ostream &out, const EVerbosityLevel verbLevel=verbLevel_default) const
 
virtual ~Describable ()
 
- Public Member Functions inherited from Teuchos::LabeledObject
 LabeledObject ()
 
virtual ~LabeledObject ()
 
virtual void setObjectLabel (const std::string &objectLabel)
 
virtual std::string getObjectLabel () const
 
- Static Public Attributes inherited from Teuchos::Describable
static const EVerbosityLevel verbLevel_default
 

Detailed Description

template<class LocalOrdinal, class GlobalOrdinal, class Node = Tpetra::KokkosClassic::DefaultNode::DefaultNodeType>
class Xpetra::TpetraCrsGraph< LocalOrdinal, GlobalOrdinal, Node >

Definition at line 31 of file Xpetra_TpetraCrsGraph_decl.hpp.

Member Typedef Documentation

◆ TpetraCrsGraphClass

template<class LocalOrdinal , class GlobalOrdinal , class Node = Tpetra::KokkosClassic::DefaultNode::DefaultNodeType>
typedef TpetraCrsGraph<LocalOrdinal, GlobalOrdinal, Node> Xpetra::TpetraCrsGraph< LocalOrdinal, GlobalOrdinal, Node >::TpetraCrsGraphClass
private

Definition at line 36 of file Xpetra_TpetraCrsGraph_decl.hpp.

◆ TpetraImportClass

template<class LocalOrdinal , class GlobalOrdinal , class Node = Tpetra::KokkosClassic::DefaultNode::DefaultNodeType>
typedef TpetraImport<LocalOrdinal, GlobalOrdinal, Node> Xpetra::TpetraCrsGraph< LocalOrdinal, GlobalOrdinal, Node >::TpetraImportClass
private

Definition at line 37 of file Xpetra_TpetraCrsGraph_decl.hpp.

◆ TpetraExportClass

template<class LocalOrdinal , class GlobalOrdinal , class Node = Tpetra::KokkosClassic::DefaultNode::DefaultNodeType>
typedef TpetraExport<LocalOrdinal, GlobalOrdinal, Node> Xpetra::TpetraCrsGraph< LocalOrdinal, GlobalOrdinal, Node >::TpetraExportClass
private

Definition at line 38 of file Xpetra_TpetraCrsGraph_decl.hpp.

◆ map_type

template<class LocalOrdinal , class GlobalOrdinal , class Node = Tpetra::KokkosClassic::DefaultNode::DefaultNodeType>
typedef Map Xpetra::TpetraCrsGraph< LocalOrdinal, GlobalOrdinal, Node >::map_type
private

Definition at line 39 of file Xpetra_TpetraCrsGraph_decl.hpp.

◆ local_graph_type

template<class LocalOrdinal , class GlobalOrdinal , class Node = Tpetra::KokkosClassic::DefaultNode::DefaultNodeType>
typedef Xpetra::CrsGraph<LocalOrdinal,GlobalOrdinal,Node>::local_graph_type Xpetra::TpetraCrsGraph< LocalOrdinal, GlobalOrdinal, Node >::local_graph_type
private

Definition at line 41 of file Xpetra_TpetraCrsGraph_decl.hpp.

Constructor & Destructor Documentation

◆ TpetraCrsGraph() [1/10]

template<class LocalOrdinal , class GlobalOrdinal , class Node = Tpetra::KokkosClassic::DefaultNode::DefaultNodeType>
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.

◆ TpetraCrsGraph() [2/10]

template<class LocalOrdinal , class GlobalOrdinal , class Node >
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.

◆ TpetraCrsGraph() [3/10]

template<class LocalOrdinal , class GlobalOrdinal , class Node >
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.

◆ TpetraCrsGraph() [4/10]

template<class LocalOrdinal , class GlobalOrdinal , class Node >
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.

◆ TpetraCrsGraph() [5/10]

template<class LocalOrdinal , class GlobalOrdinal , class Node >
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 
)

Definition at line 43 of file Xpetra_TpetraCrsGraph_def.hpp.

◆ TpetraCrsGraph() [6/10]

template<class LocalOrdinal , class GlobalOrdinal , class Node >
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.

Parameters
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 62 of file Xpetra_TpetraCrsGraph_def.hpp.

◆ TpetraCrsGraph() [7/10]

template<class LocalOrdinal , class GlobalOrdinal , class Node >
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.

Parameters
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 79 of file Xpetra_TpetraCrsGraph_def.hpp.

◆ TpetraCrsGraph() [8/10]

template<class LocalOrdinal , class GlobalOrdinal , class Node = Tpetra::KokkosClassic::DefaultNode::DefaultNodeType>
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.

Parameters
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.

◆ TpetraCrsGraph() [9/10]

template<class LocalOrdinal , class GlobalOrdinal , class Node >
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 89 of file Xpetra_TpetraCrsGraph_def.hpp.

◆ ~TpetraCrsGraph()

template<class LocalOrdinal , class GlobalOrdinal , class Node >
Xpetra::TpetraCrsGraph< LocalOrdinal, GlobalOrdinal, Node >::~TpetraCrsGraph ( )
virtual

Destructor.

Definition at line 98 of file Xpetra_TpetraCrsGraph_def.hpp.

◆ TpetraCrsGraph() [10/10]

template<class LocalOrdinal , class GlobalOrdinal , class Node >
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 433 of file Xpetra_TpetraCrsGraph_def.hpp.

Member Function Documentation

◆ insertGlobalIndices()

template<class LocalOrdinal , class GlobalOrdinal , class Node >
void Xpetra::TpetraCrsGraph< LocalOrdinal, GlobalOrdinal, Node >::insertGlobalIndices ( GlobalOrdinal  globalRow,
const ArrayView< const GlobalOrdinal > &  indices 
)
virtual

Insert global indices into the graph.

Implements Xpetra::CrsGraph< LocalOrdinal, GlobalOrdinal, Node >.

Definition at line 101 of file Xpetra_TpetraCrsGraph_def.hpp.

◆ insertLocalIndices()

template<class LocalOrdinal , class GlobalOrdinal , class Node >
void Xpetra::TpetraCrsGraph< LocalOrdinal, GlobalOrdinal, Node >::insertLocalIndices ( const LocalOrdinal  localRow,
const ArrayView< const LocalOrdinal > &  indices 
)
virtual

Insert local indices into the graph.

Implements Xpetra::CrsGraph< LocalOrdinal, GlobalOrdinal, Node >.

Definition at line 107 of file Xpetra_TpetraCrsGraph_def.hpp.

◆ removeLocalIndices()

template<class LocalOrdinal , class GlobalOrdinal , class Node >
void Xpetra::TpetraCrsGraph< LocalOrdinal, GlobalOrdinal, Node >::removeLocalIndices ( LocalOrdinal  localRow)
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.

◆ allocateAllIndices()

template<class LocalOrdinal , class GlobalOrdinal , class Node >
void Xpetra::TpetraCrsGraph< LocalOrdinal, GlobalOrdinal, Node >::allocateAllIndices ( size_t  numNonZeros,
ArrayRCP< size_t > &  rowptr,
ArrayRCP< LocalOrdinal > &  colind 
)
virtual

Allocates the 1D pointer arrays of the graph.

Implements Xpetra::CrsGraph< LocalOrdinal, GlobalOrdinal, Node >.

Definition at line 119 of file Xpetra_TpetraCrsGraph_def.hpp.

◆ setAllIndices()

template<class LocalOrdinal , class GlobalOrdinal , class Node >
void Xpetra::TpetraCrsGraph< LocalOrdinal, GlobalOrdinal, Node >::setAllIndices ( const ArrayRCP< size_t > &  rowptr,
const ArrayRCP< LocalOrdinal > &  colind 
)
virtual

Sets the 1D pointer arrays of the graph.

Implements Xpetra::CrsGraph< LocalOrdinal, GlobalOrdinal, Node >.

Definition at line 126 of file Xpetra_TpetraCrsGraph_def.hpp.

◆ getAllIndices()

template<class LocalOrdinal , class GlobalOrdinal , class Node >
void Xpetra::TpetraCrsGraph< LocalOrdinal, GlobalOrdinal, Node >::getAllIndices ( ArrayRCP< const size_t > &  rowptr,
ArrayRCP< const LocalOrdinal > &  colind 
) const
virtual

Gets the 1D pointer arrays of the graph.

Implements Xpetra::CrsGraph< LocalOrdinal, GlobalOrdinal, Node >.

Definition at line 132 of file Xpetra_TpetraCrsGraph_def.hpp.

◆ fillComplete() [1/2]

template<class LocalOrdinal , class GlobalOrdinal , class Node >
void Xpetra::TpetraCrsGraph< LocalOrdinal, GlobalOrdinal, Node >::fillComplete ( const RCP< const Map > &  domainMap,
const RCP< const Map > &  rangeMap,
const RCP< ParameterList > &  params = null 
)
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.

◆ fillComplete() [2/2]

template<class LocalOrdinal , class GlobalOrdinal , class Node >
void Xpetra::TpetraCrsGraph< LocalOrdinal, GlobalOrdinal, Node >::fillComplete ( const RCP< ParameterList > &  params = null)
virtual

Signal that data entry is complete.

Implements Xpetra::CrsGraph< LocalOrdinal, GlobalOrdinal, Node >.

Definition at line 145 of file Xpetra_TpetraCrsGraph_def.hpp.

◆ expertStaticFillComplete()

template<class LocalOrdinal , class GlobalOrdinal , class Node >
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 151 of file Xpetra_TpetraCrsGraph_def.hpp.

◆ getComm()

template<class LocalOrdinal , class GlobalOrdinal , class Node >
RCP< const Comm< int > > Xpetra::TpetraCrsGraph< LocalOrdinal, GlobalOrdinal, Node >::getComm ( ) const
virtual

Returns the communicator.

Implements Xpetra::CrsGraph< LocalOrdinal, GlobalOrdinal, Node >.

Definition at line 174 of file Xpetra_TpetraCrsGraph_def.hpp.

◆ getRowMap()

template<class LocalOrdinal , class GlobalOrdinal , class Node >
RCP< const Map< LocalOrdinal, GlobalOrdinal, Node > > Xpetra::TpetraCrsGraph< LocalOrdinal, GlobalOrdinal, Node >::getRowMap ( ) const
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.

◆ getColMap()

template<class LocalOrdinal , class GlobalOrdinal , class Node >
RCP< const Map< LocalOrdinal, GlobalOrdinal, Node > > Xpetra::TpetraCrsGraph< LocalOrdinal, GlobalOrdinal, Node >::getColMap ( ) const
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.

◆ getDomainMap()

template<class LocalOrdinal , class GlobalOrdinal , class Node >
RCP< const Map< LocalOrdinal, GlobalOrdinal, Node > > Xpetra::TpetraCrsGraph< LocalOrdinal, GlobalOrdinal, Node >::getDomainMap ( ) const
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.

◆ getRangeMap()

template<class LocalOrdinal , class GlobalOrdinal , class Node >
RCP< const Map< LocalOrdinal, GlobalOrdinal, Node > > Xpetra::TpetraCrsGraph< LocalOrdinal, GlobalOrdinal, Node >::getRangeMap ( ) const
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.

◆ getImporter()

template<class LocalOrdinal , class GlobalOrdinal , class Node >
RCP< const Import< LocalOrdinal, GlobalOrdinal, Node > > Xpetra::TpetraCrsGraph< LocalOrdinal, GlobalOrdinal, Node >::getImporter ( ) const
virtual

Returns the importer associated with this graph.

Implements Xpetra::CrsGraph< LocalOrdinal, GlobalOrdinal, Node >.

Definition at line 204 of file Xpetra_TpetraCrsGraph_def.hpp.

◆ getExporter()

template<class LocalOrdinal , class GlobalOrdinal , class Node >
RCP< const Export< LocalOrdinal, GlobalOrdinal, Node > > Xpetra::TpetraCrsGraph< LocalOrdinal, GlobalOrdinal, Node >::getExporter ( ) const
virtual

Returns the exporter associated with this graph.

Implements Xpetra::CrsGraph< LocalOrdinal, GlobalOrdinal, Node >.

Definition at line 210 of file Xpetra_TpetraCrsGraph_def.hpp.

◆ getGlobalNumRows()

template<class LocalOrdinal , class GlobalOrdinal , class Node >
global_size_t Xpetra::TpetraCrsGraph< LocalOrdinal, GlobalOrdinal, Node >::getGlobalNumRows ( ) const
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.

◆ getGlobalNumCols()

template<class LocalOrdinal , class GlobalOrdinal , class Node >
global_size_t Xpetra::TpetraCrsGraph< LocalOrdinal, GlobalOrdinal, Node >::getGlobalNumCols ( ) const
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.

◆ getLocalNumRows()

template<class LocalOrdinal , class GlobalOrdinal , class Node >
size_t Xpetra::TpetraCrsGraph< LocalOrdinal, GlobalOrdinal, Node >::getLocalNumRows ( ) const
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.

◆ getLocalNumCols()

template<class LocalOrdinal , class GlobalOrdinal , class Node >
size_t Xpetra::TpetraCrsGraph< LocalOrdinal, GlobalOrdinal, Node >::getLocalNumCols ( ) const
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.

◆ getIndexBase()

template<class LocalOrdinal , class GlobalOrdinal , class Node >
GlobalOrdinal Xpetra::TpetraCrsGraph< LocalOrdinal, GlobalOrdinal, Node >::getIndexBase ( ) const
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.

◆ getGlobalNumEntries()

template<class LocalOrdinal , class GlobalOrdinal , class Node >
global_size_t Xpetra::TpetraCrsGraph< LocalOrdinal, GlobalOrdinal, Node >::getGlobalNumEntries ( ) const
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.

◆ getLocalNumEntries()

template<class LocalOrdinal , class GlobalOrdinal , class Node >
size_t Xpetra::TpetraCrsGraph< LocalOrdinal, GlobalOrdinal, Node >::getLocalNumEntries ( ) const
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.

◆ getNumEntriesInGlobalRow()

template<class LocalOrdinal , class GlobalOrdinal , class Node >
size_t Xpetra::TpetraCrsGraph< LocalOrdinal, GlobalOrdinal, Node >::getNumEntriesInGlobalRow ( GlobalOrdinal  globalRow) const
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.

◆ getNumEntriesInLocalRow()

template<class LocalOrdinal , class GlobalOrdinal , class Node >
size_t Xpetra::TpetraCrsGraph< LocalOrdinal, GlobalOrdinal, Node >::getNumEntriesInLocalRow ( LocalOrdinal  localRow) const
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.

◆ getNumAllocatedEntriesInGlobalRow()

template<class LocalOrdinal , class GlobalOrdinal , class Node >
size_t Xpetra::TpetraCrsGraph< LocalOrdinal, GlobalOrdinal, Node >::getNumAllocatedEntriesInGlobalRow ( GlobalOrdinal  globalRow) const
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.

◆ getNumAllocatedEntriesInLocalRow()

template<class LocalOrdinal , class GlobalOrdinal , class Node >
size_t Xpetra::TpetraCrsGraph< LocalOrdinal, GlobalOrdinal, Node >::getNumAllocatedEntriesInLocalRow ( LocalOrdinal  localRow) const
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.

◆ getGlobalMaxNumRowEntries()

template<class LocalOrdinal , class GlobalOrdinal , class Node >
size_t Xpetra::TpetraCrsGraph< LocalOrdinal, GlobalOrdinal, Node >::getGlobalMaxNumRowEntries ( ) const
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.

◆ getLocalMaxNumRowEntries()

template<class LocalOrdinal , class GlobalOrdinal , class Node >
size_t Xpetra::TpetraCrsGraph< LocalOrdinal, GlobalOrdinal, Node >::getLocalMaxNumRowEntries ( ) const
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.

◆ hasColMap()

template<class LocalOrdinal , class GlobalOrdinal , class Node >
bool Xpetra::TpetraCrsGraph< LocalOrdinal, GlobalOrdinal, Node >::hasColMap ( ) const
virtual

Whether the graph has a column Map.

Implements Xpetra::CrsGraph< LocalOrdinal, GlobalOrdinal, Node >.

Definition at line 294 of file Xpetra_TpetraCrsGraph_def.hpp.

◆ isLocallyIndexed()

template<class LocalOrdinal , class GlobalOrdinal , class Node >
bool Xpetra::TpetraCrsGraph< LocalOrdinal, GlobalOrdinal, Node >::isLocallyIndexed ( ) const
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.

◆ isGloballyIndexed()

template<class LocalOrdinal , class GlobalOrdinal , class Node >
bool Xpetra::TpetraCrsGraph< LocalOrdinal, GlobalOrdinal, Node >::isGloballyIndexed ( ) const
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.

◆ isFillComplete()

template<class LocalOrdinal , class GlobalOrdinal , class Node >
bool Xpetra::TpetraCrsGraph< LocalOrdinal, GlobalOrdinal, Node >::isFillComplete ( ) const
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.

◆ isStorageOptimized()

template<class LocalOrdinal , class GlobalOrdinal , class Node >
bool Xpetra::TpetraCrsGraph< LocalOrdinal, GlobalOrdinal, Node >::isStorageOptimized ( ) const
virtual

Returns true if storage has been optimized.

Implements Xpetra::CrsGraph< LocalOrdinal, GlobalOrdinal, Node >.

Definition at line 318 of file Xpetra_TpetraCrsGraph_def.hpp.

◆ getGlobalRowView()

template<class LocalOrdinal , class GlobalOrdinal , class Node >
void Xpetra::TpetraCrsGraph< LocalOrdinal, GlobalOrdinal, Node >::getGlobalRowView ( GlobalOrdinal  GlobalRow,
ArrayView< const GlobalOrdinal > &  Indices 
) const
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.

◆ getLocalRowView()

template<class LocalOrdinal , class GlobalOrdinal , class Node >
void Xpetra::TpetraCrsGraph< LocalOrdinal, GlobalOrdinal, Node >::getLocalRowView ( LocalOrdinal  LocalRow,
ArrayView< const LocalOrdinal > &  indices 
) const
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.

◆ getLocalGraphHost()

template<class LocalOrdinal , class GlobalOrdinal , class Node >
Xpetra::CrsGraph< LocalOrdinal, GlobalOrdinal, Node >::local_graph_type::HostMirror Xpetra::TpetraCrsGraph< LocalOrdinal, GlobalOrdinal, Node >::getLocalGraphHost ( ) const
virtual

Access the local KokkosSparse::StaticCrsGraph data for host use.

Implements Xpetra::CrsGraph< LocalOrdinal, GlobalOrdinal, Node >.

Definition at line 343 of file Xpetra_TpetraCrsGraph_def.hpp.

◆ getLocalGraphDevice()

template<class LocalOrdinal , class GlobalOrdinal , class Node >
Xpetra::CrsGraph< LocalOrdinal, GlobalOrdinal, Node >::local_graph_type Xpetra::TpetraCrsGraph< LocalOrdinal, GlobalOrdinal, Node >::getLocalGraphDevice ( ) const
virtual

Access the local KokkosSparse::StaticCrsGraph data for device use.

Implements Xpetra::CrsGraph< LocalOrdinal, GlobalOrdinal, Node >.

Definition at line 349 of file Xpetra_TpetraCrsGraph_def.hpp.

◆ getLocalDiagOffsets()

template<class LocalOrdinal , class GlobalOrdinal , class Node >
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 354 of file Xpetra_TpetraCrsGraph_def.hpp.

◆ computeGlobalConstants()

template<class LocalOrdinal , class GlobalOrdinal , class Node >
void Xpetra::TpetraCrsGraph< LocalOrdinal, GlobalOrdinal, Node >::computeGlobalConstants ( )
virtual

Force the computation of global constants if we don't have them.

Implements Xpetra::CrsGraph< LocalOrdinal, GlobalOrdinal, Node >.

Definition at line 359 of file Xpetra_TpetraCrsGraph_def.hpp.

◆ description()

template<class LocalOrdinal , class GlobalOrdinal , class Node >
std::string Xpetra::TpetraCrsGraph< LocalOrdinal, GlobalOrdinal, Node >::description ( ) const
virtual

Return a simple one-line description of this object.

Implements Xpetra::CrsGraph< LocalOrdinal, GlobalOrdinal, Node >.

Definition at line 365 of file Xpetra_TpetraCrsGraph_def.hpp.

◆ describe()

template<class LocalOrdinal , class GlobalOrdinal , class Node >
void Xpetra::TpetraCrsGraph< LocalOrdinal, GlobalOrdinal, Node >::describe ( Teuchos::FancyOStream out,
const Teuchos::EVerbosityLevel  verbLevel = Teuchos::Describable::verbLevel_default 
) const
virtual

Print the object with some verbosity level to an FancyOStream object.

Implements Xpetra::CrsGraph< LocalOrdinal, GlobalOrdinal, Node >.

Definition at line 371 of file Xpetra_TpetraCrsGraph_def.hpp.

◆ getNodeRowPtrs()

template<class LocalOrdinal , class GlobalOrdinal , class Node >
ArrayRCP< const size_t > Xpetra::TpetraCrsGraph< LocalOrdinal, GlobalOrdinal, Node >::getNodeRowPtrs ( ) const

Get an ArrayRCP of the row-offsets.

Definition at line 377 of file Xpetra_TpetraCrsGraph_def.hpp.

◆ getMap()

template<class LocalOrdinal , class GlobalOrdinal , class Node >
Teuchos::RCP< const Map< LocalOrdinal, GlobalOrdinal, Node > > Xpetra::TpetraCrsGraph< LocalOrdinal, GlobalOrdinal, Node >::getMap ( ) const
virtual

Implements DistObject interface.

Access function for the Tpetra::Map this DistObject was constructed with.

Implements Xpetra::DistObject< Packet, LocalOrdinal, GlobalOrdinal, Node >.

Definition at line 383 of file Xpetra_TpetraCrsGraph_def.hpp.

◆ doImport() [1/2]

template<class LocalOrdinal , class GlobalOrdinal , class Node >
void Xpetra::TpetraCrsGraph< LocalOrdinal, GlobalOrdinal, Node >::doImport ( const DistObject< GlobalOrdinal, LocalOrdinal, GlobalOrdinal, Node > &  source,
const Import importer,
CombineMode  CM 
)

Import.

Definition at line 389 of file Xpetra_TpetraCrsGraph_def.hpp.

◆ doExport() [1/2]

template<class LocalOrdinal , class GlobalOrdinal , class Node >
void Xpetra::TpetraCrsGraph< LocalOrdinal, GlobalOrdinal, Node >::doExport ( const DistObject< GlobalOrdinal, LocalOrdinal, GlobalOrdinal, Node > &  dest,
const Import importer,
CombineMode  CM 
)

Export.

Definition at line 401 of file Xpetra_TpetraCrsGraph_def.hpp.

◆ doImport() [2/2]

template<class LocalOrdinal , class GlobalOrdinal , class Node >
void Xpetra::TpetraCrsGraph< LocalOrdinal, GlobalOrdinal, Node >::doImport ( const DistObject< GlobalOrdinal, LocalOrdinal, GlobalOrdinal, Node > &  source,
const Export exporter,
CombineMode  CM 
)

Import (using an Exporter).

Definition at line 411 of file Xpetra_TpetraCrsGraph_def.hpp.

◆ doExport() [2/2]

template<class LocalOrdinal , class GlobalOrdinal , class Node >
void Xpetra::TpetraCrsGraph< LocalOrdinal, GlobalOrdinal, Node >::doExport ( const DistObject< GlobalOrdinal, LocalOrdinal, GlobalOrdinal, Node > &  dest,
const Export exporter,
CombineMode  CM 
)

Export (using an Importer).

Definition at line 422 of file Xpetra_TpetraCrsGraph_def.hpp.

◆ getTpetra_CrsGraph()

template<class LocalOrdinal , class GlobalOrdinal , class Node >
RCP< const Tpetra::CrsGraph< LocalOrdinal, GlobalOrdinal, Node > > Xpetra::TpetraCrsGraph< LocalOrdinal, GlobalOrdinal, Node >::getTpetra_CrsGraph ( ) const

Get the underlying Tpetra graph.

Definition at line 437 of file Xpetra_TpetraCrsGraph_def.hpp.

Member Data Documentation

◆ graph_

template<class LocalOrdinal , class GlobalOrdinal , class Node = Tpetra::KokkosClassic::DefaultNode::DefaultNodeType>
RCP<Tpetra::CrsGraph<LocalOrdinal, GlobalOrdinal, Node> > Xpetra::TpetraCrsGraph< LocalOrdinal, GlobalOrdinal, Node >::graph_
private

Definition at line 357 of file Xpetra_TpetraCrsGraph_decl.hpp.


The documentation for this class was generated from the following files: