Public Member Functions | Private Types | List of all members
Xpetra::TpetraCrsGraph< int, int, EpetraNode > Class Template Reference

#include <Xpetra_TpetraCrsGraph.hpp>

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

Public Member Functions

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...
 
- Public Member Functions inherited from Xpetra::CrsGraph< int, int, EpetraNode >
virtual ~CrsGraph ()
 Destructor. More...
 
- Public Member Functions inherited from Xpetra::DistObject< Packet, LocalOrdinal, GlobalOrdinal, Node >
virtual ~DistObject ()
 Destructor. More...
 
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"). More...
 
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"). More...
 
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"). More...
 
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"). 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
 

Private Types

typedef int LocalOrdinal
 
typedef int GlobalOrdinal
 
typedef EpetraNode Node
 
typedef TpetraCrsGraph< LocalOrdinal, GlobalOrdinal, NodeTpetraCrsGraphClass
 
typedef Map< LocalOrdinal, GlobalOrdinal, Nodemap_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...
 
global_size_t getGlobalNumDiags () const
 Returns the number of global diagonal entries, based on global row/column index comparisons. More...
 
size_t getNodeNumDiags () const
 Returns the number of local diagonal entries, based on global row/column index comparisons. 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 isLowerTriangular () const
 Whether the graph is locally lower triangular. More...
 
bool isUpperTriangular () const
 Whether the graph is locally upper triangular. 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 ()
 Dummy implementation for computeGlobalConstants. 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< int, int, EpetraNode >
typedef int local_ordinal_type
 
typedef int global_ordinal_type
 
typedef EpetraNode node_type
 
- Static Public Attributes inherited from Teuchos::Describable
static const EVerbosityLevel verbLevel_default
 

Detailed Description

template<>
class Xpetra::TpetraCrsGraph< int, int, EpetraNode >

Definition at line 361 of file Xpetra_TpetraCrsGraph.hpp.

Member Typedef Documentation

◆ LocalOrdinal

typedef int Xpetra::TpetraCrsGraph< int, int, EpetraNode >::LocalOrdinal
private

Definition at line 364 of file Xpetra_TpetraCrsGraph.hpp.

◆ GlobalOrdinal

typedef int Xpetra::TpetraCrsGraph< int, int, EpetraNode >::GlobalOrdinal
private

Definition at line 365 of file Xpetra_TpetraCrsGraph.hpp.

◆ Node

typedef EpetraNode Xpetra::TpetraCrsGraph< int, int, EpetraNode >::Node
private

Definition at line 366 of file Xpetra_TpetraCrsGraph.hpp.

◆ TpetraCrsGraphClass

Definition at line 369 of file Xpetra_TpetraCrsGraph.hpp.

◆ map_type

Definition at line 370 of file Xpetra_TpetraCrsGraph.hpp.

Constructor & Destructor Documentation

◆ TpetraCrsGraph() [1/5]

Xpetra::TpetraCrsGraph< int, int, EpetraNode >::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 378 of file Xpetra_TpetraCrsGraph.hpp.

◆ TpetraCrsGraph() [2/5]

Xpetra::TpetraCrsGraph< int, int, EpetraNode >::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 383 of file Xpetra_TpetraCrsGraph.hpp.

◆ TpetraCrsGraph() [3/5]

Xpetra::TpetraCrsGraph< int, int, EpetraNode >::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 388 of file Xpetra_TpetraCrsGraph.hpp.

◆ TpetraCrsGraph() [4/5]

Xpetra::TpetraCrsGraph< int, int, EpetraNode >::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 393 of file Xpetra_TpetraCrsGraph.hpp.

◆ ~TpetraCrsGraph()

virtual Xpetra::TpetraCrsGraph< int, int, EpetraNode >::~TpetraCrsGraph ( )
inlinevirtual

Destructor.

Definition at line 398 of file Xpetra_TpetraCrsGraph.hpp.

◆ TpetraCrsGraph() [5/5]

Xpetra::TpetraCrsGraph< int, int, EpetraNode >::TpetraCrsGraph ( const Teuchos::RCP< Tpetra::CrsGraph< LocalOrdinal, GlobalOrdinal, Node > > &  graph)
inline

