|
Tpetra parallel linear algebra
Version of the Day
|
Kokkos::parallel_for functor that right-scales a KokkosSparse::CrsMatrix. More...
#include <Tpetra_Details_rightScaleLocalCrsMatrix.hpp>
Public Member Functions | |
| RightScaleLocalCrsMatrix (const LocalSparseMatrixType &A_lcl, const ScalingFactorsViewType &scalingFactors, const bool assumeSymmetric) | |
Kokkos::parallel_for functor that right-scales a KokkosSparse::CrsMatrix.
| LocalSparseMatrixType | KokkosSparse::CrsMatrix specialization. |
| ScalingFactorsViewType | Kokkos::View specialization storing scaling factors by which to divide the rows of the local sparse matrix. |
| divide | If true, divide, else multiply. |
Definition at line 71 of file Tpetra_Details_rightScaleLocalCrsMatrix.hpp.
|
inline |
| A_lcl | [in/out] The local sparse matrix. |
| scalingFactors | [in] If assumeSymmetric is true, these should be colNorms from EquilibrationInfo; otherwise, they should be rowScaledColNorms from EquilibrationInfo. |
| assumeSymmetric | [in] Whether to assume that the (global) sparse matrix is symmetric. If true, divde matrix entries by square roots of scaling factors; else, divide by the scaling factors themselves. |
Definition at line 90 of file Tpetra_Details_rightScaleLocalCrsMatrix.hpp.
1.8.5