Private Types | List of all members
Xpetra::TpetraCrsGraph< LocalOrdinal, GlobalOrdinal, Node > Class Template Reference

#include <Xpetra_TpetraCrsGraph.hpp>

Inheritance diagram for Xpetra::TpetraCrsGraph< LocalOrdinal, GlobalOrdinal, Node >:
Xpetra::CrsGraph< CrsGraph<>::local_ordinal_type, typename CrsGraph< CrsGraph<>::local_ordinal_type >::global_ordinal_type, typename CrsGraph< CrsGraph<>::local_ordinal_type, typename CrsGraph< CrsGraph<>::local_ordinal_type >::global_ordinal_type >::node_type > Xpetra::DistObject< typename CrsGraph< CrsGraph<>::local_ordinal_type >::global_ordinal_type, CrsGraph<>::local_ordinal_type, typename CrsGraph< CrsGraph<>::local_ordinal_type >::global_ordinal_type, typename CrsGraph< CrsGraph<>::local_ordinal_type, typename CrsGraph< CrsGraph<>::local_ordinal_type >::global_ordinal_type >::node_type > Teuchos::Describable Teuchos::LabeledObject

Private Types

typedef TpetraCrsGraph< LocalOrdinal, GlobalOrdinal, Node > TpetraCrsGraphClass
 
typedef Map< LocalOrdinal, GlobalOrdinal, Node > map_type
 

Constructor/Destructor Methods

 TpetraCrsGraph (const RCP< const map_type > &rowMap, size_t maxNumEntriesPerRow, ProfileType pftype=DynamicProfile, const RCP< ParameterList > &params=null)
 Constructor specifying fixed number of entries for each row. More...
 
 TpetraCrsGraph (const RCP< const Map< LocalOrdinal, GlobalOrdinal, Node > > &rowMap, const ArrayRCP< const size_t > &NumEntriesPerRowToAlloc, ProfileType pftype=DynamicProfile, const RCP< ParameterList > &params=null)
 Constructor specifying (possibly different) number of entries in each row. More...
 
 TpetraCrsGraph (const RCP< const Map< LocalOrdinal, GlobalOrdinal, Node > > &rowMap, const RCP< const Map< LocalOrdinal, GlobalOrdinal, Node > > &colMap, size_t maxNumEntriesPerRow, ProfileType pftype=DynamicProfile, const RCP< ParameterList > &params=null)
 Constructor specifying column Map and fixed number of entries for each row. More...
 
 TpetraCrsGraph (const RCP< const Map< LocalOrdinal, GlobalOrdinal, Node > > &rowMap, const RCP< const Map< LocalOrdinal, GlobalOrdinal, Node > > &colMap, const ArrayRCP< const size_t > &NumEntriesPerRowToAlloc, ProfileType pftype=DynamicProfile, const RCP< ParameterList > &params=null)
 Constructor specifying column Map and number of entries in each row. More...
 
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...
 

Transformational Methods

void fillComplete (const RCP< const Map< LocalOrdinal, GlobalOrdinal, Node > > &domainMap, const RCP< const Map< LocalOrdinal, GlobalOrdinal, Node > > &rangeMap, const RCP< ParameterList > &params=null)
 Signal that data entry is complete, specifying domain and range maps. More...
 
void fillComplete (const RCP< ParameterList > &params=null)
 Signal that data entry is complete. More...
 

Methods implementing RowGraph.

RCP< const Comm< int > > getComm () const
 Returns the communicator. More...
 
RCP< const Map< LocalOrdinal, GlobalOrdinal, Node > > getRowMap () const
 Returns the Map that describes the row distribution in this graph. More...
 
RCP< const Map< LocalOrdinal, GlobalOrdinal, Node > > getColMap () const
 Returns the Map that describes the column distribution in this graph. More...
 
RCP< const Map< LocalOrdinal, GlobalOrdinal, Node > > getDomainMap () const
 Returns the Map associated with the domain of this graph. More...
 
RCP< const Map< LocalOrdinal, GlobalOrdinal, Node > > getRangeMap () const
 Returns the Map associated with the domain of this graph. More...
 
RCP< const Import< LocalOrdinal, GlobalOrdinal, Node > > getImporter () const
 Returns the importer associated with this graph. More...
 
RCP< const Export< LocalOrdinal, GlobalOrdinal, Node > > 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 getNodeNumRows () const
 Returns the number of graph rows owned on the calling node. More...
 
size_t getNodeNumCols () 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 getNodeNumEntries () 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 getNodeMaxNumRowEntries () 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...
 
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...
 
Teuchos::RCP< const Map< LocalOrdinal, GlobalOrdinal, Node > > getMap () const
 Implements DistObject interface. More...
 
void doImport (const DistObject< GlobalOrdinal, LocalOrdinal, GlobalOrdinal, Node > &source, const Import< LocalOrdinal, GlobalOrdinal, Node > &importer, CombineMode CM)
 Import. More...
 
void doExport (const DistObject< GlobalOrdinal, LocalOrdinal, GlobalOrdinal, Node > &dest, const Import< LocalOrdinal, GlobalOrdinal, Node > &importer, CombineMode CM)
 Export. More...
 
void doImport (const DistObject< GlobalOrdinal, LocalOrdinal, GlobalOrdinal, Node > &source, const Export< LocalOrdinal, GlobalOrdinal, Node > &exporter, CombineMode CM)
 Import (using an Exporter). More...
 
void doExport (const DistObject< GlobalOrdinal, LocalOrdinal, GlobalOrdinal, Node > &dest, const Export< LocalOrdinal, GlobalOrdinal, Node > &exporter, CombineMode CM)
 Export (using an Importer). More...
 

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. 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< CrsGraph<>::local_ordinal_type, typename CrsGraph< CrsGraph<>::local_ordinal_type >::global_ordinal_type, typename CrsGraph< CrsGraph<>::local_ordinal_type, typename CrsGraph< CrsGraph<>::local_ordinal_type >::global_ordinal_type >::node_type >
typedef CrsGraph<>::local_ordinal_type local_ordinal_type
 
typedef typename CrsGraph< CrsGraph<>::local_ordinal_type >::global_ordinal_type global_ordinal_type
 
typedef typename CrsGraph< CrsGraph<>::local_ordinal_type, typename CrsGraph< CrsGraph<>::local_ordinal_type >::global_ordinal_type >::node_type node_type
 
