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

#include <Xpetra_CrsMatrixFactory.hpp>

Static Public Member Functions

static RCP< CrsMatrix< Scalar,
LocalOrdinal, GlobalOrdinal,
Node > > 
Build (const RCP< const Map< LocalOrdinal, GlobalOrdinal, Node > > &rowMap, size_t maxNumEntriesPerRow, Xpetra::ProfileType pftype=Xpetra::DynamicProfile, const Teuchos::RCP< Teuchos::ParameterList > &plist=Teuchos::null)
 Constructor specifying fixed number of entries for each row. More...
 
static RCP< CrsMatrix< Scalar,
LocalOrdinal, GlobalOrdinal,
Node > > 
Build (const Teuchos::RCP< const Map< LocalOrdinal, GlobalOrdinal, Node > > &rowMap, const ArrayRCP< const size_t > &NumEntriesPerRowToAlloc, ProfileType pftype=Xpetra::DynamicProfile, const Teuchos::RCP< Teuchos::ParameterList > &plist=Teuchos::null)
 Constructor specifying (possibly different) number of entries in each row. More...
 
static RCP< CrsMatrix< Scalar,
LocalOrdinal, GlobalOrdinal,
Node > > 
Build (const Teuchos::RCP< const Map< LocalOrdinal, GlobalOrdinal, Node > > &rowMap, const Teuchos::RCP< const Map< LocalOrdinal, GlobalOrdinal, Node > > &colMap, size_t maxNumEntriesPerRow, ProfileType pftype=DynamicProfile, const Teuchos::RCP< Teuchos::ParameterList > &plist=Teuchos::null)
 Constructor specifying column Map and fixed number of entries for each row. More...
 
static RCP< CrsMatrix< Scalar,
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, ProfileType pftype=DynamicProfile, const Teuchos::RCP< Teuchos::ParameterList > &plist=Teuchos::null)
 Constructor specifying column Map and number of entries in each row. More...
 
static RCP< CrsMatrix< Scalar,
LocalOrdinal, GlobalOrdinal,
Node > > 
Build (const Teuchos::RCP< const CrsGraph< LocalOrdinal, GlobalOrdinal, Node > > &graph, const Teuchos::RCP< Teuchos::ParameterList > &plist=Teuchos::null)
 Constructor specifying a previously constructed graph. More...
 
static RCP< CrsMatrix< Scalar,
LocalOrdinal, GlobalOrdinal,
Node > > 
Build (const Teuchos::RCP< const CrsMatrix< Scalar, LocalOrdinal, GlobalOrdinal, Node > > &sourceMatrix, const Import< LocalOrdinal, GlobalOrdinal, Node > &importer, const RCP< const Map< LocalOrdinal, GlobalOrdinal, Node > > &domainMap=Teuchos::null, const RCP< const Map< LocalOrdinal, GlobalOrdinal, Node > > &rangeMap=Teuchos::null, const Teuchos::RCP< Teuchos::ParameterList > &params=Teuchos::null)
 
static RCP< CrsMatrix< Scalar,
LocalOrdinal, GlobalOrdinal,
Node > > 
Build (const Teuchos::RCP< const CrsMatrix< Scalar, LocalOrdinal, GlobalOrdinal, Node > > &sourceMatrix, const Export< LocalOrdinal, GlobalOrdinal, Node > &exporter, const RCP< Map< LocalOrdinal, GlobalOrdinal, Scalar > > &domainMap=Teuchos::null, const RCP< Map< LocalOrdinal, GlobalOrdinal, Scalar > > &rangeMap=Teuchos::null, const Teuchos::RCP< Teuchos::ParameterList > &params=Teuchos::null)
 
static RCP< CrsMatrix< Scalar,
LocalOrdinal, GlobalOrdinal,
Node > > 
Build (const Teuchos::RCP< const CrsMatrix< Scalar, LocalOrdinal, GlobalOrdinal, Node > > &sourceMatrix, const Import< LocalOrdinal, GlobalOrdinal, Node > &RowImporter, const RCP< const Import< LocalOrdinal, GlobalOrdinal, Node > > DomainImporter, const RCP< const Map< LocalOrdinal, GlobalOrdinal, Node > > &domainMap, const RCP< const Map< LocalOrdinal, GlobalOrdinal, Node > > &rangeMap, const Teuchos::RCP< Teuchos::ParameterList > &params)
 
