Xpetra  Version of the Day
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Pages
Xpetra::EpetraCrsGraphT< GlobalOrdinal, Node > Class Template Reference

#include <Xpetra_EpetraCrsGraph.hpp>

Inheritance diagram for Xpetra::EpetraCrsGraphT< GlobalOrdinal, Node >:
Xpetra::CrsGraph< int, GlobalOrdinal, Node > 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, GlobalOrdinal, Node >
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 Map< LocalOrdinal,
GlobalOrdinal, Node > 
map_type
 The specialization of Map used by this class. More...
 

Constructor/Destructor Methods

 EpetraCrsGraphT (const RCP< const map_type > &rowMap, const RCP< Teuchos::ParameterList > &plist=Teuchos::null)
 Constructor for empty DynamicProfile graph (no space is preallocated). More...
 
 EpetraCrsGraphT (const RCP< const map_type > &rowMap, size_t maxNumEntriesPerRow, 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, const Teuchos::RCP< Teuchos::ParameterList > &plist=null)
 Constructor specifying column Map and 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, const ArrayRCP< const size_t > &NumEntriesPerRowToAlloc, const RCP< ParameterList > &params=null)
 
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...
 
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...
 

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, GlobalOrdinal, Node >
typedef int local_ordinal_type
 
typedef GlobalOrdinal global_ordinal_type
 
typedef Node node_type
 

Detailed Description

template<class GlobalOrdinal, class Node>
class Xpetra::EpetraCrsGraphT< GlobalOrdinal, Node >

Definition at line 75 of file Xpetra_EpetraCrsGraph.hpp.

Member Typedef Documentation

template<class GlobalOrdinal , class Node >
typedef int Xpetra::EpetraCrsGraphT< GlobalOrdinal, Node >::LocalOrdinal
private

Definition at line 78 of file Xpetra_EpetraCrsGraph.hpp.

template<class GlobalOrdinal , class Node >
typedef Map<LocalOrdinal,GlobalOrdinal,Node> Xpetra::EpetraCrsGraphT< GlobalOrdinal, Node >::map_type
private

The specialization of Map used by this class.

Definition at line 81 of file Xpetra_EpetraCrsGraph.hpp.

Constructor & Destructor Documentation

template<class GlobalOrdinal , class Node >
Xpetra::EpetraCrsGraphT< GlobalOrdinal, Node >::EpetraCrsGraphT ( const RCP< const map_type > &  rowMap,
const RCP< Teuchos::ParameterList > &  plist = Teuchos::null 
)
inline

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

Definition at line 96 of file Xpetra_EpetraCrsGraph.hpp.

template<class GlobalOrdinal , class Node >
Xpetra::EpetraCrsGraphT< GlobalOrdinal, Node >::EpetraCrsGraphT ( const RCP< const map_type > &  rowMap,
size_t  maxNumEntriesPerRow,
const RCP< Teuchos::ParameterList > &  plist = Teuchos::null 
)
inline

Constructor specifying fixed number of entries for each row.

Definition at line 102 of file Xpetra_EpetraCrsGraph.hpp.

template<class GlobalOrdinal , class Node >
Xpetra::EpetraCrsGraphT< GlobalOrdinal, Node >::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 > &  plist = null 
)
inline

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

Definition at line 108 of file Xpetra_EpetraCrsGraph.hpp.

template<class GlobalOrdinal , class Node >
Xpetra::EpetraCrsGraphT< GlobalOrdinal, Node >::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 > &  params = null 
)
inline

Definition at line 115 of file Xpetra_EpetraCrsGraph.hpp.

template<class GlobalOrdinal , class Node >
virtual Xpetra::EpetraCrsGraphT< GlobalOrdinal, Node >::~EpetraCrsGraphT ( )
inlinevirtual

Destructor.

Definition at line 155 of file Xpetra_EpetraCrsGraph.hpp.

template<class GlobalOrdinal , class Node >
Xpetra::EpetraCrsGraphT< GlobalOrdinal, Node >::EpetraCrsGraphT ( const Teuchos::RCP< Epetra_CrsGraph > &  graph)
inline

EpetraCrsGraphT constructor to wrap a Epetra_CrsGraph object.

Definition at line 327 of file Xpetra_EpetraCrsGraph.hpp.

Member Function Documentation

template<class GlobalOrdinal , class Node >
void Xpetra::EpetraCrsGraphT< GlobalOrdinal, Node >::insertGlobalIndices ( GlobalOrdinal  globalRow,
const ArrayView< const GlobalOrdinal > &  indices 
)
inlinevirtual

Insert global indices into the graph.

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

Definition at line 163 of file Xpetra_EpetraCrsGraph.hpp.

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

Insert local indices into the graph.

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

