Xpetra Version of the Day
Loading...
Searching...
No Matches
Xpetra::EpetraCrsGraphT< long long, EpetraNode > Class Reference

#include <Xpetra_EpetraCrsGraph.hpp>

Inheritance diagram for Xpetra::EpetraCrsGraphT< long long, EpetraNode >:
Xpetra::CrsGraph< int, long long, EpetraNode > Xpetra::CrsGraph< int, long long, EpetraNode > Xpetra::DistObject< long long, int, long long, EpetraNode > Xpetra::DistObject< long long, int, long long, EpetraNode > Teuchos::Describable Teuchos::Describable Teuchos::LabeledObject Teuchos::LabeledObject

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.
typedef Xpetra::CrsGraph< LocalOrdinal, GlobalOrdinal, Node >::local_graph_type local_graph_type
typedef Xpetra::CrsGraph< LocalOrdinal, GlobalOrdinal, Node >::node_type node_type
typedef node_type::execution_space execution_space

Xpetra specific

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

Constructor/Destructor Methods

 EpetraCrsGraphT (const Teuchos::RCP< const Map< LocalOrdinal, GlobalOrdinal, Node > > &rowMap)
 Constructor for empty DynamicProfile graph (no space is preallocated).
 EpetraCrsGraphT (const RCP< const map_type > &rowMap, size_t maxNumEntriesPerRow, const RCP< Teuchos::ParameterList > &=Teuchos::null)
 Constructor specifying fixed number of entries for each row.
 EpetraCrsGraphT (const RCP< const Map< LocalOrdinal, GlobalOrdinal, Node > > &rowMap, const RCP< const Map< LocalOrdinal, GlobalOrdinal, Node > > &colMap, size_t maxNumEntriesPerRow, const Teuchos::RCP< Teuchos::ParameterList > &=null)
 Constructor specifying column Map and fixed number of entries for each row.
 EpetraCrsGraphT (const RCP< const Map< LocalOrdinal, GlobalOrdinal, Node > > &rowMap, const RCP< const Map< LocalOrdinal, GlobalOrdinal, Node > > &colMap, const ArrayRCP< const size_t > &NumEntriesPerRowToAlloc, const RCP< ParameterList > &=null)
 EpetraCrsGraphT (const RCP< const Map< LocalOrdinal, GlobalOrdinal, Node > > &, const RCP< const Map< LocalOrdinal, GlobalOrdinal, Node > > &, const typename local_graph_type::row_map_type &, const typename local_graph_type::entries_type::non_const_type &, const RCP< Teuchos::ParameterList > &=Teuchos::null)
 Constructor specifying column Map, number of entries in each row and column indices in each row.
 EpetraCrsGraphT (const RCP< const Map< LocalOrdinal, GlobalOrdinal, Node > > &, const RCP< const Map< LocalOrdinal, GlobalOrdinal, Node > > &, const local_graph_type &, const RCP< Teuchos::ParameterList > &=Teuchos::null)
 Constructor specifying column Map, number of entries in each row and column indices in each row.
 EpetraCrsGraphT (const local_graph_type &, const RCP< const Map< LocalOrdinal, GlobalOrdinal, Node > > &, const RCP< const Map< LocalOrdinal, GlobalOrdinal, Node > > &, const Teuchos::RCP< const map_type > &=Teuchos::null, const Teuchos::RCP< const map_type > &=Teuchos::null, const RCP< Teuchos::ParameterList > &=Teuchos::null)
 Constructor specifying column Map, number of entries in each row and column indices in each row.
virtual ~EpetraCrsGraphT ()
 Destructor.

Insertion/Removal Methods

void insertGlobalIndices (GlobalOrdinal globalRow, const ArrayView< const GlobalOrdinal > &indices)
 Insert global indices into the graph.
void insertLocalIndices (const LocalOrdinal localRow, const ArrayView< const LocalOrdinal > &indices)
 Insert local indices into the graph.
void removeLocalIndices (LocalOrdinal localRow)
 Remove all graph indices from the specified local row.
void allocateAllIndices (size_t numNonZeros, ArrayRCP< size_t > &rowptr, ArrayRCP< LocalOrdinal > &colind)
 Allocates and returns ArrayRCPs of the Crs arrays — This is an Xpetra-only routine.