static RCP< CrsMatrix< Scalar,
LocalOrdinal, GlobalOrdinal,
Node > > 
Build (const Teuchos::RCP< const CrsMatrix< Scalar, LocalOrdinal, GlobalOrdinal, Node > > &sourceMatrix, const Export< LocalOrdinal, GlobalOrdinal, Node > &RowExporter, const RCP< const Export< LocalOrdinal, GlobalOrdinal, Node > > DomainExporter, const RCP< Map< LocalOrdinal, GlobalOrdinal, Scalar > > &domainMap, const RCP< Map< LocalOrdinal, GlobalOrdinal, Scalar > > &rangeMap, const Teuchos::RCP< Teuchos::ParameterList > &params)
 

Private Member Functions

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

Detailed Description

template<class Scalar, class LocalOrdinal, class GlobalOrdinal, class Node>
class Xpetra::CrsMatrixFactory< Scalar, LocalOrdinal, GlobalOrdinal, Node >

Definition at line 72 of file Xpetra_CrsMatrixFactory.hpp.

Constructor & Destructor Documentation

template<class Scalar , class LocalOrdinal , class GlobalOrdinal , class Node >
Xpetra::CrsMatrixFactory< Scalar, LocalOrdinal, GlobalOrdinal, Node >::CrsMatrixFactory ( )
inlineprivate

Private constructor. This is a static class.

Definition at line 75 of file Xpetra_CrsMatrixFactory.hpp.

Member Function Documentation

template<class Scalar , class LocalOrdinal , class GlobalOrdinal , class Node >
static RCP<CrsMatrix<Scalar, LocalOrdinal, GlobalOrdinal, Node> > Xpetra::CrsMatrixFactory< Scalar, LocalOrdinal, GlobalOrdinal, Node >::Build ( const RCP< const Map< LocalOrdinal, GlobalOrdinal, Node > > &  rowMap,
size_t  maxNumEntriesPerRow,
Xpetra::ProfileType  pftype = Xpetra::DynamicProfile,
const Teuchos::RCP< Teuchos::ParameterList > &  plist = Teuchos::null 
)
inlinestatic

Constructor specifying fixed number of entries for each row.

Definition at line 80 of file Xpetra_CrsMatrixFactory.hpp.

template<class Scalar , class LocalOrdinal , class GlobalOrdinal , class Node >
static RCP<CrsMatrix<Scalar, LocalOrdinal, GlobalOrdinal, Node> > Xpetra::CrsMatrixFactory< Scalar, LocalOrdinal, GlobalOrdinal, Node >::Build ( const Teuchos::RCP< const Map< LocalOrdinal, GlobalOrdinal, Node > > &  rowMap,
const ArrayRCP< const size_t > &  NumEntriesPerRowToAlloc,
ProfileType  pftype = Xpetra::DynamicProfile,
const Teuchos::RCP< Teuchos::ParameterList > &  plist = Teuchos::null 
)
inlinestatic

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

Definition at line 98 of file Xpetra_CrsMatrixFactory.hpp.

template<class Scalar , class LocalOrdinal , class GlobalOrdinal , class Node >
static RCP<CrsMatrix<Scalar, LocalOrdinal, GlobalOrdinal, Node> > Xpetra::CrsMatrixFactory< Scalar, LocalOrdinal, GlobalOrdinal, Node >::Build ( const Teuchos::RCP< const Map< LocalOrdinal, GlobalOrdinal, Node > > &  rowMap,
const Teuchos::RCP< const Map< LocalOrdinal, GlobalOrdinal, Node > > &  colMap,
size_t  maxNumEntriesPerRow,
ProfileType  pftype = DynamicProfile,
const Teuchos::RCP< Teuchos::ParameterList > &  plist = Teuchos::null 
)
inlinestatic

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

Definition at line 114 of file Xpetra_CrsMatrixFactory.hpp.

template<class Scalar , class LocalOrdinal , class GlobalOrdinal , class Node >
static RCP<CrsMatrix<Scalar, LocalOrdinal, GlobalOrdinal, Node> > Xpetra::CrsMatrixFactory< Scalar, 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,
ProfileType  pftype = DynamicProfile,
const Teuchos::RCP< Teuchos::ParameterList > &  plist = Teuchos::null 
)
inlinestatic

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

Definition at line 132 of file Xpetra_CrsMatrixFactory.hpp.