- Public Member Functions inherited from Xpetra::CrsGraph< CrsGraph<>::local_ordinal_type, typename CrsGraph< CrsGraph<>::local_ordinal_type >::global_ordinal_type, typename CrsGraph< CrsGraph<>::local_ordinal_type, typename CrsGraph< CrsGraph<>::local_ordinal_type >::global_ordinal_type >::node_type >
virtual ~CrsGraph ()
 Destructor. More...
 
virtual void insertGlobalIndices (typename CrsGraph< CrsGraph<>::local_ordinal_type >::global_ordinal_type globalRow, const ArrayView< const typename CrsGraph< CrsGraph<>::local_ordinal_type >::global_ordinal_type > &indices)=0
 Insert global indices into the graph. More...
 
virtual void insertLocalIndices (const CrsGraph<>::local_ordinal_type localRow, const ArrayView< const CrsGraph<>::local_ordinal_type > &indices)=0
 Insert local indices into the graph. More...
 
virtual void removeLocalIndices (CrsGraph<>::local_ordinal_type localRow)=0
 Remove all graph indices from the specified local row. More...
 
virtual void fillComplete (const RCP< const Map< CrsGraph<>::local_ordinal_type, typename CrsGraph< CrsGraph<>::local_ordinal_type >::global_ordinal_type, typename CrsGraph< CrsGraph<>::local_ordinal_type, typename CrsGraph< CrsGraph<>::local_ordinal_type >::global_ordinal_type >::node_type > > &domainMap, const RCP< const Map< CrsGraph<>::local_ordinal_type, typename CrsGraph< CrsGraph<>::local_ordinal_type >::global_ordinal_type, typename CrsGraph< CrsGraph<>::local_ordinal_type, typename CrsGraph< CrsGraph<>::local_ordinal_type >::global_ordinal_type >::node_type > > &rangeMap, const RCP< ParameterList > &params=null)=0
 Signal that data entry is complete, specifying domain and range maps. More...
 
virtual RCP< const Comm< int > > getComm () const=0
 Returns the communicator. More...
 
virtual RCP< const Map< CrsGraph<>::local_ordinal_type, typename CrsGraph< CrsGraph<>::local_ordinal_type >::global_ordinal_type, typename CrsGraph< CrsGraph<>::local_ordinal_type, typename CrsGraph< CrsGraph<>::local_ordinal_type >::global_ordinal_type >::node_type > > getRowMap () const=0
 Returns the Map that describes the row distribution in this graph. More...
 
virtual RCP< const Map< CrsGraph<>::local_ordinal_type, typename CrsGraph< CrsGraph<>::local_ordinal_type >::global_ordinal_type, typename CrsGraph< CrsGraph<>::local_ordinal_type, typename CrsGraph< CrsGraph<>::local_ordinal_type >::global_ordinal_type >::node_type > > getColMap () const=0
 Returns the Map that describes the column distribution in this graph. More...
 
virtual RCP< const Map< CrsGraph<>::local_ordinal_type, typename CrsGraph< CrsGraph<>::local_ordinal_type >::global_ordinal_type, typename CrsGraph< CrsGraph<>::local_ordinal_type, typename CrsGraph< CrsGraph<>::local_ordinal_type >::global_ordinal_type >::node_type > > getDomainMap () const=0
 Returns the Map associated with the domain of this graph. More...
 
virtual RCP< const Map< CrsGraph<>::local_ordinal_type, typename CrsGraph< CrsGraph<>::local_ordinal_type >::global_ordinal_type, typename CrsGraph< CrsGraph<>::local_ordinal_type, typename CrsGraph< CrsGraph<>::local_ordinal_type >::global_ordinal_type >::node_type > > getRangeMap () const=0
 Returns the Map associated with the domain of this graph. More...
 
virtual RCP< const Import< CrsGraph<>::local_ordinal_type, typename CrsGraph< CrsGraph<>::local_ordinal_type >::global_ordinal_type, typename CrsGraph< CrsGraph<>::local_ordinal_type, typename CrsGraph< CrsGraph<>::local_ordinal_type >::global_ordinal_type >::node_type > > getImporter () const=0
 Returns the importer associated with this graph. More...
 
virtual RCP< const Export< CrsGraph<>::local_ordinal_type, typename CrsGraph< CrsGraph<>::local_ordinal_type >::global_ordinal_type, typename CrsGraph< CrsGraph<>::local_ordinal_type, typename CrsGraph< CrsGraph<>::local_ordinal_type >::global_ordinal_type >::node_type > > getExporter () const=0
 Returns the exporter associated with this graph. More...
 
virtual global_size_t getGlobalNumRows () const=0
 Returns the number of global rows in the graph. More...
 
virtual global_size_t getGlobalNumCols () const=0
 Returns the number of global columns in the graph. More...
 
virtual size_t getNodeNumRows () const=0
 Returns the number of graph rows owned on the calling node. More...
 
virtual size_t getNodeNumCols () const=0
 Returns the number of columns connected to the locally owned rows of this graph. More...
 
virtual typename CrsGraph< CrsGraph<>::local_ordinal_type >::global_ordinal_type getIndexBase () const=0
 Returns the index base for global indices for this graph. More...
 
virtual global_size_t getGlobalNumEntries () const=0
 Returns the global number of entries in the graph. More...
 
virtual size_t getNodeNumEntries () const=0
 Returns the local number of entries in the graph. More...
 
virtual size_t getNumEntriesInGlobalRow (typename CrsGraph< CrsGraph<>::local_ordinal_type >::global_ordinal_type globalRow) const=0
 Returns the current number of entries on this node in the specified global row. More...
 
virtual size_t getNumEntriesInLocalRow (CrsGraph<>::local_ordinal_type localRow) const=0
 Returns the current number of entries on this node in the specified local row. More...
 
virtual size_t getNumAllocatedEntriesInGlobalRow (typename CrsGraph< CrsGraph<>::local_ordinal_type >::global_ordinal_type globalRow) const=0
 Returns the current number of allocated entries for this node in the specified global row . More...
 
virtual size_t getNumAllocatedEntriesInLocalRow (CrsGraph<>::local_ordinal_type localRow) const=0
 Returns the current number of allocated entries on this node in the specified local row. More...
 
virtual size_t getGlobalMaxNumRowEntries () const=0
 Maximum number of entries in all rows over all processes. More...
 
virtual size_t getNodeMaxNumRowEntries () const=0
 Maximum number of entries in all rows owned by the calling process. More...
 
virtual bool hasColMap () const=0
 Whether the graph has a column Map. More...
 