TpetraCrsGraph constructor to wrap a Tpetra::CrsGraph object.

Definition at line 575 of file Xpetra_TpetraCrsGraph.hpp.

Member Function Documentation

◆ insertGlobalIndices()

void Xpetra::TpetraCrsGraph< int, int, EpetraNode >::insertGlobalIndices ( GlobalOrdinal  globalRow,
const ArrayView< const GlobalOrdinal > &  indices 
)
inlinevirtual

Insert global indices into the graph.

Implements Xpetra::CrsGraph< int, int, EpetraNode >.

Definition at line 406 of file Xpetra_TpetraCrsGraph.hpp.

◆ insertLocalIndices()

void Xpetra::TpetraCrsGraph< int, int, EpetraNode >::insertLocalIndices ( const LocalOrdinal  localRow,
const ArrayView< const LocalOrdinal > &  indices 
)
inlinevirtual

Insert local indices into the graph.

Implements Xpetra::CrsGraph< int, int, EpetraNode >.

Definition at line 409 of file Xpetra_TpetraCrsGraph.hpp.

◆ removeLocalIndices()

void Xpetra::TpetraCrsGraph< int, int, EpetraNode >::removeLocalIndices ( LocalOrdinal  localRow)
inlinevirtual

Remove all graph indices from the specified local row.

Implements Xpetra::CrsGraph< int, int, EpetraNode >.

Definition at line 412 of file Xpetra_TpetraCrsGraph.hpp.

◆ fillComplete() [1/2]

void Xpetra::TpetraCrsGraph< int, int, EpetraNode >::fillComplete ( const RCP< const Map< LocalOrdinal, GlobalOrdinal, Node > > &  domainMap,
const RCP< const Map< LocalOrdinal, GlobalOrdinal, Node > > &  rangeMap,
const RCP< ParameterList > &  params = null 
)
inlinevirtual

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

Implements Xpetra::CrsGraph< int, int, EpetraNode >.

Definition at line 420 of file Xpetra_TpetraCrsGraph.hpp.

◆ fillComplete() [2/2]

void Xpetra::TpetraCrsGraph< int, int, EpetraNode >::fillComplete ( const RCP< ParameterList > &  params = null)
inlinevirtual

Signal that data entry is complete.

Implements Xpetra::CrsGraph< int, int, EpetraNode >.

Definition at line 423 of file Xpetra_TpetraCrsGraph.hpp.

◆ getComm()

RCP< const Comm< int > > Xpetra::TpetraCrsGraph< int, int, EpetraNode >::getComm ( ) const
inlinevirtual

Returns the communicator.

Implements Xpetra::CrsGraph< int, int, EpetraNode >.

Definition at line 431 of file Xpetra_TpetraCrsGraph.hpp.

◆ getRowMap()

RCP< const Map< LocalOrdinal, GlobalOrdinal, Node > > Xpetra::TpetraCrsGraph< int, int, EpetraNode >::getRowMap ( ) const
inlinevirtual

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

Implements Xpetra::CrsGraph< int, int, EpetraNode >.

Definition at line 434 of file Xpetra_TpetraCrsGraph.hpp.

◆ getColMap()

RCP< const Map< LocalOrdinal, GlobalOrdinal, Node > > Xpetra::TpetraCrsGraph< int, int, EpetraNode >::getColMap ( ) const
inlinevirtual

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

Implements Xpetra::CrsGraph< int, int, EpetraNode >.

Definition at line 437 of file Xpetra_TpetraCrsGraph.hpp.

◆ getDomainMap()

RCP< const Map< LocalOrdinal, GlobalOrdinal, Node > > Xpetra::TpetraCrsGraph< int, int, EpetraNode >::getDomainMap ( ) const
inlinevirtual

Returns the Map associated with the domain of this graph.

Implements Xpetra::CrsGraph< int, int, EpetraNode >.

Definition at line 440 of file Xpetra_TpetraCrsGraph.hpp.

◆ getRangeMap()

RCP< const Map< LocalOrdinal, GlobalOrdinal, Node > > Xpetra::TpetraCrsGraph< int, int, EpetraNode >::getRangeMap ( ) const
inlinevirtual

Returns the Map associated with the domain of this graph.