template<class Scalar , class LocalOrdinal , class GlobalOrdinal , class Node >
static RCP<CrsMatrix<Scalar, LocalOrdinal, GlobalOrdinal, Node> > Xpetra::CrsMatrixFactory< Scalar, LocalOrdinal, GlobalOrdinal, Node >::Build ( const Teuchos::RCP< const CrsGraph< LocalOrdinal, GlobalOrdinal, Node > > &  graph,
const Teuchos::RCP< Teuchos::ParameterList > &  plist = Teuchos::null 
)
inlinestatic

Constructor specifying a previously constructed graph.

Definition at line 145 of file Xpetra_CrsMatrixFactory.hpp.

template<class Scalar , class LocalOrdinal , class GlobalOrdinal , class Node >
static RCP<CrsMatrix<Scalar, LocalOrdinal, GlobalOrdinal, Node> > Xpetra::CrsMatrixFactory< Scalar, LocalOrdinal, GlobalOrdinal, Node >::Build ( const Teuchos::RCP< const CrsMatrix< Scalar, LocalOrdinal, GlobalOrdinal, Node > > &  sourceMatrix,
const Import< LocalOrdinal, GlobalOrdinal, Node > &  importer,
const RCP< const Map< LocalOrdinal, GlobalOrdinal, Node > > &  domainMap = Teuchos::null,
const RCP< const Map< LocalOrdinal, GlobalOrdinal, Node > > &  rangeMap = Teuchos::null,
const Teuchos::RCP< Teuchos::ParameterList > &  params = Teuchos::null 
)
inlinestatic

Definition at line 158 of file Xpetra_CrsMatrixFactory.hpp.

template<class Scalar , class LocalOrdinal , class GlobalOrdinal , class Node >
static RCP<CrsMatrix<Scalar, LocalOrdinal, GlobalOrdinal, Node> > Xpetra::CrsMatrixFactory< Scalar, LocalOrdinal, GlobalOrdinal, Node >::Build ( const Teuchos::RCP< const CrsMatrix< Scalar, LocalOrdinal, GlobalOrdinal, Node > > &  sourceMatrix,
const Export< LocalOrdinal, GlobalOrdinal, Node > &  exporter,
const RCP< Map< LocalOrdinal, GlobalOrdinal, Scalar > > &  domainMap = Teuchos::null,
const RCP< Map< LocalOrdinal, GlobalOrdinal, Scalar > > &  rangeMap = Teuchos::null,
const Teuchos::RCP< Teuchos::ParameterList > &  params = Teuchos::null 
)
inlinestatic

Definition at line 175 of file Xpetra_CrsMatrixFactory.hpp.

template<class Scalar , class LocalOrdinal , class GlobalOrdinal , class Node >
static RCP<CrsMatrix<Scalar, LocalOrdinal, GlobalOrdinal, Node> > Xpetra::CrsMatrixFactory< Scalar, LocalOrdinal, GlobalOrdinal, Node >::Build ( const Teuchos::RCP< const CrsMatrix< Scalar, LocalOrdinal, GlobalOrdinal, Node > > &  sourceMatrix,
const Import< LocalOrdinal, GlobalOrdinal, Node > &  RowImporter,
const RCP< const Import< LocalOrdinal, GlobalOrdinal, Node > >  DomainImporter,
const RCP< const Map< LocalOrdinal, GlobalOrdinal, Node > > &  domainMap,
const RCP< const Map< LocalOrdinal, GlobalOrdinal, Node > > &  rangeMap,
const Teuchos::RCP< Teuchos::ParameterList > &  params 
)
inlinestatic

Definition at line 192 of file Xpetra_CrsMatrixFactory.hpp.

template<class Scalar , class LocalOrdinal , class GlobalOrdinal , class Node >
static RCP<CrsMatrix<Scalar, LocalOrdinal, GlobalOrdinal, Node> > Xpetra::CrsMatrixFactory< Scalar, LocalOrdinal, GlobalOrdinal, Node >::Build ( const Teuchos::RCP< const CrsMatrix< Scalar, LocalOrdinal, GlobalOrdinal, Node > > &  sourceMatrix,
const Export< LocalOrdinal, GlobalOrdinal, Node > &  RowExporter,
const RCP< const Export< LocalOrdinal, GlobalOrdinal, Node > >  DomainExporter,
const RCP< Map< LocalOrdinal, GlobalOrdinal, Scalar > > &  domainMap,
const RCP< Map< LocalOrdinal, GlobalOrdinal, Scalar > > &  rangeMap,
const Teuchos::RCP< Teuchos::ParameterList > &  params 
)
inlinestatic

Definition at line 210 of file Xpetra_CrsMatrixFactory.hpp.


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