You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

46 lines
1.4 KiB

  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