#include <Xpetra_MatrixFactory.hpp>
Static Public Member Functions | |
| static RCP< Matrix > | Build (const RCP< const Map > &rowMap, size_t maxNumEntriesPerRow, Xpetra::ProfileType pftype=Xpetra::DynamicProfile) |
| Constructor specifying the number of non-zeros for all rows. | |
| static RCP< Matrix > | Build (const RCP< const Map > &rowMap, const RCP< const Map > &colMap, size_t maxNumEntriesPerRow, Xpetra::ProfileType pftype=Xpetra::DynamicProfile) |
| Constructor specifying the max number of non-zeros per row and providing column map. | |
| static RCP< Matrix > | Build (const RCP< const Map > &rowMap, const RCP< const Map > &colMap, const ArrayRCP< const size_t > &NumEntriesPerRowToAlloc, Xpetra::ProfileType pftype=Xpetra::DynamicProfile) |
| Constructor specifying the (possibly different) number of entries per row and providing column map. | |
| static RCP< Matrix > | Build (const RCP< const Map > &rowMap, const ArrayRCP< const size_t > &NumEntriesPerRowToAlloc, ProfileType pftype=Xpetra::DynamicProfile) |
| Constructor specifying (possibly different) number of entries in each row. | |
| static RCP< Matrix > | Build (const RCP< const CrsGraph > &graph, const RCP< ParameterList > ¶mList=Teuchos::null) |
| Constructor specifying graph. | |
| static RCP< Matrix > | Build (const RCP< const Vector > &diagonal) |
| Constructor for creating a diagonal Xpetra::Matrix using the entries of a given vector for the diagonal. | |
| static RCP< Matrix > | Build (const RCP< const Matrix > &sourceMatrix, const Import &importer, const RCP< const Map > &domainMap=Teuchos::null, const RCP< const Map > &rangeMap=Teuchos::null, const Teuchos::RCP< Teuchos::ParameterList > ¶ms=Teuchos::null) |
| Constructor to create a Matrix using a fusedImport-style construction. The originalMatrix must be a Xpetra::CrsMatrixWrap under the hood or this will fail. | |
| static RCP< Matrix > | Build (const RCP< const Matrix > &sourceMatrix, const Export &exporter, const RCP< const Map > &domainMap=Teuchos::null, const RCP< const Map > &rangeMap=Teuchos::null, const Teuchos::RCP< Teuchos::ParameterList > ¶ms=Teuchos::null) |
| Constructor to create a Matrix using a fusedExport-style construction. The originalMatrix must be a Xpetra::CrsMatrixWrap under the hood or this will fail. | |
Private Member Functions | |
| MatrixFactory () | |
| Private constructor. This is a static class. | |
Definition at line 66 of file Xpetra_MatrixFactory.hpp.
| Xpetra::MatrixFactory< Scalar, LocalOrdinal, GlobalOrdinal, Node >::MatrixFactory | ( | ) | [inline, private] |
Private constructor. This is a static class.
Definition at line 72 of file Xpetra_MatrixFactory.hpp.
| static RCP<Matrix> Xpetra::MatrixFactory< Scalar, LocalOrdinal, GlobalOrdinal, Node >::Build | ( | const RCP< const Map > & | rowMap, |
| size_t | maxNumEntriesPerRow, | ||
| Xpetra::ProfileType | pftype = Xpetra::DynamicProfile |
||
| ) | [inline, static] |
Constructor specifying the number of non-zeros for all rows.
Definition at line 77 of file Xpetra_MatrixFactory.hpp.
| static RCP<Matrix> Xpetra::MatrixFactory< Scalar, LocalOrdinal, GlobalOrdinal, Node >::Build | ( | const RCP< const Map > & | rowMap, |
| const RCP< const Map > & | colMap, | ||
| size_t | maxNumEntriesPerRow, | ||
| Xpetra::ProfileType | pftype = Xpetra::DynamicProfile |
||
| ) | [inline, static] |
Constructor specifying the max number of non-zeros per row and providing column map.
Definition at line 82 of file Xpetra_MatrixFactory.hpp.
| static RCP<Matrix> Xpetra::MatrixFactory< Scalar, LocalOrdinal, GlobalOrdinal, Node >::Build | ( | const RCP< const Map > & | rowMap, |
| const RCP< const Map > & | colMap, | ||
| const ArrayRCP< const size_t > & | NumEntriesPerRowToAlloc, | ||
| Xpetra::ProfileType | pftype = Xpetra::DynamicProfile |
||
| ) | [inline, static] |
Constructor specifying the (possibly different) number of entries per row and providing column map.
Definition at line 87 of file Xpetra_MatrixFactory.hpp.
| static RCP<Matrix> Xpetra::MatrixFactory< Scalar, LocalOrdinal, GlobalOrdinal, Node >::Build | ( | const RCP< const Map > & | rowMap, |
| const ArrayRCP< const size_t > & | NumEntriesPerRowToAlloc, | ||
| ProfileType | pftype = Xpetra::DynamicProfile |
||
| ) | [inline, static] |
Constructor specifying (possibly different) number of entries in each row.
Definition at line 92 of file Xpetra_MatrixFactory.hpp.
| static RCP<Matrix> Xpetra::MatrixFactory< Scalar, LocalOrdinal, GlobalOrdinal, Node >::Build | ( | const RCP< const CrsGraph > & | graph, |
| const RCP< ParameterList > & | paramList = Teuchos::null |
||
| ) | [inline, static] |
Constructor specifying graph.
Definition at line 97 of file Xpetra_MatrixFactory.hpp.
| static RCP<Matrix> Xpetra::MatrixFactory< Scalar, LocalOrdinal, GlobalOrdinal, Node >::Build | ( | const RCP< const Vector > & | diagonal | ) | [inline, static] |
Constructor for creating a diagonal Xpetra::Matrix using the entries of a given vector for the diagonal.
Definition at line 102 of file Xpetra_MatrixFactory.hpp.
| static RCP<Matrix> Xpetra::MatrixFactory< Scalar, LocalOrdinal, GlobalOrdinal, Node >::Build | ( | const RCP< const Matrix > & | sourceMatrix, |
| const Import & | importer, | ||
| const RCP< const Map > & | domainMap = Teuchos::null, |
||
| const RCP< const Map > & | rangeMap = Teuchos::null, |
||
| const Teuchos::RCP< Teuchos::ParameterList > & | params = Teuchos::null |
||
| ) | [inline, static] |
Constructor to create a Matrix using a fusedImport-style construction. The originalMatrix must be a Xpetra::CrsMatrixWrap under the hood or this will fail.
Definition at line 119 of file Xpetra_MatrixFactory.hpp.
| static RCP<Matrix> Xpetra::MatrixFactory< Scalar, LocalOrdinal, GlobalOrdinal, Node >::Build | ( | const RCP< const Matrix > & | sourceMatrix, |
| const Export & | exporter, | ||
| const RCP< const Map > & | domainMap = Teuchos::null, |
||
| const RCP< const Map > & | rangeMap = Teuchos::null, |
||
| const Teuchos::RCP< Teuchos::ParameterList > & | params = Teuchos::null |
||
| ) | [inline, static] |
Constructor to create a Matrix using a fusedExport-style construction. The originalMatrix must be a Xpetra::CrsMatrixWrap under the hood or this will fail.
Definition at line 133 of file Xpetra_MatrixFactory.hpp.
1.7.6.1