Public Member Functions | Private Types | Private Attributes | List of all members
Xpetra::EpetraCrsGraphT< long long, EpetraNode > Class Template Reference

#include <Xpetra_EpetraCrsGraph.hpp>

Inheritance diagram for Xpetra::EpetraCrsGraphT< long long, EpetraNode >:
Xpetra::CrsGraph< int, long long, EpetraNode > Xpetra::DistObject< Packet, LocalOrdinal, GlobalOrdinal, Node >

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, long long, 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...
 

Private Types

typedef int LocalOrdinal
 
typedef long long GlobalOrdinal
 
typedef EpetraNode Node
 
typedef Map< LocalOrdinal, GlobalOrdinal, Nodemap_type
 The specialization of Map used by this class. More...
 

Private Attributes

RCP< Epetra_CrsGraph > graph_
 

Constructor/Destructor Methods

 EpetraCrsGraphT (const RCP< const map_type > &rowMap, size_t maxNumEntriesPerRow, ProfileType pftype=DynamicProfile, const RCP< Teuchos::ParameterList > &plist=Teuchos::null)
 Constructor specifying fixed number of entries for each row. More...
 
 EpetraCrsGraphT (const RCP< const Map< LocalOrdinal, GlobalOrdinal, Node > > &rowMap, const RCP< const Map< LocalOrdinal, GlobalOrdinal, Node > > &colMap, size_t maxNumEntriesPerRow, ProfileType pftype=DynamicProfile, const Teuchos::RCP< Teuchos::ParameterList > &plist=null)
 Constructor specifying column Map and fixed number of entries for each row. More...
 
virtual ~EpetraCrsGraphT ()
 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...
 

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

Xpetra specific

 EpetraCrsGraphT (const Teuchos::RCP< Epetra_CrsGraph > &graph)
 EpetraCrsGraphT constructor to wrap a Epetra_CrsGraph object. More...
 
RCP< const Epetra_CrsGraph > getEpetra_CrsGraph () const
 Get the underlying Epetra graph. More...
 

Additional Inherited Members

- Public Types inherited from Xpetra::CrsGraph< int, long long, EpetraNode >
typedef int local_ordinal_type
 
typedef long long global_ordinal_type
 
typedef EpetraNode node_type
 

Detailed Description

template<>
class Xpetra::EpetraCrsGraphT< long long, EpetraNode >

Definition at line 593 of file Xpetra_EpetraCrsGraph.hpp.

Member Typedef Documentation

◆ LocalOrdinal

typedef int Xpetra::EpetraCrsGraphT< long long, EpetraNode >::LocalOrdinal
private

Definition at line 596 of file Xpetra_EpetraCrsGraph.hpp.

◆ GlobalOrdinal

typedef long long Xpetra::EpetraCrsGraphT< long long, EpetraNode >::GlobalOrdinal
private

Definition at line 597 of file Xpetra_EpetraCrsGraph.hpp.

◆ Node

typedef EpetraNode Xpetra::EpetraCrsGraphT< long long, EpetraNode >::Node
private

Definition at line 598 of file Xpetra_EpetraCrsGraph.hpp.

◆ map_type

The specialization of Map used by this class.

Definition at line 601 of file Xpetra_EpetraCrsGraph.hpp.

Constructor & Destructor Documentation

◆ EpetraCrsGraphT() [1/3]

Xpetra::EpetraCrsGraphT< long long, EpetraNode >::EpetraCrsGraphT ( const RCP< const map_type > &  rowMap,
size_t  maxNumEntriesPerRow,
ProfileType  pftype = DynamicProfile,
const RCP< Teuchos::ParameterList > &  plist = Teuchos::null 
)
inline

Constructor specifying fixed number of entries for each row.

Definition at line 608 of file Xpetra_EpetraCrsGraph.hpp.

◆ EpetraCrsGraphT() [2/3]