Implements Xpetra::CrsGraph< int, int, EpetraNode >.

Definition at line 443 of file Xpetra_TpetraCrsGraph.hpp.

◆ getImporter()

RCP< const Import< LocalOrdinal, GlobalOrdinal, Node > > Xpetra::TpetraCrsGraph< int, int, EpetraNode >::getImporter ( ) const
inlinevirtual

Returns the importer associated with this graph.

Implements Xpetra::CrsGraph< int, int, EpetraNode >.

Definition at line 446 of file Xpetra_TpetraCrsGraph.hpp.

◆ getExporter()

RCP< const Export< LocalOrdinal, GlobalOrdinal, Node > > Xpetra::TpetraCrsGraph< int, int, EpetraNode >::getExporter ( ) const
inlinevirtual

Returns the exporter associated with this graph.

Implements Xpetra::CrsGraph< int, int, EpetraNode >.

Definition at line 449 of file Xpetra_TpetraCrsGraph.hpp.

◆ getGlobalNumRows()

global_size_t Xpetra::TpetraCrsGraph< int, int, EpetraNode >::getGlobalNumRows ( ) const
inlinevirtual

Returns the number of global rows in the graph.

Implements Xpetra::CrsGraph< int, int, EpetraNode >.

Definition at line 452 of file Xpetra_TpetraCrsGraph.hpp.

◆ getGlobalNumCols()

global_size_t Xpetra::TpetraCrsGraph< int, int, EpetraNode >::getGlobalNumCols ( ) const
inlinevirtual

Returns the number of global columns in the graph.

Implements Xpetra::CrsGraph< int, int, EpetraNode >.

Definition at line 455 of file Xpetra_TpetraCrsGraph.hpp.

◆ getNodeNumRows()

size_t Xpetra::TpetraCrsGraph< int, int, EpetraNode >::getNodeNumRows ( ) const
inlinevirtual

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

Implements Xpetra::CrsGraph< int, int, EpetraNode >.

Definition at line 458 of file Xpetra_TpetraCrsGraph.hpp.

◆ getNodeNumCols()

size_t Xpetra::TpetraCrsGraph< int, int, EpetraNode >::getNodeNumCols ( ) const
inlinevirtual

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

Implements Xpetra::CrsGraph< int, int, EpetraNode >.

Definition at line 461 of file Xpetra_TpetraCrsGraph.hpp.

◆ getIndexBase()

GlobalOrdinal Xpetra::TpetraCrsGraph< int, int, EpetraNode >::getIndexBase ( ) const
inlinevirtual

Returns the index base for global indices for this graph.

Implements Xpetra::CrsGraph< int, int, EpetraNode >.

Definition at line 464 of file Xpetra_TpetraCrsGraph.hpp.

◆ getGlobalNumEntries()

global_size_t Xpetra::TpetraCrsGraph< int, int, EpetraNode >::getGlobalNumEntries ( ) const
inlinevirtual

Returns the global number of entries in the graph.

Implements Xpetra::CrsGraph< int, int, EpetraNode >.

Definition at line 467 of file Xpetra_TpetraCrsGraph.hpp.

◆ getNodeNumEntries()

size_t Xpetra::TpetraCrsGraph< int, int, EpetraNode >::getNodeNumEntries ( ) const
inlinevirtual

Returns the local number of entries in the graph.

Implements Xpetra::CrsGraph< int, int, EpetraNode >.

Definition at line 470 of file Xpetra_TpetraCrsGraph.hpp.

◆ getNumEntriesInGlobalRow()

size_t Xpetra::TpetraCrsGraph< int, int, EpetraNode >::getNumEntriesInGlobalRow ( GlobalOrdinal  globalRow) const
inlinevirtual

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

Implements Xpetra::CrsGraph< int, int, EpetraNode >.

Definition at line 473 of file Xpetra_TpetraCrsGraph.hpp.

◆ getNumEntriesInLocalRow()

size_t Xpetra::TpetraCrsGraph< int, int, EpetraNode >::getNumEntriesInLocalRow ( LocalOrdinal  localRow) const
inlinevirtual

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

Implements Xpetra::CrsGraph< int, int, EpetraNode >.

