Tpetra parallel linear algebra
Version of the Day
|
Kokkos::parallel_for functor that left-scales a KokkosSparse::CrsMatrix. More...
#include <Tpetra_Details_leftScaleLocalCrsMatrix.hpp>
Public Member Functions | |
LeftScaleLocalCrsMatrix (const LocalSparseMatrixType &A_lcl, const ScalingFactorsViewType &scalingFactors, const bool assumeSymmetric) | |
Kokkos::parallel_for functor that left-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 39 of file Tpetra_Details_leftScaleLocalCrsMatrix.hpp.
|
inline |
A_lcl | [in/out] The local sparse matrix. |
scalingFactors | [in] rowNorms 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 58 of file Tpetra_Details_leftScaleLocalCrsMatrix.hpp.