Xpetra::EpetraCrsGraphT< long long, EpetraNode >::EpetraCrsGraphT ( const RCP< const Map< LocalOrdinal, GlobalOrdinal, Node > > &  rowMap,
const RCP< const Map< LocalOrdinal, GlobalOrdinal, Node > > &  colMap,
size_t  maxNumEntriesPerRow,
ProfileType  pftype = DynamicProfile,
const Teuchos::RCP< Teuchos::ParameterList > &  plist = null 
)
inline

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

Definition at line 617 of file Xpetra_EpetraCrsGraph.hpp.

◆ ~EpetraCrsGraphT()

virtual Xpetra::EpetraCrsGraphT< long long, EpetraNode >::~EpetraCrsGraphT ( )
inlinevirtual

Destructor.

Definition at line 625 of file Xpetra_EpetraCrsGraph.hpp.

◆ EpetraCrsGraphT() [3/3]

Xpetra::EpetraCrsGraphT< long long, EpetraNode >::EpetraCrsGraphT ( const Teuchos::RCP< Epetra_CrsGraph > &  graph)
inline

EpetraCrsGraphT constructor to wrap a Epetra_CrsGraph object.

Definition at line 880 of file Xpetra_EpetraCrsGraph.hpp.

Member Function Documentation

◆ insertGlobalIndices()

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

Insert global indices into the graph.

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

Definition at line 633 of file Xpetra_EpetraCrsGraph.hpp.

◆ insertLocalIndices()

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

Insert local indices into the graph.

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

Definition at line 641 of file Xpetra_EpetraCrsGraph.hpp.

◆ removeLocalIndices()

void Xpetra::EpetraCrsGraphT< long long, EpetraNode >::removeLocalIndices ( LocalOrdinal  localRow)
inlinevirtual

Remove all graph indices from the specified local row.

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

Definition at line 649 of file Xpetra_EpetraCrsGraph.hpp.

◆ fillComplete() [1/2]

void Xpetra::EpetraCrsGraphT< long long, 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, long long, EpetraNode >.

Definition at line 657 of file Xpetra_EpetraCrsGraph.hpp.

◆ fillComplete() [2/2]

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

Signal that data entry is complete.

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

Definition at line 667 of file Xpetra_EpetraCrsGraph.hpp.

◆ getComm()

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

Returns the communicator.

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

Definition at line 681 of file Xpetra_EpetraCrsGraph.hpp.

◆ getRowMap()

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

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

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

Definition at line 687 of file Xpetra_EpetraCrsGraph.hpp.

◆ getColMap()

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

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

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

Definition at line 690 of file Xpetra_EpetraCrsGraph.hpp.

◆ getDomainMap()

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

Returns the Map associated with the domain of this graph.

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

Definition at line 693 of file Xpetra_EpetraCrsGraph.hpp.

◆ getRangeMap()

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

Returns the Map associated with the domain of this graph.

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

Definition at line 696 of file Xpetra_EpetraCrsGraph.hpp.

◆ getImporter()

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

Returns the importer associated with this graph.

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

Definition at line 699 of file Xpetra_EpetraCrsGraph.hpp.

◆ getExporter()

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

Returns the exporter associated with this graph.

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

Definition at line 702 of file Xpetra_EpetraCrsGraph.hpp.

◆ getGlobalNumRows()

global_size_t Xpetra::EpetraCrsGraphT< long long, EpetraNode >::getGlobalNumRows ( ) const
inlinevirtual

Returns the number of global rows in the graph.

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

Definition at line 705 of file Xpetra_EpetraCrsGraph.hpp.

◆ getGlobalNumCols()

global_size_t Xpetra::EpetraCrsGraphT< long long, EpetraNode >::getGlobalNumCols ( ) const
inlinevirtual

Returns the number of global columns in the graph.

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

Definition at line 708 of file Xpetra_EpetraCrsGraph.hpp.

◆ getNodeNumRows()