virtual bool isLocallyIndexed () const=0
 Whether column indices are stored using local indices on the calling process. More...
 
virtual bool isGloballyIndexed () const=0
 Whether column indices are stored using global indices on the calling process. More...
 
virtual bool isFillComplete () const=0
 Whether fillComplete() has been called and the graph is in compute mode. More...
 
virtual bool isStorageOptimized () const=0
 Returns true if storage has been optimized. More...
 
virtual void getGlobalRowView (typename CrsGraph< CrsGraph<>::local_ordinal_type >::global_ordinal_type GlobalRow, ArrayView< const typename CrsGraph< CrsGraph<>::local_ordinal_type >::global_ordinal_type > &Indices) const=0
 Return a const, nonpersisting view of global indices in the given row. More...
 
virtual void getLocalRowView (CrsGraph<>::local_ordinal_type LocalRow, ArrayView< const CrsGraph<>::local_ordinal_type > &indices) const=0
 Return a const, nonpersisting view of local indices in the given row. More...
 
virtual std::string description () const=0
 Return a simple one-line description of this object. More...
 
- Public Member Functions inherited from Xpetra::DistObject< typename CrsGraph< CrsGraph<>::local_ordinal_type >::global_ordinal_type, CrsGraph<>::local_ordinal_type, typename CrsGraph< CrsGraph<>::local_ordinal_type >::global_ordinal_type, typename CrsGraph< CrsGraph<>::local_ordinal_type, typename CrsGraph< CrsGraph<>::local_ordinal_type >::global_ordinal_type >::node_type >
virtual ~DistObject ()
 Destructor. More...
 
virtual void doImport (const DistObject< typename CrsGraph< CrsGraph<>::local_ordinal_type >::global_ordinal_type, CrsGraph<>::local_ordinal_type, typename CrsGraph< CrsGraph<>::local_ordinal_type >::global_ordinal_type, typename CrsGraph< CrsGraph<>::local_ordinal_type, typename CrsGraph< CrsGraph<>::local_ordinal_type >::global_ordinal_type >::node_type > &source, const Import< CrsGraph<>::local_ordinal_type, typename CrsGraph< CrsGraph<>::local_ordinal_type >::global_ordinal_type, typename CrsGraph< CrsGraph<>::local_ordinal_type, typename CrsGraph< CrsGraph<>::local_ordinal_type >::global_ordinal_type >::node_type > &importer, CombineMode CM)=0
 Import data into this object using an Import object ("forward mode"). More...
 
virtual void doImport (const DistObject< typename CrsGraph< CrsGraph<>::local_ordinal_type >::global_ordinal_type, CrsGraph<>::local_ordinal_type, typename CrsGraph< CrsGraph<>::local_ordinal_type >::global_ordinal_type, typename CrsGraph< CrsGraph<>::local_ordinal_type, typename CrsGraph< CrsGraph<>::local_ordinal_type >::global_ordinal_type >::node_type > &source, const Export< CrsGraph<>::local_ordinal_type, typename CrsGraph< CrsGraph<>::local_ordinal_type >::global_ordinal_type, typename CrsGraph< CrsGraph<>::local_ordinal_type, typename CrsGraph< CrsGraph<>::local_ordinal_type >::global_ordinal_type >::node_type > &exporter, CombineMode CM)=0
 Import data into this object using an Export object ("reverse mode"). More...
 
virtual void doExport (const DistObject< typename CrsGraph< CrsGraph<>::local_ordinal_type >::global_ordinal_type, CrsGraph<>::local_ordinal_type, typename CrsGraph< CrsGraph<>::local_ordinal_type >::global_ordinal_type, typename CrsGraph< CrsGraph<>::local_ordinal_type, typename CrsGraph< CrsGraph<>::local_ordinal_type >::global_ordinal_type >::node_type > &source, const Export< CrsGraph<>::local_ordinal_type, typename CrsGraph< CrsGraph<>::local_ordinal_type >::global_ordinal_type, typename CrsGraph< CrsGraph<>::local_ordinal_type, typename CrsGraph< CrsGraph<>::local_ordinal_type >::global_ordinal_type >::node_type > &exporter, CombineMode CM)=0
 Export data into this object using an Export object ("forward mode"). More...
 
virtual void doExport (const DistObject< typename CrsGraph< CrsGraph<>::local_ordinal_type >::global_ordinal_type, CrsGraph<>::local_ordinal_type, typename CrsGraph< CrsGraph<>::local_ordinal_type >::global_ordinal_type, typename CrsGraph< CrsGraph<>::local_ordinal_type, typename CrsGraph< CrsGraph<>::local_ordinal_type >::global_ordinal_type >::node_type > &source, const Import< CrsGraph<>::local_ordinal_type, typename CrsGraph< CrsGraph<>::local_ordinal_type >::global_ordinal_type, typename CrsGraph< CrsGraph<>::local_ordinal_type, typename CrsGraph< CrsGraph<>::local_ordinal_type >::global_ordinal_type >::node_type > &importer, CombineMode CM)=0
 Export data into this object using an Import object ("reverse mode"). More...
 
virtual Teuchos::RCP< const Map< CrsGraph<>::local_ordinal_type, typename CrsGraph< CrsGraph<>::local_ordinal_type >::global_ordinal_type, typename CrsGraph< CrsGraph<>::local_ordinal_type, typename CrsGraph< CrsGraph<>::local_ordinal_type >::global_ordinal_type >::node_type > > getMap () const=0
 The Map describing the parallel distribution of this object. More...
 
- 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 = CrsGraph<>::local_ordinal_type, class GlobalOrdinal = typename CrsGraph<LocalOrdinal>::global_ordinal_type, class Node = typename CrsGraph<LocalOrdinal, GlobalOrdinal>::node_type>
class Xpetra::TpetraCrsGraph< LocalOrdinal, GlobalOrdinal, Node >

Definition at line 79 of file Xpetra_TpetraCrsGraph.hpp.

Member Typedef Documentation

◆ TpetraCrsGraphClass

template<class LocalOrdinal = CrsGraph<>::local_ordinal_type, class GlobalOrdinal = typename CrsGraph<LocalOrdinal>::global_ordinal_type, class Node = typename CrsGraph<LocalOrdinal, GlobalOrdinal>::node_type>
typedef TpetraCrsGraph<LocalOrdinal,GlobalOrdinal,Node> Xpetra::TpetraCrsGraph< LocalOrdinal, GlobalOrdinal, Node >::TpetraCrsGraphClass
private