Definition at line 166 of file Xpetra_EpetraCrsGraph.hpp.

template<class GlobalOrdinal , class Node >
void Xpetra::EpetraCrsGraphT< GlobalOrdinal, Node >::removeLocalIndices ( LocalOrdinal  localRow)
inlinevirtual

Remove all graph indices from the specified local row.

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

Definition at line 169 of file Xpetra_EpetraCrsGraph.hpp.

template<class GlobalOrdinal , class Node >
void Xpetra::EpetraCrsGraphT< GlobalOrdinal, Node >::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, GlobalOrdinal, Node >.

Definition at line 177 of file Xpetra_EpetraCrsGraph.hpp.

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

Signal that data entry is complete.

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

Definition at line 180 of file Xpetra_EpetraCrsGraph.hpp.

template<class GlobalOrdinal , class Node >
RCP< const Comm< int > > Xpetra::EpetraCrsGraphT< GlobalOrdinal, Node >::getComm ( ) const
inlinevirtual

Returns the communicator.

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

Definition at line 187 of file Xpetra_EpetraCrsGraph.hpp.

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

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

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

Definition at line 192 of file Xpetra_EpetraCrsGraph.hpp.

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

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

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

Definition at line 195 of file Xpetra_EpetraCrsGraph.hpp.

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

Returns the Map associated with the domain of this graph.

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

Definition at line 198 of file Xpetra_EpetraCrsGraph.hpp.

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

Returns the Map associated with the domain of this graph.

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

Definition at line 201 of file Xpetra_EpetraCrsGraph.hpp.

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

Returns the importer associated with this graph.

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

Definition at line 204 of file Xpetra_EpetraCrsGraph.hpp.

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

Returns the exporter associated with this graph.

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

Definition at line 207 of file Xpetra_EpetraCrsGraph.hpp.

template<class GlobalOrdinal , class Node >
global_size_t Xpetra::EpetraCrsGraphT< GlobalOrdinal, Node >::getGlobalNumRows ( ) const
inlinevirtual

Returns the number of global rows in the graph.

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

Definition at line 210 of file Xpetra_EpetraCrsGraph.hpp.

template<class GlobalOrdinal , class Node >
global_size_t Xpetra::EpetraCrsGraphT< GlobalOrdinal, Node >::getGlobalNumCols ( ) const
inlinevirtual

Returns the number of global columns in the graph.

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

Definition at line 213 of file Xpetra_EpetraCrsGraph.hpp.

template<class GlobalOrdinal , class Node >
size_t Xpetra::EpetraCrsGraphT< GlobalOrdinal, Node >::getNodeNumRows ( ) const
inlinevirtual

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

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

Definition at line 216 of file Xpetra_EpetraCrsGraph.hpp.

template<class GlobalOrdinal , class Node >
size_t Xpetra::EpetraCrsGraphT< GlobalOrdinal, Node >::getNodeNumCols ( ) const
inlinevirtual

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

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

Definition at line 219 of file Xpetra_EpetraCrsGraph.hpp.

template<class GlobalOrdinal , class Node >
GlobalOrdinal Xpetra::EpetraCrsGraphT< GlobalOrdinal, Node >::getIndexBase ( ) const
inlinevirtual

Returns the index base for global indices for this graph.

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

Definition at line 222 of file Xpetra_EpetraCrsGraph.hpp.

template<class GlobalOrdinal , class Node >
global_size_t Xpetra::EpetraCrsGraphT< GlobalOrdinal, Node >::getGlobalNumEntries ( ) const
inlinevirtual

Returns the global number of entries in the graph.

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

Definition at line 225 of file Xpetra_EpetraCrsGraph.hpp.

template<class GlobalOrdinal , class Node >
size_t Xpetra::EpetraCrsGraphT< GlobalOrdinal, Node >::getNodeNumEntries ( ) const
inlinevirtual

Returns the local number of entries in the graph.

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

Definition at line 228 of file Xpetra_EpetraCrsGraph.hpp.

template<class GlobalOrdinal , class Node >
size_t Xpetra::EpetraCrsGraphT< GlobalOrdinal, Node >::getNumEntriesInGlobalRow ( GlobalOrdinal  globalRow) const
inlinevirtual

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

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

Definition at line 231 of file Xpetra_EpetraCrsGraph.hpp.

template<class GlobalOrdinal , class Node >
size_t Xpetra::EpetraCrsGraphT< GlobalOrdinal, Node >::getNumEntriesInLocalRow ( LocalOrdinal  localRow) const
inlinevirtual

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

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

Definition at line 234 of file Xpetra_EpetraCrsGraph.hpp.

template<class GlobalOrdinal , class Node >
size_t Xpetra::EpetraCrsGraphT< GlobalOrdinal, Node >::getNumAllocatedEntriesInGlobalRow ( GlobalOrdinal  globalRow) const
inlinevirtual

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

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