void setAllIndices (const ArrayRCP< size_t > &rowptr, const ArrayRCP< LocalOrdinal > &colind)
 Sets the 1D pointer arrays of the graph.
void getAllIndices (ArrayRCP< const size_t > &rowptr, ArrayRCP< const LocalOrdinal > &colind) const
 Gets the 1D pointer arrays of the graph.

Transformational Methods

void fillComplete (const RCP< const Map< 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.
void fillComplete (const RCP< ParameterList > &params=null)
 Signal that data entry is complete.
void expertStaticFillComplete (const Teuchos::RCP< const Map< LocalOrdinal, GlobalOrdinal, Node > > &domainMap, const Teuchos::RCP< const Map< LocalOrdinal, GlobalOrdinal, Node > > &rangeMap, const Teuchos::RCP< const Import< LocalOrdinal, GlobalOrdinal, Node > > &importer=Teuchos::null, const Teuchos::RCP< const Export< LocalOrdinal, GlobalOrdinal, Node > > &exporter=Teuchos::null, const Teuchos::RCP< Teuchos::ParameterList > &params=Teuchos::null)
 Expert version of fillComplete.

Methods implementing RowGraph.

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

Overridden from Teuchos::Describable

std::string description () const
 Return a simple one-line description of this object.
void describe (Teuchos::FancyOStream &out, const Teuchos::EVerbosityLevel=Teuchos::Describable::verbLevel_default) const
 Print the object with some verbosity level to an FancyOStream object.
Teuchos::RCP< const Map< LocalOrdinal, GlobalOrdinal, Node > > getMap () const
 Implements DistObject interface.
void doImport (const DistObject< GlobalOrdinal, LocalOrdinal, GlobalOrdinal, Node > &source, const Import< LocalOrdinal, GlobalOrdinal, Node > &importer, CombineMode CM)
 Import.
void doExport (const DistObject< GlobalOrdinal, LocalOrdinal, GlobalOrdinal, Node > &dest, const Import< LocalOrdinal, GlobalOrdinal, Node > &importer, CombineMode CM)
 Export.
void doImport (const DistObject< GlobalOrdinal, LocalOrdinal, GlobalOrdinal, Node > &source, const Export< LocalOrdinal, GlobalOrdinal, Node > &exporter, CombineMode CM)
 Import (using an Exporter).
void doExport (const DistObject< GlobalOrdinal, LocalOrdinal, GlobalOrdinal, Node > &dest, const Export< LocalOrdinal, GlobalOrdinal, Node > &exporter, CombineMode CM)
 Export (using an Importer).

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

Detailed Description

Definition at line 942 of file Xpetra_EpetraCrsGraph.hpp.

Member Typedef Documentation

◆ LocalOrdinal

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

Definition at line 944 of file Xpetra_EpetraCrsGraph.hpp.

◆ GlobalOrdinal

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

Definition at line 945 of file Xpetra_EpetraCrsGraph.hpp.

◆ Node

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

Definition at line 946 of file Xpetra_EpetraCrsGraph.hpp.

◆ map_type

typedef Map<LocalOrdinal, GlobalOrdinal, Node> Xpetra::EpetraCrsGraphT< long long, EpetraNode >::map_type
private

The specialization of Map used by this class.

Definition at line 949 of file Xpetra_EpetraCrsGraph.hpp.

◆ local_graph_type

typedef Xpetra::CrsGraph<LocalOrdinal,GlobalOrdinal,Node>::local_graph_type Xpetra::EpetraCrsGraphT< long long, EpetraNode >::local_graph_type
private

Definition at line 952 of file Xpetra_EpetraCrsGraph.hpp.

◆ node_type

typedef Xpetra::CrsGraph<LocalOrdinal,GlobalOrdinal,Node>::node_type Xpetra::EpetraCrsGraphT< long long, EpetraNode >::node_type
private

Definition at line 953 of file Xpetra_EpetraCrsGraph.hpp.

◆ execution_space

typedef node_type::execution_space Xpetra::EpetraCrsGraphT< long long, EpetraNode >::execution_space
private

Definition at line 954 of file Xpetra_EpetraCrsGraph.hpp.

Constructor & Destructor Documentation

◆ EpetraCrsGraphT() [1/8]

Xpetra::EpetraCrsGraphT< long long, EpetraNode >::EpetraCrsGraphT ( const Teuchos::RCP< const Map< LocalOrdinal, GlobalOrdinal, Node > > & rowMap)
inline

Constructor for empty DynamicProfile graph (no space is preallocated).

Definition at line 962 of file Xpetra_EpetraCrsGraph.hpp.

◆ EpetraCrsGraphT() [2/8]

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

Constructor specifying fixed number of entries for each row.

Definition at line 966 of file Xpetra_EpetraCrsGraph.hpp.

◆ EpetraCrsGraphT() [3/8]

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,
const Teuchos::RCP< Teuchos::ParameterList > & = null )
inline

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