Definition at line 84 of file Xpetra_TpetraCrsGraph.hpp.

◆ map_type

template<class LocalOrdinal = CrsGraph<>::local_ordinal_type, class GlobalOrdinal = typename CrsGraph<LocalOrdinal>::global_ordinal_type, class Node = typename CrsGraph<LocalOrdinal, GlobalOrdinal>::node_type>
typedef Map<LocalOrdinal,GlobalOrdinal,Node> Xpetra::TpetraCrsGraph< LocalOrdinal, GlobalOrdinal, Node >::map_type
private

Definition at line 85 of file Xpetra_TpetraCrsGraph.hpp.

Constructor & Destructor Documentation

◆ TpetraCrsGraph() [1/5]

template<class LocalOrdinal = CrsGraph<>::local_ordinal_type, class GlobalOrdinal = typename CrsGraph<LocalOrdinal>::global_ordinal_type, class Node = typename CrsGraph<LocalOrdinal, GlobalOrdinal>::node_type>
Xpetra::TpetraCrsGraph< LocalOrdinal, GlobalOrdinal, Node >::TpetraCrsGraph ( const RCP< const map_type > &  rowMap,
size_t  maxNumEntriesPerRow,
ProfileType  pftype = DynamicProfile,
const RCP< ParameterList > &  params = null 
)
inline

Constructor specifying fixed number of entries for each row.

Definition at line 93 of file Xpetra_TpetraCrsGraph.hpp.

◆ TpetraCrsGraph() [2/5]

template<class LocalOrdinal = CrsGraph<>::local_ordinal_type, class GlobalOrdinal = typename CrsGraph<LocalOrdinal>::global_ordinal_type, class Node = typename CrsGraph<LocalOrdinal, GlobalOrdinal>::node_type>
Xpetra::TpetraCrsGraph< LocalOrdinal, GlobalOrdinal, Node >::TpetraCrsGraph ( const RCP< const Map< LocalOrdinal, GlobalOrdinal, Node > > &  rowMap,
const ArrayRCP< const size_t > &  NumEntriesPerRowToAlloc,
ProfileType  pftype = DynamicProfile,
const RCP< ParameterList > &  params = null 
)
inline

Constructor specifying (possibly different) number of entries in each row.

Definition at line 97 of file Xpetra_TpetraCrsGraph.hpp.

◆ TpetraCrsGraph() [3/5]

template<class LocalOrdinal = CrsGraph<>::local_ordinal_type, class GlobalOrdinal = typename CrsGraph<LocalOrdinal>::global_ordinal_type, class Node = typename CrsGraph<LocalOrdinal, GlobalOrdinal>::node_type>
Xpetra::TpetraCrsGraph< LocalOrdinal, GlobalOrdinal, Node >::TpetraCrsGraph ( const RCP< const Map< LocalOrdinal, GlobalOrdinal, Node > > &  rowMap,
const RCP< const Map< LocalOrdinal, GlobalOrdinal, Node > > &  colMap,
size_t  maxNumEntriesPerRow,
ProfileType  pftype = DynamicProfile,
const RCP< ParameterList > &  params = null 
)
inline

Constructor specifying column Map and fixed number of entries for each row.

Definition at line 101 of file Xpetra_TpetraCrsGraph.hpp.

◆ TpetraCrsGraph() [4/5]

template<class LocalOrdinal = CrsGraph<>::local_ordinal_type, class GlobalOrdinal = typename CrsGraph<LocalOrdinal>::global_ordinal_type, class Node = typename CrsGraph<LocalOrdinal, GlobalOrdinal>::node_type>
Xpetra::TpetraCrsGraph< LocalOrdinal, GlobalOrdinal, Node >::TpetraCrsGraph ( const RCP< const Map< LocalOrdinal, GlobalOrdinal, Node > > &  rowMap,
const RCP< const Map< LocalOrdinal, GlobalOrdinal, Node > > &  colMap,
const ArrayRCP< const size_t > &  NumEntriesPerRowToAlloc,
ProfileType  pftype = DynamicProfile,
const RCP< ParameterList > &  params = null 
)
inline

Constructor specifying column Map and number of entries in each row.

Definition at line 105 of file Xpetra_TpetraCrsGraph.hpp.

◆ ~TpetraCrsGraph()

template<class LocalOrdinal = CrsGraph<>::local_ordinal_type, class GlobalOrdinal = typename CrsGraph<LocalOrdinal>::global_ordinal_type, class Node = typename CrsGraph<LocalOrdinal, GlobalOrdinal>::node_type>
virtual Xpetra::TpetraCrsGraph< LocalOrdinal, GlobalOrdinal, Node >::~TpetraCrsGraph ( )
inlinevirtual

Destructor.

Definition at line 109 of file Xpetra_TpetraCrsGraph.hpp.

◆ TpetraCrsGraph() [5/5]

template<class LocalOrdinal = CrsGraph<>::local_ordinal_type, class GlobalOrdinal = typename CrsGraph<LocalOrdinal>::global_ordinal_type, class Node = typename CrsGraph<LocalOrdinal, GlobalOrdinal>::node_type>
Xpetra::TpetraCrsGraph< LocalOrdinal, GlobalOrdinal, Node >::TpetraCrsGraph ( const Teuchos::RCP< Tpetra::CrsGraph< LocalOrdinal, GlobalOrdinal, Node > > &  graph)
inline

TpetraCrsGraph constructor to wrap a Tpetra::CrsGraph object.

Definition at line 310 of file Xpetra_TpetraCrsGraph.hpp.

Member Function Documentation

◆ insertGlobalIndices()

template<class LocalOrdinal = CrsGraph<>::local_ordinal_type, class GlobalOrdinal = typename CrsGraph<LocalOrdinal>::global_ordinal_type, class Node = typename CrsGraph<LocalOrdinal, GlobalOrdinal>::node_type>
void Xpetra::TpetraCrsGraph< LocalOrdinal, GlobalOrdinal, Node >::insertGlobalIndices ( GlobalOrdinal  globalRow,
const ArrayView< const GlobalOrdinal > &  indices 
)
inline

Insert global indices into the graph.

Definition at line 117 of file Xpetra_TpetraCrsGraph.hpp.

◆ insertLocalIndices()

