Xpetra
Version of the Day
|
#include <Xpetra_CrsMatrixFactory.hpp>
Static Public Member Functions | |
static RCP< CrsMatrix< Scalar, LocalOrdinal, GlobalOrdinal, Node > > | Build (const RCP< const Map< LocalOrdinal, GlobalOrdinal, Node >> &rowMap) |
Constructor for empty matrix (intended use is an import/export target - can't insert entries directly) More... | |
static RCP< CrsMatrix< Scalar, LocalOrdinal, GlobalOrdinal, Node > > | Build (const RCP< const Map< LocalOrdinal, GlobalOrdinal, Node >> &rowMap, size_t maxNumEntriesPerRow, 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, 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, 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, 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 CrsGraph< LocalOrdinal, GlobalOrdinal, Node >> &graph, typename Xpetra::CrsMatrix< Scalar, LocalOrdinal, GlobalOrdinal, Node >::local_matrix_type::values_type &values, const Teuchos::RCP< Teuchos::ParameterList > &plist=Teuchos::null) |
Constructor specifying a previously constructed graph and values array. 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 > ¶ms=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< const Map< LocalOrdinal, GlobalOrdinal, Node >> &domainMap=Teuchos::null, const RCP< const Map< LocalOrdinal, GlobalOrdinal, Node >> &rangeMap=Teuchos::null, const Teuchos::RCP< Teuchos::ParameterList > ¶ms=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 > ¶ms) |
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< const Map< LocalOrdinal, GlobalOrdinal, Node >> &domainMap, const RCP< const Map< LocalOrdinal, GlobalOrdinal, Node >> &rangeMap, const Teuchos::RCP< Teuchos::ParameterList > ¶ms) |
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 typename Xpetra::CrsMatrix< Scalar, LocalOrdinal, GlobalOrdinal, Node >::local_matrix_type &lclMatrix, const Teuchos::RCP< Teuchos::ParameterList > ¶ms=null) |
static RCP< CrsMatrix< Scalar, LocalOrdinal, GlobalOrdinal, Node > > | Build (const typename Xpetra::CrsMatrix< Scalar, LocalOrdinal, GlobalOrdinal, Node >::local_matrix_type &lclMatrix, const Teuchos::RCP< const Map< LocalOrdinal, GlobalOrdinal, Node >> &rowMap, const Teuchos::RCP< const Map< LocalOrdinal, GlobalOrdinal, Node >> &colMap, const Teuchos::RCP< const Map< LocalOrdinal, GlobalOrdinal, Node >> &domainMap=Teuchos::null, const Teuchos::RCP< const Map< LocalOrdinal, GlobalOrdinal, Node >> &rangeMap=Teuchos::null, const Teuchos::RCP< Teuchos::ParameterList > ¶ms=null) |
static RCP< CrsMatrix< Scalar, LocalOrdinal, GlobalOrdinal, Node > > | Build (const typename Xpetra::CrsMatrix< Scalar, LocalOrdinal, GlobalOrdinal, Node >::local_matrix_type &lclMatrix, const Teuchos::RCP< const Map< LocalOrdinal, GlobalOrdinal, Node >> &rowMap, const Teuchos::RCP< const Map< LocalOrdinal, GlobalOrdinal, Node >> &colMap, 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, const Teuchos::RCP< const Export< LocalOrdinal, GlobalOrdinal, Node >> &exporter, const Teuchos::RCP< Teuchos::ParameterList > ¶ms=null) |
static RCP< CrsMatrix< Scalar, LocalOrdinal, GlobalOrdinal, Node > > | BuildBlock (const Teuchos::RCP< const Xpetra::CrsGraph< LocalOrdinal, GlobalOrdinal, Node >> &blockGraph, const Teuchos::RCP< const Map< LocalOrdinal, GlobalOrdinal, Node >> &domainMap, const Teuchos::RCP< const Map< LocalOrdinal, GlobalOrdinal, Node >> &rangeMap, LocalOrdinal blockSize) |
Private Member Functions | |
CrsMatrixFactory () | |
Private constructor. This is a static class. More... | |
Definition at line 34 of file Xpetra_CrsMatrixFactory.hpp.
|
inlineprivate |
Private constructor. This is a static class.
Definition at line 37 of file Xpetra_CrsMatrixFactory.hpp.
|
inlinestatic |
Constructor for empty matrix (intended use is an import/export target - can't insert entries directly)
Definition at line 42 of file Xpetra_CrsMatrixFactory.hpp.
|
inlinestatic |
Constructor specifying fixed number of entries for each row.
Definition at line 55 of file Xpetra_CrsMatrixFactory.hpp.
|
inlinestatic |
Constructor specifying (possibly different) number of entries in each row.
Definition at line 71 of file Xpetra_CrsMatrixFactory.hpp.
|
inlinestatic |
Constructor specifying column Map and fixed number of entries for each row.
Definition at line 85 of file Xpetra_CrsMatrixFactory.hpp.
|
inlinestatic |
Constructor specifying column Map and number of entries in each row.
Definition at line 101 of file Xpetra_CrsMatrixFactory.hpp.
|
inlinestatic |
Constructor specifying a previously constructed graph.
Definition at line 114 of file Xpetra_CrsMatrixFactory.hpp.
|
inlinestatic |
Constructor specifying a previously constructed graph and values array.
Definition at line 127 of file Xpetra_CrsMatrixFactory.hpp.
|
inlinestatic |
Definition at line 139 of file Xpetra_CrsMatrixFactory.hpp.
|
inlinestatic |
Definition at line 156 of file Xpetra_CrsMatrixFactory.hpp.
|
inlinestatic |
Definition at line 173 of file Xpetra_CrsMatrixFactory.hpp.
|
inlinestatic |
Definition at line 191 of file Xpetra_CrsMatrixFactory.hpp.
|
inlinestatic |
Definition at line 209 of file Xpetra_CrsMatrixFactory.hpp.
|
inlinestatic |
Definition at line 225 of file Xpetra_CrsMatrixFactory.hpp.
|
inlinestatic |
Definition at line 243 of file Xpetra_CrsMatrixFactory.hpp.
|
inlinestatic |
Definition at line 265 of file Xpetra_CrsMatrixFactory.hpp.