GetFEM++  5.3
gmm::SuperLU_factor< T > Class Template Reference

Factorization of a sparse matrix with SuperLU. More...

#include <getfem_superlu.h>

Public Member Functions

template<class MAT >
void build_with (const MAT &A, int permc_spec=3)
 Do the factorization of the supplied sparse matrix. More...
 
template<typename VECTX , typename VECTB >
void solve (const VECTX &X, const VECTB &B, int transp=LU_NOTRANSP) const
 After factorization, do the triangular solves. More...
 

Detailed Description

template<class T>
class gmm::SuperLU_factor< T >

Factorization of a sparse matrix with SuperLU.

This class can be used as a preconditioner for gmm iterative solvers.

Definition at line 84 of file getfem_superlu.h.

Member Function Documentation

template<class T>
template<class MAT >
void gmm::SuperLU_factor< T >::build_with ( const MAT &  A,
int  permc_spec = 3 
)
inline

Do the factorization of the supplied sparse matrix.

Definition at line 90 of file getfem_superlu.h.

template<class T>
template<typename VECTX , typename VECTB >
void gmm::SuperLU_factor< T >::solve ( const VECTX &  X,
const VECTB &  B,
int  transp = LU_NOTRANSP 
) const
inline

After factorization, do the triangular solves.

transp = LU_NOTRANSP -> solves Ax = B transp = LU_TRANSP -> solves A'x = B transp = LU_CONJUGATED -> solves conj(A)X = B

Definition at line 103 of file getfem_superlu.h.


The documentation for this class was generated from the following files: