GEOSX
Namespaces | Functions
PetscSuiteSparse.hpp File Reference
#include "common/DataTypes.hpp"
#include "linearAlgebra/interfaces/petsc/PetscMatrix.hpp"
#include "linearAlgebra/interfaces/direct/SuiteSparse.hpp"

Go to the source code of this file.

Namespaces

 geosx
 

Functions

void geosx::ConvertPetscToSuiteSparseMatrix (PetscMatrix const &matrix, SuiteSparse &SSData)
 Converts a matrix from Petsc to SuiteSparse format. More...
 
int geosx::SuiteSparseSolve (SuiteSparse &SSData, PetscVector const &b, PetscVector &x, bool transpose=false)
 Solves a linear system with SuiteSparse (matrix has already been factorized) More...
 
real64 geosx::PetscSuiteSparseCond (PetscMatrix const &matrix, SuiteSparse &SSData)
 Computes an accurate condition number (time consuming function!!!) More...