template<class LocalOrdinal = CrsGraph<>::local_ordinal_type, class GlobalOrdinal = typename CrsGraph<LocalOrdinal>::global_ordinal_type, class Node = typename CrsGraph<LocalOrdinal, GlobalOrdinal>::node_type>
void Xpetra::TpetraCrsGraph< LocalOrdinal, GlobalOrdinal, Node >::insertLocalIndices ( const LocalOrdinal  localRow,
const ArrayView< const LocalOrdinal > &  indices 
)
inline

Insert local indices into the graph.

Definition at line 120 of file Xpetra_TpetraCrsGraph.hpp.

◆ removeLocalIndices()

template<class LocalOrdinal = CrsGraph<>::local_ordinal_type, class GlobalOrdinal = typename CrsGraph<LocalOrdinal>::global_ordinal_type, class Node = typename CrsGraph<LocalOrdinal, GlobalOrdinal>::node_type>
void Xpetra::TpetraCrsGraph< LocalOrdinal, GlobalOrdinal, Node >::removeLocalIndices ( LocalOrdinal  localRow)
inline

Remove all graph indices from the specified local row.

Definition at line 123 of file Xpetra_TpetraCrsGraph.hpp.

◆ fillComplete() [1/2]

template<class LocalOrdinal = CrsGraph<>::local_ordinal_type, class GlobalOrdinal = typename CrsGraph<LocalOrdinal>::global_ordinal_type, class Node = typename CrsGraph<LocalOrdinal, GlobalOrdinal>::node_type>
void Xpetra::TpetraCrsGraph< LocalOrdinal, GlobalOrdinal, Node >::fillComplete ( const RCP< const Map< LocalOrdinal, GlobalOrdinal, Node > > &  domainMap,
const RCP< const Map< LocalOrdinal, GlobalOrdinal, Node > > &  rangeMap,
const RCP< ParameterList > &  params = null 
)
inline

Signal that data entry is complete, specifying domain and range maps.

Definition at line 131 of file Xpetra_TpetraCrsGraph.hpp.

◆ fillComplete() [2/2]

template<class LocalOrdinal = CrsGraph<>::local_ordinal_type, class GlobalOrdinal = typename CrsGraph<LocalOrdinal>::global_ordinal_type, class Node = typename CrsGraph<LocalOrdinal, GlobalOrdinal>::node_type>
void Xpetra::TpetraCrsGraph< LocalOrdinal, GlobalOrdinal, Node >::fillComplete ( const RCP< ParameterList > &  params = null)
inlinevirtual

◆ getComm()

template<class LocalOrdinal = CrsGraph<>::local_ordinal_type, class GlobalOrdinal = typename CrsGraph<LocalOrdinal>::global_ordinal_type, class Node = typename CrsGraph<LocalOrdinal, GlobalOrdinal>::node_type>
RCP< const Comm< int > > Xpetra::TpetraCrsGraph< LocalOrdinal, GlobalOrdinal, Node >::getComm ( ) const
inline

Returns the communicator.

Definition at line 142 of file Xpetra_TpetraCrsGraph.hpp.

◆ getRowMap()

template<class LocalOrdinal = CrsGraph<>::local_ordinal_type, class GlobalOrdinal = typename CrsGraph<LocalOrdinal>::global_ordinal_type, class Node = typename CrsGraph<LocalOrdinal, GlobalOrdinal>::node_type>
RCP< const Map< LocalOrdinal, GlobalOrdinal, Node > > Xpetra::TpetraCrsGraph< LocalOrdinal, GlobalOrdinal, Node >::getRowMap ( ) const
inline

Returns the Map that describes the row distribution in this graph.

Definition at line 145 of file Xpetra_TpetraCrsGraph.hpp.

◆ getColMap()

template<class LocalOrdinal = CrsGraph<>::local_ordinal_type, class GlobalOrdinal = typename CrsGraph<LocalOrdinal>::global_ordinal_type, class Node = typename CrsGraph<LocalOrdinal, GlobalOrdinal>::node_type>
RCP< const Map< LocalOrdinal, GlobalOrdinal, Node > > Xpetra::TpetraCrsGraph< LocalOrdinal, GlobalOrdinal, Node >::getColMap ( ) const
inline

Returns the Map that describes the column distribution in this graph.

Definition at line 148 of file Xpetra_TpetraCrsGraph.hpp.

◆ getDomainMap()

template<class LocalOrdinal = CrsGraph<>::local_ordinal_type, class GlobalOrdinal = typename CrsGraph<LocalOrdinal>::global_ordinal_type, class Node = typename CrsGraph<LocalOrdinal, GlobalOrdinal>::node_type>
RCP< const Map< LocalOrdinal, GlobalOrdinal, Node > > Xpetra::TpetraCrsGraph< LocalOrdinal, GlobalOrdinal, Node >::getDomainMap ( ) const
inline

Returns the Map associated with the domain of this graph.

Definition at line 151 of file Xpetra_TpetraCrsGraph.hpp.

◆ getRangeMap()

template<class LocalOrdinal = CrsGraph<>::local_ordinal_type, class GlobalOrdinal = typename CrsGraph<LocalOrdinal>::global_ordinal_type, class Node = typename CrsGraph<LocalOrdinal, GlobalOrdinal>::node_type>
RCP< const Map< LocalOrdinal, GlobalOrdinal, Node > > Xpetra::TpetraCrsGraph< LocalOrdinal, GlobalOrdinal, Node >::getRangeMap ( ) const
inline

Returns the Map associated with the domain of this graph.

Definition at line 154 of file Xpetra_TpetraCrsGraph.hpp.

◆ getImporter()

template<class LocalOrdinal = CrsGraph<>::local_ordinal_type, class GlobalOrdinal = typename CrsGraph<LocalOrdinal>::global_ordinal_type, class Node = typename CrsGraph<LocalOrdinal, GlobalOrdinal>::node_type>
RCP< const Import< LocalOrdinal, GlobalOrdinal, Node > > Xpetra::TpetraCrsGraph< LocalOrdinal, GlobalOrdinal, Node >::getImporter ( ) const
inline

Returns the importer associated with this graph.

Definition at line 157 of file Xpetra_TpetraCrsGraph.hpp.

◆ getExporter()

template<class LocalOrdinal = CrsGraph<>::local_ordinal_type, class GlobalOrdinal = typename CrsGraph<LocalOrdinal>::global_ordinal_type, class Node = typename CrsGraph<LocalOrdinal, GlobalOrdinal>::node_type>
RCP< const Export< LocalOrdinal, GlobalOrdinal, Node > > Xpetra::TpetraCrsGraph< LocalOrdinal, GlobalOrdinal, Node >::getExporter ( ) const
inline

