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.

49 lines
1.7 KiB

  1. // This file is part of Eigen, a lightweight C++ template library
  2. // for linear algebra.
  3. //
  4. // This Source Code Form is subject to the terms of the Mozilla
  5. // Public License v. 2.0. If a copy of the MPL was not distributed
  6. // with this file, You can obtain one at http://mozilla.org/MPL/2.0/.
  7. #ifndef STORMEIGEN_PASTIXSUPPORT_MODULE_H
  8. #define STORMEIGEN_PASTIXSUPPORT_MODULE_H
  9. #include "SparseCore"
  10. #include "src/Core/util/DisableStupidWarnings.h"
  11. #include <complex.h>
  12. extern "C" {
  13. #include <pastix_nompi.h>
  14. #include <pastix.h>
  15. }
  16. #ifdef complex
  17. #undef complex
  18. #endif
  19. /** \ingroup Support_modules
  20. * \defgroup PaStiXSupport_Module PaStiXSupport module
  21. *
  22. * This module provides an interface to the <a href="http://pastix.gforge.inria.fr/">PaSTiX</a> library.
  23. * PaSTiX is a general \b supernodal, \b parallel and \b opensource sparse solver.
  24. * It provides the two following main factorization classes:
  25. * - class PastixLLT : a supernodal, parallel LLt Cholesky factorization.
  26. * - class PastixLDLT: a supernodal, parallel LDLt Cholesky factorization.
  27. * - class PastixLU : a supernodal, parallel LU factorization (optimized for a symmetric pattern).
  28. *
  29. * \code
  30. * #include <StormEigen/PaStiXSupport>
  31. * \endcode
  32. *
  33. * 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.
  34. * The dependencies depend on how PaSTiX has been compiled.
  35. * For a cmake based project, you can use our FindPaSTiX.cmake module to help you in this task.
  36. *
  37. */
  38. #include "src/PaStiXSupport/PaStiXSupport.h"
  39. #include "src/Core/util/ReenableStupidWarnings.h"
  40. #endif // STORMEIGEN_PASTIXSUPPORT_MODULE_H