size_t Xpetra::EpetraCrsGraphT< long long, EpetraNode >::getNodeNumRows ( ) const
inlinevirtual

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

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

Definition at line 711 of file Xpetra_EpetraCrsGraph.hpp.

◆ getNodeNumCols()

size_t Xpetra::EpetraCrsGraphT< long long, EpetraNode >::getNodeNumCols ( ) const
inlinevirtual

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

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

Definition at line 714 of file Xpetra_EpetraCrsGraph.hpp.

◆ getIndexBase()

GlobalOrdinal Xpetra::EpetraCrsGraphT< long long, EpetraNode >::getIndexBase ( ) const
inlinevirtual

Returns the index base for global indices for this graph.

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

Definition at line 717 of file Xpetra_EpetraCrsGraph.hpp.

◆ getGlobalNumEntries()

global_size_t Xpetra::EpetraCrsGraphT< long long, EpetraNode >::getGlobalNumEntries ( ) const
inlinevirtual

Returns the global number of entries in the graph.

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

Definition at line 720 of file Xpetra_EpetraCrsGraph.hpp.

◆ getNodeNumEntries()

size_t Xpetra::EpetraCrsGraphT< long long, EpetraNode >::getNodeNumEntries ( ) const
inlinevirtual

Returns the local number of entries in the graph.

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

Definition at line 723 of file Xpetra_EpetraCrsGraph.hpp.

◆ getNumEntriesInGlobalRow()

size_t Xpetra::EpetraCrsGraphT< long long, EpetraNode >::getNumEntriesInGlobalRow ( GlobalOrdinal  globalRow) const
inlinevirtual

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

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

Definition at line 726 of file Xpetra_EpetraCrsGraph.hpp.

◆ getNumEntriesInLocalRow()

size_t Xpetra::EpetraCrsGraphT< long long, EpetraNode >::getNumEntriesInLocalRow ( LocalOrdinal  localRow) const
inlinevirtual

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

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

Definition at line 729 of file Xpetra_EpetraCrsGraph.hpp.

◆ getNumAllocatedEntriesInGlobalRow()

size_t Xpetra::EpetraCrsGraphT< long long, 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, long long, EpetraNode >.

Definition at line 732 of file Xpetra_EpetraCrsGraph.hpp.

◆ getNumAllocatedEntriesInLocalRow()

size_t Xpetra::EpetraCrsGraphT< long long, 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, long long, EpetraNode >.

Definition at line 735 of file Xpetra_EpetraCrsGraph.hpp.

◆ getGlobalNumDiags()

global_size_t Xpetra::EpetraCrsGraphT< long long, EpetraNode >::getGlobalNumDiags ( ) const
inlinevirtual

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

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

Definition at line 738 of file Xpetra_EpetraCrsGraph.hpp.

◆ getNodeNumDiags()

size_t Xpetra::EpetraCrsGraphT< long long, EpetraNode >::getNodeNumDiags ( ) const
inlinevirtual

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

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

Definition at line 741 of file Xpetra_EpetraCrsGraph.hpp.

◆ getGlobalMaxNumRowEntries()

size_t Xpetra::EpetraCrsGraphT< long long, EpetraNode >::getGlobalMaxNumRowEntries ( ) const
inlinevirtual

Maximum number of entries in all rows over all processes.

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

Definition at line 744 of file Xpetra_EpetraCrsGraph.hpp.

◆ getNodeMaxNumRowEntries()

size_t Xpetra::EpetraCrsGraphT< long long, EpetraNode >::getNodeMaxNumRowEntries ( ) const
inlinevirtual

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

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

Definition at line 747 of file Xpetra_EpetraCrsGraph.hpp.

◆ hasColMap()

bool Xpetra::EpetraCrsGraphT< long long, EpetraNode >::hasColMap ( ) const
inlinevirtual

Whether the graph has a column Map.

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

Definition at line 750 of file Xpetra_EpetraCrsGraph.hpp.

