All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
Public Member Functions | Private Types | Private Attributes | List of all members
Xpetra::TpetraCrsGraph< LocalOrdinal, GlobalOrdinal, Node > Class Template Reference

#include <Xpetra_TpetraCrsGraph.hpp>

Inheritance diagram for Xpetra::TpetraCrsGraph< LocalOrdinal, GlobalOrdinal, Node >:
Xpetra::CrsGraph< LocalOrdinal, GlobalOrdinal, Node > Xpetra::DistObject< GlobalOrdinal, 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< LocalOrdinal, GlobalOrdinal, Node >
virtual ~CrsGraph ()
 Destructor. More...
 
- Public Member Functions inherited from Xpetra::DistObject< GlobalOrdinal, LocalOrdinal, GlobalOrdinal, Node >
virtual ~DistObject ()
 Destructor. More...
 
- Public Member Functions inherited from Teuchos::Describable
void describe (std::ostream &out, const EVerbosityLevel verbLevel=verbLevel_default) const
 
virtual ~Describable ()
 
 LabeledObject ()
 
virtual ~LabeledObject ()
 
virtual void setObjectLabel (const std::string &objectLabel)
 
virtual std::string getObjectLabel () const
 
DescribableStreamManipulatorState describe (const Describable &describable, const EVerbosityLevel verbLevel=Describable::verbLevel_default)
 
std::ostream & operator<< (std::ostream &os, const DescribableStreamManipulatorState &d)
 

Private Types

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

Private Attributes

RCP< Tpetra::CrsGraph
< LocalOrdinal, GlobalOrdinal,
Node > > 
graph_
 

Constructor/Destructor Methods

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

Insertion/Removal Methods

void insertGlobalIndices (GlobalOrdinal globalRow, const ArrayView< const GlobalOrdinal > &indices)
 Insert global indices into the graph. More...
 
void insertLocalIndices (const LocalOrdinal localRow, const ArrayView< const LocalOrdinal > &indices)
 Insert local indices into the graph. More...
 
void removeLocalIndices (LocalOrdinal localRow)
 Remove all graph indices from the specified local row. More...
 

Transformational Methods

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

Methods implementing RowGraph.

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

Overridden from Teuchos::Describable

std::string description () const
 Return a simple one-line description of this object. More...
 
void describe (Teuchos::FancyOStream &out, const Teuchos::EVerbosityLevel verbLevel=Teuchos::Describable::verbLevel_default) const
 Print the object with some verbosity level to an FancyOStream object. More...
 

Advanced methods, at increased risk of deprecation.

ArrayRCP< const size_t > getNodeRowPtrs () const
 Get an ArrayRCP of the row-offsets. More...
 

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< LocalOrdinal, GlobalOrdinal, Node >
typedef LocalOrdinal local_ordinal_type
 
typedef GlobalOrdinal global_ordinal_type
 
typedef Node node_type
 
- Static Public Attributes inherited from Teuchos::Describable
static const EVerbosityLevel verbLevel_default
 

Detailed Description

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

Definition at line 76 of file Xpetra_TpetraCrsGraph.hpp.

Member Typedef Documentation

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

Definition at line 81 of file Xpetra_TpetraCrsGraph.hpp.

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

Definition at line 82 of file Xpetra_TpetraCrsGraph.hpp.

Constructor & Destructor Documentation

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

Constructor specifying fixed number of entries for each row.

Definition at line 94 of file Xpetra_TpetraCrsGraph.hpp.

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

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

Definition at line 98 of file Xpetra_TpetraCrsGraph.hpp.

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

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

Definition at line 102 of file Xpetra_TpetraCrsGraph.hpp.

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

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

Definition at line 106 of file Xpetra_TpetraCrsGraph.hpp.

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

Destructor.

Definition at line 194 of file Xpetra_TpetraCrsGraph.hpp.

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

TpetraCrsGraph constructor to wrap a Tpetra::CrsGraph object.

Definition at line 402 of file Xpetra_TpetraCrsGraph.hpp.

Member Function Documentation

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

Insert global indices into the graph.

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

Definition at line 202 of file Xpetra_TpetraCrsGraph.hpp.

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

Insert local indices into the graph.

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

Definition at line 205 of file Xpetra_TpetraCrsGraph.hpp.

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

Remove all graph indices from the specified local row.

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

Definition at line 208 of file Xpetra_TpetraCrsGraph.hpp.

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

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

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

Definition at line 216 of file Xpetra_TpetraCrsGraph.hpp.

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

Signal that data entry is complete.

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

Definition at line 219 of file Xpetra_TpetraCrsGraph.hpp.

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

Returns the communicator.

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

Definition at line 227 of file Xpetra_TpetraCrsGraph.hpp.

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

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

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

Definition at line 230 of file Xpetra_TpetraCrsGraph.hpp.

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

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

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

Definition at line 233 of file Xpetra_TpetraCrsGraph.hpp.

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

Returns the Map associated with the domain of this graph.

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

Definition at line 236 of file Xpetra_TpetraCrsGraph.hpp.

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

Returns the Map associated with the domain of this graph.

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

Definition at line 239 of file Xpetra_TpetraCrsGraph.hpp.

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

Returns the importer associated with this graph.

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

Definition at line 242 of file Xpetra_TpetraCrsGraph.hpp.

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

Returns the exporter associated with this graph.

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

Definition at line 245 of file Xpetra_TpetraCrsGraph.hpp.

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

Returns the number of global rows in the graph.

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

Definition at line 248 of file Xpetra_TpetraCrsGraph.hpp.

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

Returns the number of global columns in the graph.

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

Definition at line 251 of file Xpetra_TpetraCrsGraph.hpp.

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

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

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

