19 #ifndef GEOSX_LINEARALGEBRA_INTERFACES_HYPRESUITESPARSE_HPP_ 20 #define GEOSX_LINEARALGEBRA_INTERFACES_HYPRESUITESPARSE_HPP_ 35 SuiteSparse & SSData );
46 HypreVector
const & b,
constexpr void transpose(DST_MATRIX &&LVARRAY_RESTRICT_REF dstMatrix, SRC_MATRIX const &LVARRAY_RESTRICT_REF srcMatrix)
Store the transpose of the NxM matrix srcMatrix in dstMatrix.
real64 HypreSuiteSparseCond(HypreMatrix const &matrix, SuiteSparse &SSData)
Computes an accurate condition number (time consuming function!!!)
double real64
64-bit floating point type.
void ConvertHypreToSuiteSparseMatrix(HypreMatrix const &matrix, SuiteSparse &SSData)
Converts a matrix from Hypre to SuiteSparse format.
int SuiteSparseSolve(SuiteSparse &SSData, HypreVector const &b, HypreVector &x, bool transpose=false)
Solves a linear system with SuiteSparse (matrix has already been factorized)