Definition at line 974 of file Xpetra_EpetraCrsGraph.hpp.

◆ EpetraCrsGraphT() [4/8]

Xpetra::EpetraCrsGraphT< long long, EpetraNode >::EpetraCrsGraphT ( const RCP< const Map< LocalOrdinal, GlobalOrdinal, Node > > & rowMap,
const RCP< const Map< LocalOrdinal, GlobalOrdinal, Node > > & colMap,
const ArrayRCP< const size_t > & NumEntriesPerRowToAlloc,
const RCP< ParameterList > & = null )
inline

Definition at line 979 of file Xpetra_EpetraCrsGraph.hpp.

◆ EpetraCrsGraphT() [5/8]

Xpetra::EpetraCrsGraphT< long long, EpetraNode >::EpetraCrsGraphT ( const RCP< const Map< LocalOrdinal, GlobalOrdinal, Node > > & ,
const RCP< const Map< LocalOrdinal, GlobalOrdinal, Node > > & ,
const typename local_graph_type::row_map_type & ,
const typename local_graph_type::entries_type::non_const_type & ,
const RCP< Teuchos::ParameterList > & = Teuchos::null )
inline

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

Definition at line 986 of file Xpetra_EpetraCrsGraph.hpp.

◆ EpetraCrsGraphT() [6/8]

Xpetra::EpetraCrsGraphT< long long, EpetraNode >::EpetraCrsGraphT ( const RCP< const Map< LocalOrdinal, GlobalOrdinal, Node > > & ,
const RCP< const Map< LocalOrdinal, GlobalOrdinal, Node > > & ,
const local_graph_type & ,
const RCP< Teuchos::ParameterList > & = Teuchos::null )
inline

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

Definition at line 996 of file Xpetra_EpetraCrsGraph.hpp.

◆ EpetraCrsGraphT() [7/8]

Xpetra::EpetraCrsGraphT< long long, EpetraNode >::EpetraCrsGraphT ( const local_graph_type & ,
const RCP< const Map< LocalOrdinal, GlobalOrdinal, Node > > & ,
const RCP< const Map< LocalOrdinal, GlobalOrdinal, Node > > & ,
const Teuchos::RCP< const map_type > & = Teuchos::null,
const Teuchos::RCP< const map_type > & = Teuchos::null,
const RCP< Teuchos::ParameterList > & = Teuchos::null )
inline

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

Definition at line 1005 of file Xpetra_EpetraCrsGraph.hpp.

◆ ~EpetraCrsGraphT()

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

Destructor.

Definition at line 1017 of file Xpetra_EpetraCrsGraph.hpp.

◆ EpetraCrsGraphT() [8/8]

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

EpetraCrsGraphT constructor to wrap a Epetra_CrsGraph object.

Definition at line 1488 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 1025 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 1033 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 1041 of file Xpetra_EpetraCrsGraph.hpp.

◆ allocateAllIndices()

void Xpetra::EpetraCrsGraphT< long long, EpetraNode >::allocateAllIndices ( size_t numNonZeros,
ArrayRCP< size_t > & rowptr,
ArrayRCP< LocalOrdinal > & colind )
inlinevirtual

Allocates and returns ArrayRCPs of the Crs arrays — This is an Xpetra-only routine.

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

Definition at line 1048 of file Xpetra_EpetraCrsGraph.hpp.

◆ setAllIndices()

void Xpetra::EpetraCrsGraphT< long long, EpetraNode >::setAllIndices ( const ArrayRCP< size_t > & rowptr,
const ArrayRCP< LocalOrdinal > & colind )
inlinevirtual

Sets the 1D pointer arrays of the graph.

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