Definition at line 237 of file Xpetra_EpetraCrsGraph.hpp.

template<class GlobalOrdinal , class Node >
size_t Xpetra::EpetraCrsGraphT< GlobalOrdinal, Node >::getNumAllocatedEntriesInLocalRow ( LocalOrdinal  localRow) const
inlinevirtual

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

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

Definition at line 240 of file Xpetra_EpetraCrsGraph.hpp.

template<class GlobalOrdinal , class Node >
size_t Xpetra::EpetraCrsGraphT< GlobalOrdinal, Node >::getGlobalMaxNumRowEntries ( ) const
inlinevirtual

Maximum number of entries in all rows over all processes.

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

Definition at line 243 of file Xpetra_EpetraCrsGraph.hpp.

template<class GlobalOrdinal , class Node >
size_t Xpetra::EpetraCrsGraphT< GlobalOrdinal, Node >::getNodeMaxNumRowEntries ( ) const
inlinevirtual

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

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

Definition at line 246 of file Xpetra_EpetraCrsGraph.hpp.

template<class GlobalOrdinal , class Node >
bool Xpetra::EpetraCrsGraphT< GlobalOrdinal, Node >::hasColMap ( ) const
inlinevirtual

Whether the graph has a column Map.

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

Definition at line 249 of file Xpetra_EpetraCrsGraph.hpp.

template<class GlobalOrdinal , class Node >
bool Xpetra::EpetraCrsGraphT< GlobalOrdinal, Node >::isLocallyIndexed ( ) const
inlinevirtual

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

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

Definition at line 252 of file Xpetra_EpetraCrsGraph.hpp.

template<class GlobalOrdinal , class Node >
bool Xpetra::EpetraCrsGraphT< GlobalOrdinal, Node >::isGloballyIndexed ( ) const
inlinevirtual

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

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

Definition at line 255 of file Xpetra_EpetraCrsGraph.hpp.

template<class GlobalOrdinal , class Node >
bool Xpetra::EpetraCrsGraphT< GlobalOrdinal, Node >::isFillComplete ( ) const
inlinevirtual

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

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

Definition at line 258 of file Xpetra_EpetraCrsGraph.hpp.

template<class GlobalOrdinal , class Node >
bool Xpetra::EpetraCrsGraphT< GlobalOrdinal, Node >::isStorageOptimized ( ) const
inlinevirtual

Returns true if storage has been optimized.

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

Definition at line 261 of file Xpetra_EpetraCrsGraph.hpp.

template<class GlobalOrdinal , class Node >
void Xpetra::EpetraCrsGraphT< GlobalOrdinal, Node >::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, GlobalOrdinal, Node >.

Definition at line 264 of file Xpetra_EpetraCrsGraph.hpp.

template<class GlobalOrdinal , class Node >
void Xpetra::EpetraCrsGraphT< GlobalOrdinal, Node >::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, GlobalOrdinal, Node >.

Definition at line 267 of file Xpetra_EpetraCrsGraph.hpp.

template<class GlobalOrdinal , class Node >
void Xpetra::EpetraCrsGraphT< GlobalOrdinal, Node >::computeGlobalConstants ( )
inlinevirtual

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

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

Definition at line 285 of file Xpetra_EpetraCrsGraph.hpp.

template<class GlobalOrdinal , class Node >
std::string Xpetra::EpetraCrsGraphT< GlobalOrdinal, Node >::description ( ) const
inlinevirtual

Return a simple one-line description of this object.

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

Definition at line 293 of file Xpetra_EpetraCrsGraph.hpp.

template<class GlobalOrdinal , class Node >
void Xpetra::EpetraCrsGraphT< GlobalOrdinal, Node >::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, GlobalOrdinal, Node >.

Definition at line 296 of file Xpetra_EpetraCrsGraph.hpp.

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

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

Import.

Definition at line 307 of file Xpetra_EpetraCrsGraph.hpp.

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

Export.

Definition at line 311 of file Xpetra_EpetraCrsGraph.hpp.

template<class GlobalOrdinal , class Node >
void Xpetra::EpetraCrsGraphT< 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 315 of file Xpetra_EpetraCrsGraph.hpp.

template<class GlobalOrdinal , class Node >
void Xpetra::EpetraCrsGraphT< 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 319 of file Xpetra_EpetraCrsGraph.hpp.

template<class GlobalOrdinal , class Node >
RCP< const Epetra_CrsGraph> Xpetra::EpetraCrsGraphT< GlobalOrdinal, Node >::getEpetra_CrsGraph ( ) const
inline

Get the underlying Epetra graph.

Definition at line 333 of file Xpetra_EpetraCrsGraph.hpp.


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