Returns the exporter associated with this graph.

Definition at line 160 of file Xpetra_TpetraCrsGraph.hpp.

◆ getGlobalNumRows()

template<class LocalOrdinal = CrsGraph<>::local_ordinal_type, class GlobalOrdinal = typename CrsGraph<LocalOrdinal>::global_ordinal_type, class Node = typename CrsGraph<LocalOrdinal, GlobalOrdinal>::node_type>
global_size_t Xpetra::TpetraCrsGraph< LocalOrdinal, GlobalOrdinal, Node >::getGlobalNumRows ( ) const
inline

Returns the number of global rows in the graph.

Definition at line 163 of file Xpetra_TpetraCrsGraph.hpp.

◆ getGlobalNumCols()

template<class LocalOrdinal = CrsGraph<>::local_ordinal_type, class GlobalOrdinal = typename CrsGraph<LocalOrdinal>::global_ordinal_type, class Node = typename CrsGraph<LocalOrdinal, GlobalOrdinal>::node_type>
global_size_t Xpetra::TpetraCrsGraph< LocalOrdinal, GlobalOrdinal, Node >::getGlobalNumCols ( ) const
inline

Returns the number of global columns in the graph.

Definition at line 166 of file Xpetra_TpetraCrsGraph.hpp.

◆ getNodeNumRows()

template<class LocalOrdinal = CrsGraph<>::local_ordinal_type, class GlobalOrdinal = typename CrsGraph<LocalOrdinal>::global_ordinal_type, class Node = typename CrsGraph<LocalOrdinal, GlobalOrdinal>::node_type>
size_t Xpetra::TpetraCrsGraph< LocalOrdinal, GlobalOrdinal, Node >::getNodeNumRows ( ) const
inline

Returns the number of graph rows owned on the calling node.

Definition at line 169 of file Xpetra_TpetraCrsGraph.hpp.

◆ getNodeNumCols()

template<class LocalOrdinal = CrsGraph<>::local_ordinal_type, class GlobalOrdinal = typename CrsGraph<LocalOrdinal>::global_ordinal_type, class Node = typename CrsGraph<LocalOrdinal, GlobalOrdinal>::node_type>
size_t Xpetra::TpetraCrsGraph< LocalOrdinal, GlobalOrdinal, Node >::getNodeNumCols ( ) const
inline

Returns the number of columns connected to the locally owned rows of this graph.

Definition at line 172 of file Xpetra_TpetraCrsGraph.hpp.

◆ getIndexBase()

template<class LocalOrdinal = CrsGraph<>::local_ordinal_type, class GlobalOrdinal = typename CrsGraph<LocalOrdinal>::global_ordinal_type, class Node = typename CrsGraph<LocalOrdinal, GlobalOrdinal>::node_type>
GlobalOrdinal Xpetra::TpetraCrsGraph< LocalOrdinal, GlobalOrdinal, Node >::getIndexBase ( ) const
inline

Returns the index base for global indices for this graph.

Definition at line 175 of file Xpetra_TpetraCrsGraph.hpp.

◆ getGlobalNumEntries()

template<class LocalOrdinal = CrsGraph<>::local_ordinal_type, class GlobalOrdinal = typename CrsGraph<LocalOrdinal>::global_ordinal_type, class Node = typename CrsGraph<LocalOrdinal, GlobalOrdinal>::node_type>
global_size_t Xpetra::TpetraCrsGraph< LocalOrdinal, GlobalOrdinal, Node >::getGlobalNumEntries ( ) const
inline

Returns the global number of entries in the graph.

Definition at line 178 of file Xpetra_TpetraCrsGraph.hpp.

◆ getNodeNumEntries()

template<class LocalOrdinal = CrsGraph<>::local_ordinal_type, class GlobalOrdinal = typename CrsGraph<LocalOrdinal>::global_ordinal_type, class Node = typename CrsGraph<LocalOrdinal, GlobalOrdinal>::node_type>
size_t Xpetra::TpetraCrsGraph< LocalOrdinal, GlobalOrdinal, Node >::getNodeNumEntries ( ) const
inline

Returns the local number of entries in the graph.

Definition at line 181 of file Xpetra_TpetraCrsGraph.hpp.

◆ getNumEntriesInGlobalRow()

template<class LocalOrdinal = CrsGraph<>::local_ordinal_type, class GlobalOrdinal = typename CrsGraph<LocalOrdinal>::global_ordinal_type, class Node = typename CrsGraph<LocalOrdinal, GlobalOrdinal>::node_type>
size_t Xpetra::TpetraCrsGraph< LocalOrdinal, GlobalOrdinal, Node >::getNumEntriesInGlobalRow ( GlobalOrdinal  globalRow) const
inline

Returns the current number of entries on this node in the specified global row.

Definition at line 184 of file Xpetra_TpetraCrsGraph.hpp.

◆ getNumEntriesInLocalRow()

template<class LocalOrdinal = CrsGraph<>::local_ordinal_type, class GlobalOrdinal = typename CrsGraph<LocalOrdinal>::global_ordinal_type, class Node = typename CrsGraph<LocalOrdinal, GlobalOrdinal>::node_type>
size_t Xpetra::TpetraCrsGraph< LocalOrdinal, GlobalOrdinal, Node >::getNumEntriesInLocalRow ( LocalOrdinal  localRow) const
inline

Returns the current number of entries on this node in the specified local row.

Definition at line 187 of file Xpetra_TpetraCrsGraph.hpp.

◆ getNumAllocatedEntriesInGlobalRow()

template<class LocalOrdinal = CrsGraph<>::local_ordinal_type, class GlobalOrdinal = typename CrsGraph<LocalOrdinal>::global_ordinal_type, class Node = typename CrsGraph<LocalOrdinal, GlobalOrdinal>::node_type>
size_t Xpetra::TpetraCrsGraph< LocalOrdinal, GlobalOrdinal, Node >::getNumAllocatedEntriesInGlobalRow ( GlobalOrdinal  globalRow) const
inline

Returns the current number of allocated entries for this node in the specified global row .

Definition at line 190 of file Xpetra_TpetraCrsGraph.hpp.

◆ getNumAllocatedEntriesInLocalRow()