Definition at line 476 of file Xpetra_TpetraCrsGraph.hpp.

◆ getNumAllocatedEntriesInGlobalRow()

size_t Xpetra::TpetraCrsGraph< int, int, EpetraNode >::getNumAllocatedEntriesInGlobalRow ( GlobalOrdinal  globalRow) const
inlinevirtual

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

Implements Xpetra::CrsGraph< int, int, EpetraNode >.

Definition at line 479 of file Xpetra_TpetraCrsGraph.hpp.

◆ getNumAllocatedEntriesInLocalRow()

size_t Xpetra::TpetraCrsGraph< int, int, EpetraNode >::getNumAllocatedEntriesInLocalRow ( LocalOrdinal  localRow) const
inlinevirtual

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

Implements Xpetra::CrsGraph< int, int, EpetraNode >.

Definition at line 482 of file Xpetra_TpetraCrsGraph.hpp.

◆ getGlobalNumDiags()

global_size_t Xpetra::TpetraCrsGraph< int, int, EpetraNode >::getGlobalNumDiags ( ) const
inlinevirtual

Returns the number of global diagonal entries, based on global row/column index comparisons.

Implements Xpetra::CrsGraph< int, int, EpetraNode >.

Definition at line 485 of file Xpetra_TpetraCrsGraph.hpp.

◆ getNodeNumDiags()

size_t Xpetra::TpetraCrsGraph< int, int, EpetraNode >::getNodeNumDiags ( ) const
inlinevirtual

Returns the number of local diagonal entries, based on global row/column index comparisons.

Implements Xpetra::CrsGraph< int, int, EpetraNode >.

Definition at line 488 of file Xpetra_TpetraCrsGraph.hpp.

◆ getGlobalMaxNumRowEntries()

size_t Xpetra::TpetraCrsGraph< int, int, EpetraNode >::getGlobalMaxNumRowEntries ( ) const
inlinevirtual

Maximum number of entries in all rows over all processes.

Implements Xpetra::CrsGraph< int, int, EpetraNode >.

Definition at line 491 of file Xpetra_TpetraCrsGraph.hpp.

◆ getNodeMaxNumRowEntries()

size_t Xpetra::TpetraCrsGraph< int, int, EpetraNode >::getNodeMaxNumRowEntries ( ) const
inlinevirtual

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

Implements Xpetra::CrsGraph< int, int, EpetraNode >.

Definition at line 494 of file Xpetra_TpetraCrsGraph.hpp.

◆ hasColMap()

bool Xpetra::TpetraCrsGraph< int, int, EpetraNode >::hasColMap ( ) const
inlinevirtual

Whether the graph has a column Map.

Implements Xpetra::CrsGraph< int, int, EpetraNode >.

Definition at line 497 of file Xpetra_TpetraCrsGraph.hpp.

◆ isLowerTriangular()

bool Xpetra::TpetraCrsGraph< int, int, EpetraNode >::isLowerTriangular ( ) const
inlinevirtual

Whether the graph is locally lower triangular.

Implements Xpetra::CrsGraph< int, int, EpetraNode >.

Definition at line 500 of file Xpetra_TpetraCrsGraph.hpp.

◆ isUpperTriangular()

bool Xpetra::TpetraCrsGraph< int, int, EpetraNode >::isUpperTriangular ( ) const
inlinevirtual

Whether the graph is locally upper triangular.

Implements Xpetra::CrsGraph< int, int, EpetraNode >.

Definition at line 503 of file Xpetra_TpetraCrsGraph.hpp.

◆ isLocallyIndexed()

bool Xpetra::TpetraCrsGraph< int, int, EpetraNode >::isLocallyIndexed ( ) const
inlinevirtual

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

Implements Xpetra::CrsGraph< int, int, EpetraNode >.

Definition at line 506 of file Xpetra_TpetraCrsGraph.hpp.

◆ isGloballyIndexed()

bool Xpetra::TpetraCrsGraph< int, int, EpetraNode >::isGloballyIndexed ( ) const
inlinevirtual

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

Implements Xpetra::CrsGraph< int, int, EpetraNode >.

Definition at line 509 of file Xpetra_TpetraCrsGraph.hpp.

◆ isFillComplete()

