GetFEM  5.4.2
getfem_superlu.h File Reference

SuperLU interface for getfem. More...

#include "getfem_config.h"
#include "gmm/gmm_kernel.h"

Go to the source code of this file.

Classes

class  gmm::SuperLU_factor< T >
 Factorization of a sparse matrix with SuperLU. More...
 

Functions

template<typename MAT , typename V1 , typename V2 >
int gmm::SuperLU_solve (const MAT &A, const V1 &X, const V2 &B, double &rcond_, int permc_spec=3)
 solve a sparse linear system AX=B (float, double, complex<float> or complex<double>) via SuperLU. More...
 

Detailed Description

SuperLU interface for getfem.

Author
Julien Pommier Julie.nosp@m.n.Po.nosp@m.mmier.nosp@m.@ins.nosp@m.a-tou.nosp@m.lous.nosp@m.e.fr
Date
August 2004. We do not use gmm_superlu_interface.h for a good reason. This file does not include any of the superlu headers, hence when getfem is installed, it does not need to install the superlu headers.

Definition in file getfem_superlu.h.

Function Documentation

◆ SuperLU_solve()

template<typename MAT , typename V1 , typename V2 >
int gmm::SuperLU_solve ( const MAT &  A,
const V1 &  X,
const V2 &  B,
double &  rcond_,
int  permc_spec = 3 
)

solve a sparse linear system AX=B (float, double, complex<float> or complex<double>) via SuperLU.

Parameters
Athe matrix (a copy is made if A is not a gmm::csc_matrix)
Xthe solution.
Bthe right hand side.
rcond_contains on output an estimate of the condition number of A.
permc_specspecify the kind of renumbering than SuperLU should do.

Definition at line 64 of file getfem_superlu.h.