Logo  0.95.0-final
Finite Element Embedded Library and Language in C++
Feel++ Feel++ on Github Feel++ community
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
Feel::SolverUMFPACK Class Reference

#include <solverumfpack.hpp>

Detailed Description

Interface for the UMFPACK Solver.

UMFPACK is a direct Solver for (un)symmetric problem $ A x = b $.

Author
Christophe Prud'homme

Public Types

Typedefs
typedef double value_type
 
typedef MatrixTriplet< double > matrix_type
 
typedef ublas::vector< value_type > array_type
 

Public Member Functions

Constructors, destructor
 SolverUMFPACK ()
 
 SolverUMFPACK (SolverUMFPACK const &umfpackSolver)
 
 ~SolverUMFPACK ()
 
Mutators
void setMatrix (matrix_type const &m)
 
void setStrategy (int strategy)
 
Methods
void solve (array_type &__X, array_type const &__B)
 solve A X = B More...
 
void reportInfo ()
 report some info about umfpack
 
void reportStatus (int status)
 

Constructor & Destructor Documentation

Feel::SolverUMFPACK::SolverUMFPACK ( )

default constructor

it sets the umfpack print level to the maximum (ie 6)

Member Function Documentation

void Feel::SolverUMFPACK::reportStatus ( int  status)

report status of umfpack

Parameters
statusstatus integer returned by umfpack routines
void Feel::SolverUMFPACK::setStrategy ( int  strategy)

set the umfpack strategy possible values are :

  • UMFPACK_STRATEGY_AUTO
  • UMFPACK_STRATEGY_UNSYMMETRIC
  • UMFPACK_STRATEGY_SYMMETRIC
  • UMFPACK_STRATEGY_2BY2
See Also
UMFPACK user guide for further details
void Feel::SolverUMFPACK::solve ( array_type &  __X,
array_type const &  __B 
)

solve A X = B

Parameters
__Xthe solution
__Bthe right hand side
Returns
the number of iterations

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

Generated on Sun Dec 22 2013 13:11:21 for Feel++ by doxygen 1.8.5