template<class LocalOrdinal = CrsGraph<>::local_ordinal_type, class GlobalOrdinal = typename CrsGraph<LocalOrdinal>::global_ordinal_type, class Node = typename CrsGraph<LocalOrdinal, GlobalOrdinal>::node_type>
size_t Xpetra::TpetraCrsGraph< LocalOrdinal, GlobalOrdinal, Node >::getNumAllocatedEntriesInLocalRow ( LocalOrdinal  localRow) const
inline

Returns the current number of allocated entries on this node in the specified local row.

Definition at line 193 of file Xpetra_TpetraCrsGraph.hpp.

◆ getGlobalMaxNumRowEntries()

template<class LocalOrdinal = CrsGraph<>::local_ordinal_type, class GlobalOrdinal = typename CrsGraph<LocalOrdinal>::global_ordinal_type, class Node = typename CrsGraph<LocalOrdinal, GlobalOrdinal>::node_type>
size_t Xpetra::TpetraCrsGraph< LocalOrdinal, GlobalOrdinal, Node >::getGlobalMaxNumRowEntries ( ) const
inline

Maximum number of entries in all rows over all processes.

Definition at line 196 of file Xpetra_TpetraCrsGraph.hpp.

◆ getNodeMaxNumRowEntries()

template<class LocalOrdinal = CrsGraph<>::local_ordinal_type, class GlobalOrdinal = typename CrsGraph<LocalOrdinal>::global_ordinal_type, class Node = typename CrsGraph<LocalOrdinal, GlobalOrdinal>::node_type>
size_t Xpetra::TpetraCrsGraph< LocalOrdinal, GlobalOrdinal, Node >::getNodeMaxNumRowEntries ( ) const
inline

Maximum number of entries in all rows owned by the calling process.

Definition at line 199 of file Xpetra_TpetraCrsGraph.hpp.

◆ hasColMap()

template<class LocalOrdinal = CrsGraph<>::local_ordinal_type, class GlobalOrdinal = typename CrsGraph<LocalOrdinal>::global_ordinal_type, class Node = typename CrsGraph<LocalOrdinal, GlobalOrdinal>::node_type>
bool Xpetra::TpetraCrsGraph< LocalOrdinal, GlobalOrdinal, Node >::hasColMap ( ) const
inline

Whether the graph has a column Map.

Definition at line 202 of file Xpetra_TpetraCrsGraph.hpp.

◆ isLocallyIndexed()

template<class LocalOrdinal = CrsGraph<>::local_ordinal_type, class GlobalOrdinal = typename CrsGraph<LocalOrdinal>::global_ordinal_type, class Node = typename CrsGraph<LocalOrdinal, GlobalOrdinal>::node_type>
bool Xpetra::TpetraCrsGraph< LocalOrdinal, GlobalOrdinal, Node >::isLocallyIndexed ( ) const
inline

Whether column indices are stored using local indices on the calling process.

Definition at line 205 of file Xpetra_TpetraCrsGraph.hpp.

◆ isGloballyIndexed()

template<class LocalOrdinal = CrsGraph<>::local_ordinal_type, class GlobalOrdinal = typename CrsGraph<LocalOrdinal>::global_ordinal_type, class Node = typename CrsGraph<LocalOrdinal, GlobalOrdinal>::node_type>
bool Xpetra::TpetraCrsGraph< LocalOrdinal, GlobalOrdinal, Node >::isGloballyIndexed ( ) const
inline

Whether column indices are stored using global indices on the calling process.

Definition at line 208 of file Xpetra_TpetraCrsGraph.hpp.

◆ isFillComplete()

template<class LocalOrdinal = CrsGraph<>::local_ordinal_type, class GlobalOrdinal = typename CrsGraph<LocalOrdinal>::global_ordinal_type, class Node = typename CrsGraph<LocalOrdinal, GlobalOrdinal>::node_type>
bool Xpetra::TpetraCrsGraph< LocalOrdinal, GlobalOrdinal, Node >::isFillComplete ( ) const
inline

Whether fillComplete() has been called and the graph is in compute mode.

Definition at line 211 of file Xpetra_TpetraCrsGraph.hpp.

◆ isStorageOptimized()

template<class LocalOrdinal = CrsGraph<>::local_ordinal_type, class GlobalOrdinal = typename CrsGraph<LocalOrdinal>::global_ordinal_type, class Node = typename CrsGraph<LocalOrdinal, GlobalOrdinal>::node_type>
bool Xpetra::TpetraCrsGraph< LocalOrdinal, GlobalOrdinal, Node >::isStorageOptimized ( ) const
inline

Returns true if storage has been optimized.

Definition at line 214 of file Xpetra_TpetraCrsGraph.hpp.

◆ getGlobalRowView()

template<class LocalOrdinal = CrsGraph<>::local_ordinal_type, class GlobalOrdinal = typename CrsGraph<LocalOrdinal>::global_ordinal_type, class Node = typename CrsGraph<LocalOrdinal, GlobalOrdinal>::node_type>
void Xpetra::TpetraCrsGraph< LocalOrdinal, GlobalOrdinal, Node >::getGlobalRowView ( GlobalOrdinal  GlobalRow,
ArrayView< const GlobalOrdinal > &  Indices 
) const
inline

Return a const, nonpersisting view of global indices in the given row.

Definition at line 217 of file Xpetra_TpetraCrsGraph.hpp.

◆ getLocalRowView()

template<class LocalOrdinal = CrsGraph<>::local_ordinal_type, class GlobalOrdinal = typename CrsGraph<LocalOrdinal>::global_ordinal_type, class Node = typename CrsGraph<LocalOrdinal, GlobalOrdinal>::node_type>
void Xpetra::TpetraCrsGraph< LocalOrdinal, GlobalOrdinal, Node >::getLocalRowView ( LocalOrdinal  LocalRow,
ArrayView< const LocalOrdinal > &  indices 
) const
inline

Return a const, nonpersisting view of local indices in the given row.

Definition at line 220 of file Xpetra_TpetraCrsGraph.hpp.

◆ computeGlobalConstants()

template<class LocalOrdinal = CrsGraph<>::local_ordinal_type, class GlobalOrdinal = typename CrsGraph<LocalOrdinal>::global_ordinal_type, class Node = typename CrsGraph<LocalOrdinal, GlobalOrdinal>::node_type>
void Xpetra::TpetraCrsGraph< LocalOrdinal, GlobalOrdinal, Node >::computeGlobalConstants ( )
inlinevirtual

◆ description()

