|
|
| AbstractConcreteMatrixAdapter (RCP< matrix_t > m) |
| |
|
void | getGlobalRowCopy_impl (global_ordinal_t row, const Teuchos::ArrayView< global_ordinal_t > &indices, const Teuchos::ArrayView< scalar_t > &vals, size_t &nnz) const |
| |
|
void | getGlobalColCopy_impl (global_ordinal_t col, const Teuchos::ArrayView< global_ordinal_t > &indices, const Teuchos::ArrayView< scalar_t > &vals, size_t &nnz) const |
| |
|
template<typename KV_GO , typename KV_S > |
| void | getGlobalRowCopy_kokkos_view_impl (global_ordinal_t row, KV_GO &indices, KV_S &vals, size_t &nnz) const |
| |
|
global_size_t | getGlobalNNZ_impl () const |
| |
|
size_t | getLocalNNZ_impl () const |
| |
|
global_size_t | getGlobalNumRows_impl () const |
| |
|
global_size_t | getGlobalNumCols_impl () const |
| |
|
size_t | getMaxRowNNZ_impl () const |
| |
|
size_t | getMaxColNNZ_impl () const |
| |
|
size_t | getGlobalRowNNZ_impl (global_ordinal_t row) const |
| |
|
size_t | getLocalRowNNZ_impl (local_ordinal_t row) const |
| |
|
size_t | getGlobalColNNZ_impl (global_ordinal_t col) const |
| |
|
size_t | getLocalColNNZ_impl (local_ordinal_t col) const |
| |
|
const RCP< const map_t > | getMap_impl () const |
| |
|
const RCP< const map_t > | getRowMap_impl () const |
| |
|
const RCP< const map_t > | getColMap_impl () const |
| |
|
const RCP< const Teuchos::Comm< int > > | getComm_impl () const |
| |
|
bool | isLocallyIndexed_impl () const |
| |
|
bool | isGloballyIndexed_impl () const |
| |
|
RCP< const super_t > | get_impl (const Teuchos::Ptr< const map_t > map, EDistribution distribution=ROOTED) const |
| |
|
RCP< const super_t > | reindex_impl (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_impl (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 |
| |
|
spmtx_ptr_t | getSparseRowPtr () const |
| |
|
spmtx_idx_t | getSparseColInd () const |
| |
|
spmtx_val_t | getSparseValues () const |
| |
|
template<class KV > |
| void | getSparseRowPtr_kokkos_view (KV &view) const |
| |
|
template<class KV > |
| void | getSparseColInd_kokkos_view (KV &view) const |
| |
|
template<class KV > |
| void | getSparseValues_kokkos_view (KV &view) const |
| |
|
template<typename KV_S , typename KV_GO , typename KV_GS , typename host_ordinal_type_array , typename host_scalar_type_array > |
| AbstractConcreteMatrixAdapter< Epetra_RowMatrix, DerivedMat >::local_ordinal_t | gather_impl (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 |
| |
| 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.
|
| |
| 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 |
| |
|
void | getCrs_kokkos_view (KV_S &nzval, KV_GO &colind, KV_GS &rowptr, typename MatrixAdapter< DerivedMat >::global_size_t &nnz, const Teuchos::Ptr< const map_t > rowmap, EStorage_Ordering ordering, EDistribution distribution) const |
| |
|
void | getCrs_kokkos_view (KV_S &nzval, KV_GO &colind, KV_GS &rowptr, typename MatrixAdapter< DerivedMat >::global_size_t &nnz, EDistribution distribution, EStorage_Ordering ordering) const |
| |
| 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.
|
| |
| 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 |
| |
|
void | getCcs_kokkos_view (KV_S &nzval, KV_GO &rowind, KV_GS &colptr, typename MatrixAdapter< DerivedMat >::global_size_t &nnz, const Teuchos::Ptr< const map_t > colmap, EStorage_Ordering ordering, EDistribution distribution) const |
| |
|
void | getCcs_kokkos_view (KV_S &nzval, KV_GO &rowind, KV_GS &colptr, typename MatrixAdapter< DerivedMat >::global_size_t &nnz, EDistribution distribution, EStorage_Ordering ordering) 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 |
| |
|
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.
|
| |
|
void | returnRowPtr_kokkos_view (KV &view) const |
| | Return kokkos view of CRS row pointer of matrixA_.
|
| |
|
void | returnColInd_kokkos_view (KV &view) const |
| | Return kokkos view of CRS column indices of matrixA_.
|
| |
|
void | returnValues_kokkos_view (KV &view) const |
| | Return kokkos view of CRS values of matrixA_.
|
| |
|
void | help_getCrs_kokkos_view (KV_S &nzval, KV_GO &colind, KV_GS &rowptr, typename MatrixAdapter< DerivedMat >::global_size_t &nnz, const Teuchos::Ptr< const map_t > rowmap, EDistribution distribution, EStorage_Ordering ordering, no_special_impl nsi) const |
| |
|
void | do_getCrs_kokkos_view (KV_S &nzval, KV_GO &colind, KV_GS &rowptr, typename MatrixAdapter< DerivedMat >::global_size_t &nnz, const Teuchos::Ptr< const map_t > rowmap, EDistribution distribution, EStorage_Ordering ordering, row_access ra) const |
| |
|
void | help_getCcs_kokkos_view (KV_S &nzval, KV_GO &rowind, KV_GS &colptr, typename MatrixAdapter< DerivedMat >::global_size_t &nnz, const Teuchos::Ptr< const map_t > colmap, EDistribution distribution, EStorage_Ordering ordering, no_special_impl nsi) const |
| |
|
void | do_getCcs_kokkos_view (KV_S &nzval, KV_GO &rowind, KV_GS &colptr, typename MatrixAdapter< DerivedMat >::global_size_t &nnz, const Teuchos::Ptr< const map_t > colmap, EDistribution distribution, EStorage_Ordering ordering, row_access ra) const |
| |
template<class DerivedMat>
class Amesos2::AbstractConcreteMatrixAdapter< Epetra_RowMatrix, DerivedMat >
Amesos2::MatrixAdapter definitions for objects deriving from Epetra_RowMatrix.
This class provides definitions for classes that derive from/implement the Epetra_RowMatrix interface. Most methods required for compliance with the Amesos2::MatrixAdapter interface are defined here. The only method that derived class must define is the get() method, which relies on each derived object knowing how to construct an instance of itself (something which the abstract base class cannot know).