bool Xpetra::TpetraCrsGraph< int, int, EpetraNode >::isFillComplete ( ) const
inlinevirtual

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

Implements Xpetra::CrsGraph< int, int, EpetraNode >.

Definition at line 512 of file Xpetra_TpetraCrsGraph.hpp.

◆ isStorageOptimized()

bool Xpetra::TpetraCrsGraph< int, int, EpetraNode >::isStorageOptimized ( ) const
inlinevirtual

Returns true if storage has been optimized.

Implements Xpetra::CrsGraph< int, int, EpetraNode >.

Definition at line 515 of file Xpetra_TpetraCrsGraph.hpp.

◆ getGlobalRowView()

void Xpetra::TpetraCrsGraph< int, int, EpetraNode >::getGlobalRowView ( GlobalOrdinal  GlobalRow,
ArrayView< const GlobalOrdinal > &  Indices 
) const
inlinevirtual

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

Implements Xpetra::CrsGraph< int, int, EpetraNode >.

Definition at line 518 of file Xpetra_TpetraCrsGraph.hpp.

◆ getLocalRowView()

void Xpetra::TpetraCrsGraph< int, int, EpetraNode >::getLocalRowView ( LocalOrdinal  LocalRow,
ArrayView< const LocalOrdinal > &  indices 
) const
inlinevirtual

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

Implements Xpetra::CrsGraph< int, int, EpetraNode >.

Definition at line 521 of file Xpetra_TpetraCrsGraph.hpp.

◆ computeGlobalConstants()

void Xpetra::TpetraCrsGraph< int, int, EpetraNode >::computeGlobalConstants ( )
inlinevirtual

Dummy implementation for computeGlobalConstants.

Implements Xpetra::CrsGraph< int, int, EpetraNode >.

Definition at line 524 of file Xpetra_TpetraCrsGraph.hpp.

◆ description()

std::string Xpetra::TpetraCrsGraph< int, int, EpetraNode >::description ( ) const
inlinevirtual

Return a simple one-line description of this object.

Implements Xpetra::CrsGraph< int, int, EpetraNode >.

Definition at line 532 of file Xpetra_TpetraCrsGraph.hpp.

◆ describe()

void Xpetra::TpetraCrsGraph< int, int, EpetraNode >::describe ( Teuchos::FancyOStream out,
const Teuchos::EVerbosityLevel  verbLevel = Teuchos::Describable::verbLevel_default 
) const
inlinevirtual

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

Implements Xpetra::CrsGraph< int, int, EpetraNode >.

Definition at line 535 of file Xpetra_TpetraCrsGraph.hpp.

◆ getNodeRowPtrs()

ArrayRCP< const size_t > Xpetra::TpetraCrsGraph< int, int, EpetraNode >::getNodeRowPtrs ( ) const
inline

Get an ArrayRCP of the row-offsets.

Definition at line 543 of file Xpetra_TpetraCrsGraph.hpp.

◆ getMap()

Teuchos::RCP< const Map< LocalOrdinal, GlobalOrdinal, Node > > Xpetra::TpetraCrsGraph< int, int, EpetraNode >::getMap ( ) const
inlinevirtual

Implements DistObject interface.

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

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

Definition at line 551 of file Xpetra_TpetraCrsGraph.hpp.

◆ doImport() [1/2]

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

Import.

Definition at line 554 of file Xpetra_TpetraCrsGraph.hpp.

◆ doExport() [1/2]

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

Export.

Definition at line 558 of file Xpetra_TpetraCrsGraph.hpp.

◆ doImport() [2/2]

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

Import (using an Exporter).

Definition at line 562 of file Xpetra_TpetraCrsGraph.hpp.

◆ doExport() [2/2]

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

Export (using an Importer).

Definition at line 566 of file Xpetra_TpetraCrsGraph.hpp.

◆ getTpetra_CrsGraph()

RCP< const Tpetra::CrsGraph<LocalOrdinal, GlobalOrdinal, Node> > Xpetra::TpetraCrsGraph< int, int, EpetraNode >::getTpetra_CrsGraph ( ) const
inline

Get the underlying Tpetra graph.

Definition at line 580 of file Xpetra_TpetraCrsGraph.hpp.


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