|
|
| MatrixAdapter (Teuchos::RCP< Matrix > m) |
| |
| template<typename KV_S , typename KV_GO , typename KV_GS > |
| void | getCrs_kokkos_view (KV_S &nzval, KV_GO &colind, KV_GS &rowptr, global_size_t &nnz, const Teuchos::Ptr< const map_t > rowmap, EStorage_Ordering ordering=ARBITRARY, EDistribution distribution=ROOTED) const |
| | Gets a compressed-row storage summary of this.
|
| |
| template<typename KV_S , typename KV_GO , typename KV_GS > |
| void | getCrs_kokkos_view (KV_S &nzval, KV_GO &colind, KV_GS &rowptr, global_size_t &nnz, EDistribution distribution=ROOTED, EStorage_Ordering ordering=ARBITRARY) const |
| |
| template<typename KV_S , typename KV_GO , typename KV_GS > |
| void | getCcs_kokkos_view (KV_S &nzval, KV_GO &rowind, KV_GS &colptr, global_size_t &nnz, const Teuchos::Ptr< const map_t > colmap, EStorage_Ordering ordering=ARBITRARY, EDistribution distribution=ROOTED) const |
| | Gets a compressed-column storage summary of this.
|
| |
| template<typename KV_S , typename KV_GO , typename KV_GS > |
| void | getCcs_kokkos_view (KV_S &nzval, KV_GO &rowind, KV_GS &colptr, global_size_t &nnz, EDistribution distribution=ROOTED, EStorage_Ordering ordering=ARBITRARY) const |
| |
|
const Teuchos::RCP< const Teuchos::Comm< int > > | getComm () const |
| | Returns the Teuchos::Comm object associated with this matrix.
|
| |
|
global_size_t | getGlobalNumRows () const |
| | Get the number of rows in this matrix.
|
| |
|
global_size_t | getGlobalNumCols () const |
| | Get the number of columns in this matrix.
|
| |
|
global_size_t | getRowIndexBase () const |
| | Get the indexbase for the row map.
|
| |
|
global_size_t | getColumnIndexBase () const |
| | Get the indexbase for the column map.
|
| |
|
global_size_t | getGlobalNNZ () const |
| | Get the global number of non-zeros in this sparse matrix.
|
| |
|
size_t | getLocalNumRows () const |
| | Get the number of rows local to the calling process.
|
| |
|
size_t | getLocalNumCols () const |
| | Get the number of columns local to the calling process.
|
| |
|
size_t | getLocalNNZ () const |
| | Get the local number of non-zeros on this processor.
|
| |
|
Teuchos::RCP< const map_t > | getMap () const |
| |
|
Teuchos::RCP< const map_t > | getRowMap () const |
| |
|
Teuchos::RCP< const map_t > | getColMap () const |
| |
|
Teuchos::RCP< const type > | get (const Teuchos::Ptr< const map_t > map, EDistribution distribution=ROOTED) const |
| |
| Teuchos::RCP< const type > | reindex (Teuchos::RCP< const map_t > &contigRowMap, Teuchos::RCP< const map_t > &contigColMap, const EPhase current_phase) const |
| |
|
template<typename KV_S , typename KV_GO , typename KV_GS , typename host_ordinal_type_array , typename host_scalar_type_array > |
| local_ordinal_t | gather (KV_S &nzvals, KV_GO &indices, KV_GS &pointers, host_ordinal_type_array &perm_g2l, host_ordinal_type_array &recvCountRows, host_ordinal_type_array &recvDisplRows, host_ordinal_type_array &recvCounts, host_ordinal_type_array &recvDispls, host_ordinal_type_array &transpose_map, host_scalar_type_array &nzvals_t, bool column_major, EPhase current_phase) const |
| | Gather matrix to MPI-0.
|
| |
|
std::string | description () const |
| | Returns a short description of this Solver.
|
| |
|
void | describe (Teuchos::FancyOStream &out, const Teuchos::EVerbosityLevel verbLevel=Teuchos::Describable::verbLevel_default) const |
| | Describes of this matrix adapter with some level of verbosity.
|
| |
|
template<typename KV > |
| void | returnRowPtr_kokkos_view (KV &view) const |
| | Return kokkos view of CRS row pointer of matrixA_.
|
| |
|
template<typename KV > |
| void | returnColInd_kokkos_view (KV &view) const |
| | Return kokkos view of CRS column indices of matrixA_.
|
| |
|
template<typename KV > |
| void | returnValues_kokkos_view (KV &view) const |
| | Return kokkos view of CRS values of matrixA_.
|
| |
|
template<typename KV_S , typename KV_GO , typename KV_GS > |
| void | getCrs_kokkos_view (KV_S &nzval, KV_GO &colind, KV_GS &rowptr, typename MatrixAdapter< Matrix >::global_size_t &nnz, const Teuchos::Ptr< const map_t > rowmap, EStorage_Ordering ordering, EDistribution distribution) const |
| |
|
template<typename KV_S , typename KV_GO , typename KV_GS > |
| void | getCrs_kokkos_view (KV_S &nzval, KV_GO &colind, KV_GS &rowptr, typename MatrixAdapter< Matrix >::global_size_t &nnz, EDistribution distribution, EStorage_Ordering ordering) const |
| |
|
template<typename KV_S , typename KV_GO , typename KV_GS > |
| void | getCcs_kokkos_view (KV_S &nzval, KV_GO &rowind, KV_GS &colptr, typename MatrixAdapter< Matrix >::global_size_t &nnz, const Teuchos::Ptr< const map_t > colmap, EStorage_Ordering ordering, EDistribution distribution) const |
| |
|
template<typename KV_S , typename KV_GO , typename KV_GS > |
| void | getCcs_kokkos_view (KV_S &nzval, KV_GO &rowind, KV_GS &colptr, typename MatrixAdapter< Matrix >::global_size_t &nnz, EDistribution distribution, EStorage_Ordering ordering) const |
| |
|
template<typename KV_S , typename KV_GO , typename KV_GS > |
| void | help_getCrs_kokkos_view (KV_S &nzval, KV_GO &colind, KV_GS &rowptr, typename MatrixAdapter< Matrix >::global_size_t &nnz, const Teuchos::Ptr< const map_t > rowmap, EDistribution distribution, EStorage_Ordering ordering, no_special_impl nsi) const |
| |
|
template<typename KV_S , typename KV_GO , typename KV_GS > |
| void | do_getCrs_kokkos_view (KV_S &nzval, KV_GO &colind, KV_GS &rowptr, typename MatrixAdapter< Matrix >::global_size_t &nnz, const Teuchos::Ptr< const map_t > rowmap, EDistribution distribution, EStorage_Ordering ordering, row_access ra) const |
| |
|
template<typename KV_S , typename KV_GO , typename KV_GS > |
| void | help_getCcs_kokkos_view (KV_S &nzval, KV_GO &rowind, KV_GS &colptr, typename MatrixAdapter< Matrix >::global_size_t &nnz, const Teuchos::Ptr< const map_t > colmap, EDistribution distribution, EStorage_Ordering ordering, no_special_impl nsi) const |
| |
|
template<typename KV_S , typename KV_GO , typename KV_GS > |
| void | do_getCcs_kokkos_view (KV_S &nzval, KV_GO &rowind, KV_GS &colptr, typename MatrixAdapter< Matrix >::global_size_t &nnz, const Teuchos::Ptr< const map_t > colmap, EDistribution distribution, EStorage_Ordering ordering, row_access ra) const |
| |
|
|
template<typename KV_S , typename KV_GO , typename KV_GS > |
| void | help_getCrs_kokkos_view (KV_S &nzval, KV_GO &colind, KV_GS &rowptr, global_size_t &nnz, const Teuchos::Ptr< const Tpetra::Map< local_ordinal_t, global_ordinal_t, node_t > > rowmap, EDistribution distribution, EStorage_Ordering ordering, no_special_impl nsi) const |
| |
|
template<typename KV_S , typename KV_GO , typename KV_GS > |
| void | do_getCrs_kokkos_view (KV_S &nzval, KV_GO &colind, KV_GS &rowptr, global_size_t &nnz, const Teuchos::Ptr< const Tpetra::Map< local_ordinal_t, global_ordinal_t, node_t > > rowmap, EDistribution distribution, EStorage_Ordering ordering, row_access ra) const |
| |
|
template<typename KV_S , typename KV_GO , typename KV_GS > |
| void | help_getCcs_kokkos_view (KV_S &nzval, KV_GO &colind, KV_GS &rowptr, global_size_t &nnz, const Teuchos::Ptr< const Tpetra::Map< local_ordinal_t, global_ordinal_t, node_t > > rowmap, EDistribution distribution, EStorage_Ordering ordering, no_special_impl nsi) const |
| |
|
template<typename KV_S , typename KV_GO , typename KV_GS > |
| void | do_getCcs_kokkos_view (KV_S &nzval, KV_GO &rowind, KV_GS &colptr, global_size_t &nnz, const Teuchos::Ptr< const Tpetra::Map< local_ordinal_t, global_ordinal_t, node_t > > rowmap, EDistribution distribution, EStorage_Ordering ordering, row_access ra) const |
| |
template<class Matrix>
class Amesos2::MatrixAdapter< Matrix >
A Matrix adapter interface for Amesos2.
All Amesos2 solver interfaces are expected to use this matrix adapter interface to make their lives easier. The methods have been chosen to cater to a wide variety of third-party direct sparse solvers' needs.