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

#include <Xpetra_CrsGraphFactory.hpp>

Static Public Member Functions

static Teuchos::RCP< CrsGraph
< LocalOrdinal, GlobalOrdinal,
Node > > 
Build (const RCP< const Map< LocalOrdinal, GlobalOrdinal, Node > > &rowMap)
 Constructor for empty graph (intended use is an import/export target - can't insert entries directly) More...
 
static Teuchos::RCP< CrsGraph
< LocalOrdinal, GlobalOrdinal,
Node > > 
Build (const Teuchos::RCP< const Map< LocalOrdinal, GlobalOrdinal, Node > > &map, size_t maxNumEntriesPerRow)
 Constructor specifying the number of non-zeros for all rows. More...
 
static Teuchos::RCP< CrsGraph
< LocalOrdinal, GlobalOrdinal,
Node > > 
Build (const Teuchos::RCP< const Map< LocalOrdinal, GlobalOrdinal, Node > > &rowMap, const Teuchos::RCP< const Map< LocalOrdinal, GlobalOrdinal, Node > > &colMap, const ArrayRCP< const size_t > &NumEntriesPerRowToAlloc, const Teuchos::RCP< Teuchos::ParameterList > &plist=Teuchos::null)
 Constructor specifying column Map and number of entries in each row. More...
 

Private Member Functions

 CrsGraphFactory ()
 Private constructor. This is a static class. More...
 

Detailed Description

template<class LocalOrdinal, class GlobalOrdinal, class Node = KokkosClassic::DefaultNode::DefaultNodeType>
class Xpetra::CrsGraphFactory< LocalOrdinal, GlobalOrdinal, Node >

Definition at line 68 of file Xpetra_CrsGraphFactory.hpp.

Constructor & Destructor Documentation

template<class LocalOrdinal , class GlobalOrdinal , class Node = KokkosClassic::DefaultNode::DefaultNodeType>
Xpetra::CrsGraphFactory< LocalOrdinal, GlobalOrdinal, Node >::CrsGraphFactory ( )
inlineprivate

Private constructor. This is a static class.

Definition at line 71 of file Xpetra_CrsGraphFactory.hpp.

Member Function Documentation

template<class LocalOrdinal , class GlobalOrdinal , class Node = KokkosClassic::DefaultNode::DefaultNodeType>
static Teuchos::RCP<CrsGraph<LocalOrdinal, GlobalOrdinal, Node> > Xpetra::CrsGraphFactory< LocalOrdinal, GlobalOrdinal, Node >::Build ( const RCP< const Map< LocalOrdinal, GlobalOrdinal, Node > > &  rowMap)
inlinestatic

Constructor for empty graph (intended use is an import/export target - can't insert entries directly)

Definition at line 76 of file Xpetra_CrsGraphFactory.hpp.

template<class LocalOrdinal , class GlobalOrdinal , class Node = KokkosClassic::DefaultNode::DefaultNodeType>
static Teuchos::RCP<CrsGraph<LocalOrdinal, GlobalOrdinal, Node> > Xpetra::CrsGraphFactory< LocalOrdinal, GlobalOrdinal, Node >::Build ( const Teuchos::RCP< const Map< LocalOrdinal, GlobalOrdinal, Node > > &  map,
size_t  maxNumEntriesPerRow 
)
inlinestatic

Constructor specifying the number of non-zeros for all rows.

Definition at line 90 of file Xpetra_CrsGraphFactory.hpp.

template<class LocalOrdinal , class GlobalOrdinal , class Node = KokkosClassic::DefaultNode::DefaultNodeType>
static Teuchos::RCP<CrsGraph<LocalOrdinal, GlobalOrdinal, Node> > Xpetra::CrsGraphFactory< LocalOrdinal, GlobalOrdinal, Node >::Build ( const Teuchos::RCP< const Map< LocalOrdinal, GlobalOrdinal, Node > > &  rowMap,
const Teuchos::RCP< const Map< LocalOrdinal, GlobalOrdinal, Node > > &  colMap,
const ArrayRCP< const size_t > &  NumEntriesPerRowToAlloc,
const Teuchos::RCP< Teuchos::ParameterList > &  plist = Teuchos::null 
)
inlinestatic

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

Definition at line 105 of file Xpetra_CrsGraphFactory.hpp.


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