Definition at line 1069 of file Xpetra_EpetraCrsGraph.hpp.

◆ getAllIndices()

void Xpetra::EpetraCrsGraphT< long long, EpetraNode >::getAllIndices ( ArrayRCP< const size_t > & rowptr,
ArrayRCP< const LocalOrdinal > & colind ) const
inlinevirtual

Gets the 1D pointer arrays of the graph.

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

Definition at line 1091 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 1117 of file Xpetra_EpetraCrsGraph.hpp.

◆ fillComplete() [2/2]

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

Signal that data entry is complete.

Definition at line 1127 of file Xpetra_EpetraCrsGraph.hpp.

◆ expertStaticFillComplete()

void Xpetra::EpetraCrsGraphT< long long, EpetraNode >::expertStaticFillComplete ( const Teuchos::RCP< const Map< LocalOrdinal, GlobalOrdinal, Node > > & domainMap,
const Teuchos::RCP< const Map< LocalOrdinal, GlobalOrdinal, Node > > & rangeMap,
const Teuchos::RCP< const Import< LocalOrdinal, GlobalOrdinal, Node > > & importer = Teuchos::null,
const Teuchos::RCP< const Export< LocalOrdinal, GlobalOrdinal, Node > > & exporter = Teuchos::null,
const Teuchos::RCP< Teuchos::ParameterList > & params = Teuchos::null )
inlinevirtual

Expert version of fillComplete.

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

Definition at line 1138 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 1157 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 1163 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 1169 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 1175 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 1181 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 1187 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 1193 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 1199 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 1205 of file Xpetra_EpetraCrsGraph.hpp.

◆ getLocalNumRows()

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

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

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

Definition at line 1211 of file Xpetra_EpetraCrsGraph.hpp.

◆ getLocalNumCols()

size_t Xpetra::EpetraCrsGraphT< long long, EpetraNode >::getLocalNumCols ( ) 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 1217 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 1223 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 1229 of file Xpetra_EpetraCrsGraph.hpp.

◆ getLocalNumEntries()

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

Returns the local number of entries in the graph.

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

Definition at line 1235 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 1241 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 1247 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 1253 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 1259 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 1265 of file Xpetra_EpetraCrsGraph.hpp.

◆ getLocalMaxNumRowEntries()

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

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

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

Definition at line 1271 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 1277 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 1283 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 1289 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 1295 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 1301 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 1307 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 1322 of file Xpetra_EpetraCrsGraph.hpp.

◆ getLocalGraphHost()

local_graph_type::HostMirror Xpetra::EpetraCrsGraphT< long long, EpetraNode >::getLocalGraphHost ( ) const
inlinevirtual

Get the local graph.

Warning
THIS IS AN EXPERT MODE FUNCTION. THIS IS AN IMPLEMENTATION DETAIL. DO NOT CALL THIS FUNCTION!!!

This is only a valid representation of the local graph if the (global) graph is fill complete.

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

Definition at line 1337 of file Xpetra_EpetraCrsGraph.hpp.

◆ getLocalGraphDevice()

local_graph_type Xpetra::EpetraCrsGraphT< long long, EpetraNode >::getLocalGraphDevice ( ) const
inlinevirtual

◆ getLocalDiagOffsets()

void Xpetra::EpetraCrsGraphT< long long, EpetraNode >::getLocalDiagOffsets ( const Kokkos::View< size_t *, typename Node::device_type, Kokkos::MemoryUnmanaged > & offsets) const
inline

Definition at line 1385 of file Xpetra_EpetraCrsGraph.hpp.

◆ computeGlobalConstants()

void Xpetra::EpetraCrsGraphT< long long, EpetraNode >::computeGlobalConstants ( )
inlinevirtual

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

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

Definition at line 1396 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 1404 of file Xpetra_EpetraCrsGraph.hpp.

◆ describe()

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

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

Definition at line 1410 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< long long, int, long long, EpetraNode >.

Definition at line 1426 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 )
inlinevirtual

◆ 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 1445 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 1458 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 )
inlinevirtual

Export (using an Importer).

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

Definition at line 1471 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 1494 of file Xpetra_EpetraCrsGraph.hpp.

Member Data Documentation

◆ graph_

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

Definition at line 1499 of file Xpetra_EpetraCrsGraph.hpp.


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