|
Xpetra Version of the Day
|
#include <Xpetra_CrsGraphFactory.hpp>
Static Public Member Functions | |
| static 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) | |
| static RCP< CrsGraph< LocalOrdinal, GlobalOrdinal, Node > > | Build (const Teuchos::RCP< const Map< LocalOrdinal, GlobalOrdinal, Node > > &map, size_t maxNumEntriesPerRow) |
| 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) |
| 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, size_t maxNumEntriesPerRow, const Teuchos::RCP< Teuchos::ParameterList > &plist=Teuchos::null) |
| Constructor specifying column Map and number of entries per row. | |
| static Teuchos::RCP< CrsGraph< LocalOrdinal, GlobalOrdinal, Node > > | Build (const RCP< const CrsGraph< LocalOrdinal, GlobalOrdinal, Node > > &sourceGraph, 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 RCP< Teuchos::ParameterList > ¶ms=Teuchos::null) |
| Constructor using fused import. | |
| 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 typename Xpetra::CrsGraph< LocalOrdinal, GlobalOrdinal, Node >::local_graph_type::row_map_type &rowPointers, const typename Xpetra::CrsGraph< LocalOrdinal, GlobalOrdinal, Node >::local_graph_type::entries_type::non_const_type &columnIndices, const Teuchos::RCP< Teuchos::ParameterList > &plist=Teuchos::null) |
| Constructor specifying column Map and arrays containing the graph in sorted, local ids. | |
| 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 typename Xpetra::CrsGraph< LocalOrdinal, GlobalOrdinal, Node >::local_graph_type &lclGraph, const Teuchos::RCP< Teuchos::ParameterList > ¶ms) |
| Constructor specifying column Map and a local (sorted) graph, which the resulting CrsGraph views. | |
| static Teuchos::RCP< CrsGraph< LocalOrdinal, GlobalOrdinal, Node > > | Build (const typename Xpetra::CrsGraph< LocalOrdinal, GlobalOrdinal, Node >::local_graph_type &lclGraph, 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=Teuchos::null) |
| Constructor specifying column, domain and range maps, and a local (sorted) graph, which the resulting CrsGraph views. | |
| 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 Teuchos::ArrayRCP< size_t > &rowPointers, const Teuchos::ArrayRCP< LocalOrdinal > &columnIndices, const Teuchos::RCP< Teuchos::ParameterList > &plist=Teuchos::null) |
| Constructor specifying column Map and arrays containing the graph in sorted, local ids. | |
| static Teuchos::RCP< CrsGraph< int, long long, EpetraNode > > | Build (const RCP< const Map< int, long long, EpetraNode > > &rowMap) |
| Constructor for empty graph (intended use is an import/export target - can't insert entries directly) | |
| static Teuchos::RCP< CrsGraph< int, long long, EpetraNode > > | Build (const Teuchos::RCP< const Map< int, long long, EpetraNode > > &map, size_t maxNumEntriesPerRow) |
| Constructor specifying the number of non-zeros for all rows. | |
| static Teuchos::RCP< CrsGraph< int, long long, EpetraNode > > | Build (const Teuchos::RCP< const Map< int, long long, EpetraNode > > &rowMap, const Teuchos::RCP< const Map< int, long long, EpetraNode > > &colMap, size_t maxNumEntriesPerRow, const Teuchos::RCP< Teuchos::ParameterList > &plist=Teuchos::null) |
| Constructor specifying column Map and number of entries per row. | |
| static Teuchos::RCP< CrsGraph< int, long long, EpetraNode > > | Build (const Teuchos::RCP< const Map< int, long long, EpetraNode > > &rowMap, const Teuchos::RCP< const Map< int, long long, EpetraNode > > &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. | |
| static Teuchos::RCP< CrsGraph< int, long long, EpetraNode > > | Build (const RCP< const CrsGraph< int, long long, EpetraNode > > &sourceGraph, const Import< int, long long, EpetraNode > &importer, const RCP< const Map< int, long long, EpetraNode > > &domainMap=Teuchos::null, const RCP< const Map< int, long long, EpetraNode > > &rangeMap=Teuchos::null, const RCP< Teuchos::ParameterList > ¶ms=Teuchos::null) |
| Constructor using fused import. | |
| static Teuchos::RCP< CrsGraph< int, long long, EpetraNode > > | Build (const Teuchos::RCP< const Map< int, long long, EpetraNode > > &rowMap, const Teuchos::RCP< const Map< int, long long, EpetraNode > > &colMap, const typename Xpetra::CrsGraph< int, long long, EpetraNode >::local_graph_type::row_map_type &rowPointers, const typename Xpetra::CrsGraph< int, long long, EpetraNode >::local_graph_type::entries_type::non_const_type &columnIndices, const Teuchos::RCP< Teuchos::ParameterList > &plist=Teuchos::null) |
| Constructor specifying column Map and arrays containing the graph in sorted, local ids. | |
| static Teuchos::RCP< CrsGraph< int, long long, EpetraNode > > | Build (const Teuchos::RCP< const Map< int, long long, EpetraNode > > &rowMap, const Teuchos::RCP< const Map< int, long long, EpetraNode > > &colMap, const typename Xpetra::CrsGraph< int, long long, EpetraNode >::local_graph_type &lclGraph, const Teuchos::RCP< Teuchos::ParameterList > ¶ms) |
| Constructor specifying column Map and a local (sorted) graph, which the resulting CrsGraph views. | |
| static Teuchos::RCP< CrsGraph< int, long long, EpetraNode > > | Build (const typename Xpetra::CrsGraph< int, long long, EpetraNode >::local_graph_type &lclGraph, const Teuchos::RCP< const Map< int, long long, EpetraNode > > &rowMap, const Teuchos::RCP< const Map< int, long long, EpetraNode > > &colMap, const Teuchos::RCP< const Map< int, long long, EpetraNode > > &domainMap=Teuchos::null, const Teuchos::RCP< const Map< int, long long, EpetraNode > > &rangeMap=Teuchos::null, const Teuchos::RCP< Teuchos::ParameterList > ¶ms=Teuchos::null) |
| Constructor specifying column, domain and range maps, and a local (sorted) graph, which the resulting CrsGraph views. | |
| static Teuchos::RCP< CrsGraph< int, long long, EpetraNode > > | Build (const Teuchos::RCP< const Map< int, long long, EpetraNode > > &rowMap, const Teuchos::RCP< const Map< int, long long, EpetraNode > > &colMap, const Teuchos::ArrayRCP< size_t > &rowPointers, const Teuchos::ArrayRCP< int > &columnIndices, const Teuchos::RCP< Teuchos::ParameterList > &plist=Teuchos::null) |
| Constructor specifying column Map and arrays containing the graph in sorted, local ids. | |
Private Types | |
| typedef int | LocalOrdinal |
| typedef long long | GlobalOrdinal |
| typedef EpetraNode | Node |
Private Member Functions | |
| CrsGraphFactory () | |
| Private constructor. This is a static class. | |
| CrsGraphFactory () | |
| Private constructor. This is a static class. | |
Definition at line 578 of file Xpetra_CrsGraphFactory.hpp.
|
private |
Definition at line 580 of file Xpetra_CrsGraphFactory.hpp.
|
private |
Definition at line 581 of file Xpetra_CrsGraphFactory.hpp.
|
private |
Definition at line 582 of file Xpetra_CrsGraphFactory.hpp.
|
inlineprivate |
Private constructor. This is a static class.
Definition at line 586 of file Xpetra_CrsGraphFactory.hpp.
|
inlineprivate |
Private constructor. This is a static class.
Definition at line 71 of file Xpetra_CrsGraphFactory.hpp.
|
inlinestatic |
Constructor for empty graph (intended use is an import/export target - can't insert entries directly)
Definition at line 591 of file Xpetra_CrsGraphFactory.hpp.
|
inlinestatic |
Definition at line 606 of file Xpetra_CrsGraphFactory.hpp.
|
inlinestatic |
Definition at line 622 of file Xpetra_CrsGraphFactory.hpp.
|
inlinestatic |
Constructor specifying column Map and number of entries per row.
Definition at line 639 of file Xpetra_CrsGraphFactory.hpp.
|
inlinestatic |
Constructor using fused import.
Definition at line 658 of file Xpetra_CrsGraphFactory.hpp.
|
inlinestatic |
Constructor specifying column Map and arrays containing the graph in sorted, local ids.
| rowMap | [in] Distribution of rows of the graph. |
| colMap | [in] Distribution of columns of the graph. |
| rowPointers | [in] The beginning of each row in the graph, as in a CSR "rowptr" array. The length of this vector should be equal to the number of rows in the graph, plus one. This last entry should store the nunber of nonzeros in the graph. |
| columnIndices | [in] The local indices of the columns, as in a CSR "colind" array. The length of this vector should be equal to the number of unknowns in the graph. |
| params | [in/out] Optional list of parameters. If not null, any missing parameters will be filled in with their default values. |
Definition at line 696 of file Xpetra_CrsGraphFactory.hpp.
|
inlinestatic |
Constructor specifying column Map and a local (sorted) graph, which the resulting CrsGraph views.
Unlike most other CrsGraph constructors, successful completion of this constructor will result in a fill-complete graph.
| rowMap | [in] Distribution of rows of the graph. |
| colMap | [in] Distribution of columns of the graph. |
| lclGraph | [in] A locally indexed Kokkos::StaticCrsGraph whose local row indices come from the specified row Map, and whose local column indices come from the specified column Map. |
| params | [in/out] Optional list of parameters. If not null, any missing parameters will be filled in with their default values. |
Definition at line 732 of file Xpetra_CrsGraphFactory.hpp.
|
inlinestatic |
Constructor specifying column, domain and range maps, and a local (sorted) graph, which the resulting CrsGraph views.
Unlike most other CrsGraph constructors, successful completion of this constructor will result in a fill-complete graph.
| rowMap | [in] Distribution of rows of the graph. |
| colMap | [in] Distribution of columns of the graph. |
| domainMap | [in] The graph's domain Map. MUST be one to one! |
| rangeMap | [in] The graph's range Map. MUST be one to one! May be, but need not be, the same as the domain Map. |
| lclGraph | [in] A locally indexed Kokkos::StaticCrsGraph whose local row indices come from the specified row Map, and whose local column indices come from the specified column Map. |
| params | [in/out] Optional list of parameters. If not null, any missing parameters will be filled in with their default values. |
Definition at line 772 of file Xpetra_CrsGraphFactory.hpp.
|
inlinestatic |
Constructor specifying column Map and arrays containing the graph in sorted, local ids.
| rowMap | [in] Distribution of rows of the graph. |
| colMap | [in] Distribution of columns of the graph. |
| rowPointers | [in] The beginning of each row in the graph, as in a CSR "rowptr" array. The length of this vector should be equal to the number of rows in the graph, plus one. This last entry should store the nunber of nonzeros in the graph. |
| columnIndices | [in] The local indices of the columns, as in a CSR "colind" array. The length of this vector should be equal to the number of unknowns in the graph. |
| params | [in/out] Optional list of parameters. If not null, any missing parameters will be filled in with their default values. |
Definition at line 812 of file Xpetra_CrsGraphFactory.hpp.
|
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.
|
inlinestatic |
Constructor specifying the number of non-zeros for all rows.
Definition at line 90 of file Xpetra_CrsGraphFactory.hpp.
|
inlinestatic |
Constructor specifying column Map and number of entries per row.
Definition at line 105 of file Xpetra_CrsGraphFactory.hpp.
|
inlinestatic |
Constructor specifying column Map and number of entries in each row.
Definition at line 124 of file Xpetra_CrsGraphFactory.hpp.
|
inlinestatic |
Constructor using fused import.
Definition at line 143 of file Xpetra_CrsGraphFactory.hpp.
|
inlinestatic |
Constructor specifying column Map and arrays containing the graph in sorted, local ids.
| rowMap | [in] Distribution of rows of the graph. |
| colMap | [in] Distribution of columns of the graph. |
| rowPointers | [in] The beginning of each row in the graph, as in a CSR "rowptr" array. The length of this vector should be equal to the number of rows in the graph, plus one. This last entry should store the nunber of nonzeros in the graph. |
| columnIndices | [in] The local indices of the columns, as in a CSR "colind" array. The length of this vector should be equal to the number of unknowns in the graph. |
| params | [in/out] Optional list of parameters. If not null, any missing parameters will be filled in with their default values. |
Definition at line 181 of file Xpetra_CrsGraphFactory.hpp.
|
inlinestatic |
Constructor specifying column Map and a local (sorted) graph, which the resulting CrsGraph views.
Unlike most other CrsGraph constructors, successful completion of this constructor will result in a fill-complete graph.
| rowMap | [in] Distribution of rows of the graph. |
| colMap | [in] Distribution of columns of the graph. |
| lclGraph | [in] A locally indexed Kokkos::StaticCrsGraph whose local row indices come from the specified row Map, and whose local column indices come from the specified column Map. |
| params | [in/out] Optional list of parameters. If not null, any missing parameters will be filled in with their default values. |
Definition at line 217 of file Xpetra_CrsGraphFactory.hpp.
|
inlinestatic |
Constructor specifying column, domain and range maps, and a local (sorted) graph, which the resulting CrsGraph views.
Unlike most other CrsGraph constructors, successful completion of this constructor will result in a fill-complete graph.
| rowMap | [in] Distribution of rows of the graph. |
| colMap | [in] Distribution of columns of the graph. |
| domainMap | [in] The graph's domain Map. MUST be one to one! |
| rangeMap | [in] The graph's range Map. MUST be one to one! May be, but need not be, the same as the domain Map. |
| lclGraph | [in] A locally indexed Kokkos::StaticCrsGraph whose local row indices come from the specified row Map, and whose local column indices come from the specified column Map. |
| params | [in/out] Optional list of parameters. If not null, any missing parameters will be filled in with their default values. |
Definition at line 257 of file Xpetra_CrsGraphFactory.hpp.
|
inlinestatic |
Constructor specifying column Map and arrays containing the graph in sorted, local ids.
| rowMap | [in] Distribution of rows of the graph. |
| colMap | [in] Distribution of columns of the graph. |
| rowPointers | [in] The beginning of each row in the graph, as in a CSR "rowptr" array. The length of this vector should be equal to the number of rows in the graph, plus one. This last entry should store the nunber of nonzeros in the graph. |
| columnIndices | [in] The local indices of the columns, as in a CSR "colind" array. The length of this vector should be equal to the number of unknowns in the graph. |
| params | [in/out] Optional list of parameters. If not null, any missing parameters will be filled in with their default values. |
Definition at line 297 of file Xpetra_CrsGraphFactory.hpp.