PaStiXSupport 1.4 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647
  1. #ifndef EIGEN_PASTIXSUPPORT_MODULE_H
  2. #define EIGEN_PASTIXSUPPORT_MODULE_H
  3. #include "SparseCore"
  4. #include "src/Core/util/DisableStupidWarnings.h"
  5. #include <complex.h>
  6. extern "C" {
  7. #include <pastix_nompi.h>
  8. #include <pastix.h>
  9. }
  10. #ifdef complex
  11. #undef complex
  12. #endif
  13. /** \ingroup Support_modules
  14. * \defgroup PaStiXSupport_Module PaStiXSupport module
  15. *
  16. * This module provides an interface to the <a href="http://pastix.gforge.inria.fr/">PaSTiX</a> library.
  17. * PaSTiX is a general \b supernodal, \b parallel and \b opensource sparse solver.
  18. * It provides the two following main factorization classes:
  19. * - class PastixLLT : a supernodal, parallel LLt Cholesky factorization.
  20. * - class PastixLDLT: a supernodal, parallel LDLt Cholesky factorization.
  21. * - class PastixLU : a supernodal, parallel LU factorization (optimized for a symmetric pattern).
  22. *
  23. * \code
  24. * #include <Eigen/PaStiXSupport>
  25. * \endcode
  26. *
  27. * In order to use this module, the PaSTiX headers must be accessible from the include paths, and your binary must be linked to the PaSTiX library and its dependencies.
  28. * The dependencies depend on how PaSTiX has been compiled.
  29. * For a cmake based project, you can use our FindPaSTiX.cmake module to help you in this task.
  30. *
  31. */
  32. #include "src/misc/Solve.h"
  33. #include "src/misc/SparseSolve.h"
  34. #include "src/PaStiXSupport/PaStiXSupport.h"
  35. #include "src/Core/util/ReenableStupidWarnings.h"
  36. #endif // EIGEN_PASTIXSUPPORT_MODULE_H