template<class LocalOrdinal = CrsGraph<>::local_ordinal_type, class GlobalOrdinal = typename CrsGraph<LocalOrdinal>::global_ordinal_type, class Node = typename CrsGraph<LocalOrdinal, GlobalOrdinal>::node_type>
std::string Xpetra::TpetraCrsGraph< LocalOrdinal, GlobalOrdinal, Node >::description ( ) const
inlinevirtual

Return a simple one-line description of this object.

Reimplemented from Teuchos::Describable.

Definition at line 236 of file Xpetra_TpetraCrsGraph.hpp.

◆ describe()

template<class LocalOrdinal = CrsGraph<>::local_ordinal_type, class GlobalOrdinal = typename CrsGraph<LocalOrdinal>::global_ordinal_type, class Node = typename CrsGraph<LocalOrdinal, GlobalOrdinal>::node_type>
void Xpetra::TpetraCrsGraph< LocalOrdinal, GlobalOrdinal, Node >::describe ( Teuchos::FancyOStream out,
const Teuchos::EVerbosityLevel  verbLevel = Teuchos::Describable::verbLevel_default 
) const
inlinevirtual

◆ getNodeRowPtrs()

template<class LocalOrdinal = CrsGraph<>::local_ordinal_type, class GlobalOrdinal = typename CrsGraph<LocalOrdinal>::global_ordinal_type, class Node = typename CrsGraph<LocalOrdinal, GlobalOrdinal>::node_type>
ArrayRCP< const size_t > Xpetra::TpetraCrsGraph< LocalOrdinal, GlobalOrdinal, Node >::getNodeRowPtrs ( ) const
inline

Get an ArrayRCP of the row-offsets.

Definition at line 247 of file Xpetra_TpetraCrsGraph.hpp.

◆ getMap()

template<class LocalOrdinal = CrsGraph<>::local_ordinal_type, class GlobalOrdinal = typename CrsGraph<LocalOrdinal>::global_ordinal_type, class Node = typename CrsGraph<LocalOrdinal, GlobalOrdinal>::node_type>
Teuchos::RCP< const Map< LocalOrdinal, GlobalOrdinal, Node > > Xpetra::TpetraCrsGraph< LocalOrdinal, GlobalOrdinal, Node >::getMap ( ) const
inline

Implements DistObject interface.

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

Definition at line 255 of file Xpetra_TpetraCrsGraph.hpp.

◆ doImport() [1/2]

template<class LocalOrdinal = CrsGraph<>::local_ordinal_type, class GlobalOrdinal = typename CrsGraph<LocalOrdinal>::global_ordinal_type, class Node = typename CrsGraph<LocalOrdinal, GlobalOrdinal>::node_type>
void Xpetra::TpetraCrsGraph< LocalOrdinal, GlobalOrdinal, Node >::doImport ( const DistObject< GlobalOrdinal, LocalOrdinal, GlobalOrdinal, Node > &  source,
const Import< LocalOrdinal, GlobalOrdinal, Node > &  importer,
CombineMode  CM 
)
inline

Import.

Definition at line 258 of file Xpetra_TpetraCrsGraph.hpp.

◆ doExport() [1/2]

template<class LocalOrdinal = CrsGraph<>::local_ordinal_type, class GlobalOrdinal = typename CrsGraph<LocalOrdinal>::global_ordinal_type, class Node = typename CrsGraph<LocalOrdinal, GlobalOrdinal>::node_type>
void Xpetra::TpetraCrsGraph< LocalOrdinal, GlobalOrdinal, Node >::doExport ( const DistObject< GlobalOrdinal, LocalOrdinal, GlobalOrdinal, Node > &  dest,
const Import< LocalOrdinal, GlobalOrdinal, Node > &  importer,
CombineMode  CM 
)
inline

Export.

Definition at line 270 of file Xpetra_TpetraCrsGraph.hpp.

◆ doImport() [2/2]

template<class LocalOrdinal = CrsGraph<>::local_ordinal_type, class GlobalOrdinal = typename CrsGraph<LocalOrdinal>::global_ordinal_type, class Node = typename CrsGraph<LocalOrdinal, GlobalOrdinal>::node_type>
void Xpetra::TpetraCrsGraph< LocalOrdinal, GlobalOrdinal, Node >::doImport ( const DistObject< GlobalOrdinal, LocalOrdinal, GlobalOrdinal, Node > &  source,
const Export< LocalOrdinal, GlobalOrdinal, Node > &  exporter,
CombineMode  CM 
)
inline

Import (using an Exporter).

Definition at line 281 of file Xpetra_TpetraCrsGraph.hpp.

◆ doExport() [2/2]

template<class LocalOrdinal = CrsGraph<>::local_ordinal_type, class GlobalOrdinal = typename CrsGraph<LocalOrdinal>::global_ordinal_type, class Node = typename CrsGraph<LocalOrdinal, GlobalOrdinal>::node_type>
void Xpetra::TpetraCrsGraph< LocalOrdinal, GlobalOrdinal, Node >::doExport ( const DistObject< GlobalOrdinal, LocalOrdinal, GlobalOrdinal, Node > &  dest,
const Export< LocalOrdinal, GlobalOrdinal, Node > &  exporter,
CombineMode  CM 
)
inline

Export (using an Importer).

Definition at line 293 of file Xpetra_TpetraCrsGraph.hpp.

◆ getTpetra_CrsGraph()

template<class LocalOrdinal = CrsGraph<>::local_ordinal_type, class GlobalOrdinal = typename CrsGraph<LocalOrdinal>::global_ordinal_type, class Node = typename CrsGraph<LocalOrdinal, GlobalOrdinal>::node_type>
RCP< const Tpetra::CrsGraph<LocalOrdinal, GlobalOrdinal, Node> > Xpetra::TpetraCrsGraph< LocalOrdinal, GlobalOrdinal, Node >::getTpetra_CrsGraph ( ) const
inline

Get the underlying Tpetra graph.

Definition at line 313 of file Xpetra_TpetraCrsGraph.hpp.

Member Data Documentation

◆ graph_

template<class LocalOrdinal = CrsGraph<>::local_ordinal_type, class GlobalOrdinal = typename CrsGraph<LocalOrdinal>::global_ordinal_type, class Node = typename CrsGraph<LocalOrdinal, GlobalOrdinal>::node_type>
RCP< Tpetra::CrsGraph<LocalOrdinal, GlobalOrdinal, Node> > Xpetra::TpetraCrsGraph< LocalOrdinal, GlobalOrdinal, Node >::graph_
private

Definition at line 318 of file Xpetra_TpetraCrsGraph.hpp.


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