Definition at line 254 of file Xpetra_TpetraCrsGraph.hpp.

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

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

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

Definition at line 257 of file Xpetra_TpetraCrsGraph.hpp.

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

Returns the index base for global indices for this graph.

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

Definition at line 260 of file Xpetra_TpetraCrsGraph.hpp.

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

Returns the global number of entries in the graph.

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

Definition at line 263 of file Xpetra_TpetraCrsGraph.hpp.

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

Returns the local number of entries in the graph.

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

Definition at line 266 of file Xpetra_TpetraCrsGraph.hpp.

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

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

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

Definition at line 269 of file Xpetra_TpetraCrsGraph.hpp.

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

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

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

Definition at line 272 of file Xpetra_TpetraCrsGraph.hpp.

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

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

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

Definition at line 275 of file Xpetra_TpetraCrsGraph.hpp.

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

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

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

Definition at line 278 of file Xpetra_TpetraCrsGraph.hpp.

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

Maximum number of entries in all rows over all processes.

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

Definition at line 281 of file Xpetra_TpetraCrsGraph.hpp.

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

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

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

Definition at line 284 of file Xpetra_TpetraCrsGraph.hpp.

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

Whether the graph has a column Map.

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

Definition at line 287 of file Xpetra_TpetraCrsGraph.hpp.

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

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

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

Definition at line 290 of file Xpetra_TpetraCrsGraph.hpp.

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

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

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

Definition at line 293 of file Xpetra_TpetraCrsGraph.hpp.

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

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

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

Definition at line 296 of file Xpetra_TpetraCrsGraph.hpp.

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

Returns true if storage has been optimized.

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

Definition at line 299 of file Xpetra_TpetraCrsGraph.hpp.

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

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

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

Definition at line 302 of file Xpetra_TpetraCrsGraph.hpp.

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

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

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

Definition at line 305 of file Xpetra_TpetraCrsGraph.hpp.

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

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

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

Definition at line 316 of file Xpetra_TpetraCrsGraph.hpp.

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

Return a simple one-line description of this object.

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

Definition at line 328 of file Xpetra_TpetraCrsGraph.hpp.

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

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

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

Definition at line 331 of file Xpetra_TpetraCrsGraph.hpp.

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

Get an ArrayRCP of the row-offsets.

Definition at line 339 of file Xpetra_TpetraCrsGraph.hpp.

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

Implements DistObject interface.

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

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

Definition at line 347 of file Xpetra_TpetraCrsGraph.hpp.

template<class LocalOrdinal = CrsGraph<>::local_ordinal_type, class GlobalOrdinal = typename CrsGraph<LocalOrdinal>::global_ordinal_type, class Node = typename CrsGraph<LocalOrdinal, GlobalOrdinal>::node_type>
void Xpetra::TpetraCrsGraph< LocalOrdinal, GlobalOrdinal, Node >::doImport ( const DistObject< GlobalOrdinal, LocalOrdinal, GlobalOrdinal, Node > &  source,
const Import< LocalOrdinal, GlobalOrdinal, Node > &  importer,
CombineMode  CM 
)
inlinevirtual
template<class LocalOrdinal = CrsGraph<>::local_ordinal_type, class GlobalOrdinal = typename CrsGraph<LocalOrdinal>::global_ordinal_type, class Node = typename CrsGraph<LocalOrdinal, GlobalOrdinal>::node_type>
void Xpetra::TpetraCrsGraph< LocalOrdinal, GlobalOrdinal, Node >::doExport ( const DistObject< GlobalOrdinal, LocalOrdinal, GlobalOrdinal, Node > &  dest,
const Import< LocalOrdinal, GlobalOrdinal, Node > &  importer,
CombineMode  CM 
)
inlinevirtual
template<class LocalOrdinal = CrsGraph<>::local_ordinal_type, class GlobalOrdinal = typename CrsGraph<LocalOrdinal>::global_ordinal_type, class Node = typename CrsGraph<LocalOrdinal, GlobalOrdinal>::node_type>
void Xpetra::TpetraCrsGraph< LocalOrdinal, GlobalOrdinal, Node >::doImport ( const DistObject< GlobalOrdinal, LocalOrdinal, GlobalOrdinal, Node > &  source,
const Export< LocalOrdinal, GlobalOrdinal, Node > &  exporter,
CombineMode  CM 
)
inlinevirtual
template<class LocalOrdinal = CrsGraph<>::local_ordinal_type, class GlobalOrdinal = typename CrsGraph<LocalOrdinal>::global_ordinal_type, class Node = typename CrsGraph<LocalOrdinal, GlobalOrdinal>::node_type>
void Xpetra::TpetraCrsGraph< LocalOrdinal, GlobalOrdinal, Node >::doExport ( const DistObject< GlobalOrdinal, LocalOrdinal, GlobalOrdinal, Node > &  dest,
const Export< LocalOrdinal, GlobalOrdinal, Node > &  exporter,
CombineMode  CM 
)
inlinevirtual
template<class LocalOrdinal = CrsGraph<>::local_ordinal_type, class GlobalOrdinal = typename CrsGraph<LocalOrdinal>::global_ordinal_type, class Node = typename CrsGraph<LocalOrdinal, GlobalOrdinal>::node_type>
RCP< const Tpetra::CrsGraph<LocalOrdinal, GlobalOrdinal, Node> > Xpetra::TpetraCrsGraph< LocalOrdinal, GlobalOrdinal, Node >::getTpetra_CrsGraph ( ) const
inline

Get the underlying Tpetra graph.

Definition at line 405 of file Xpetra_TpetraCrsGraph.hpp.

Member Data Documentation

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

Definition at line 410 of file Xpetra_TpetraCrsGraph.hpp.


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