◆ isLowerTriangular()

bool Xpetra::EpetraCrsGraphT< long long, EpetraNode >::isLowerTriangular ( ) const
inlinevirtual

Whether the graph is locally lower triangular.

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

Definition at line 753 of file Xpetra_EpetraCrsGraph.hpp.

◆ isUpperTriangular()

bool Xpetra::EpetraCrsGraphT< long long, EpetraNode >::isUpperTriangular ( ) const
inlinevirtual

Whether the graph is locally upper triangular.

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

Definition at line 756 of file Xpetra_EpetraCrsGraph.hpp.

◆ isLocallyIndexed()

bool Xpetra::EpetraCrsGraphT< long long, EpetraNode >::isLocallyIndexed ( ) const
inlinevirtual

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

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

Definition at line 759 of file Xpetra_EpetraCrsGraph.hpp.

◆ isGloballyIndexed()

bool Xpetra::EpetraCrsGraphT< long long, EpetraNode >::isGloballyIndexed ( ) const
inlinevirtual

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

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

Definition at line 762 of file Xpetra_EpetraCrsGraph.hpp.

◆ isFillComplete()

bool Xpetra::EpetraCrsGraphT< long long, EpetraNode >::isFillComplete ( ) const
inlinevirtual

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

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

Definition at line 765 of file Xpetra_EpetraCrsGraph.hpp.

◆ isStorageOptimized()

bool Xpetra::EpetraCrsGraphT< long long, EpetraNode >::isStorageOptimized ( ) const
inlinevirtual

Returns true if storage has been optimized.

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

Definition at line 768 of file Xpetra_EpetraCrsGraph.hpp.

◆ getGlobalRowView()

void Xpetra::EpetraCrsGraphT< long long, 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, long long, EpetraNode >.

Definition at line 771 of file Xpetra_EpetraCrsGraph.hpp.

◆ getLocalRowView()

void Xpetra::EpetraCrsGraphT< long long, 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, long long, EpetraNode >.

Definition at line 784 of file Xpetra_EpetraCrsGraph.hpp.

◆ description()

std::string Xpetra::EpetraCrsGraphT< long long, EpetraNode >::description ( ) const
inlinevirtual

Return a simple one-line description of this object.

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

Definition at line 801 of file Xpetra_EpetraCrsGraph.hpp.

◆ describe()

void Xpetra::EpetraCrsGraphT< long long, 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, long long, EpetraNode >.

Definition at line 804 of file Xpetra_EpetraCrsGraph.hpp.

◆ getMap()

Teuchos::RCP< const Map< LocalOrdinal, GlobalOrdinal, Node > > Xpetra::EpetraCrsGraphT< long long, 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 820 of file Xpetra_EpetraCrsGraph.hpp.

◆ doImport() [1/2]

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

Import.

Definition at line 823 of file Xpetra_EpetraCrsGraph.hpp.

◆ doExport() [1/2]

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

Export.

Definition at line 836 of file Xpetra_EpetraCrsGraph.hpp.

◆ doImport() [2/2]

void Xpetra::EpetraCrsGraphT< long long, 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 849 of file Xpetra_EpetraCrsGraph.hpp.

◆ doExport() [2/2]

void Xpetra::EpetraCrsGraphT< long long, 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 863 of file Xpetra_EpetraCrsGraph.hpp.

◆ getEpetra_CrsGraph()

RCP< const Epetra_CrsGraph> Xpetra::EpetraCrsGraphT< long long, EpetraNode >::getEpetra_CrsGraph ( ) const
inline

Get the underlying Epetra graph.

Definition at line 885 of file Xpetra_EpetraCrsGraph.hpp.

Member Data Documentation

◆ graph_

RCP<Epetra_CrsGraph> Xpetra::EpetraCrsGraphT< long long, EpetraNode >::graph_
private

Definition at line 891 of file Xpetra_EpetraCrsGraph.hpp.


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