diff options
author | Peter Carbonetto | 2017-05-27 16:07:07 -0500 |
---|---|---|
committer | Peter Carbonetto | 2017-05-27 16:07:07 -0500 |
commit | 338bf7b7db8805515597d9e2d4b5dcbe2e40dfd1 (patch) | |
tree | ee0956354916c7795a5c2b656c4ff5405f09271f /src/Eigen/SuperLUSupport | |
parent | 94b4437dba1bd0e2767a73d0b79c5da9f393a1e3 (diff) | |
download | pangemma-338bf7b7db8805515597d9e2d4b5dcbe2e40dfd1.tar.gz |
Removed src/Eigen; instead, Eigen C++ library is downloaded separately. See Issue #42 for tests performed.
Diffstat (limited to 'src/Eigen/SuperLUSupport')
-rw-r--r-- | src/Eigen/SuperLUSupport | 59 |
1 files changed, 0 insertions, 59 deletions
diff --git a/src/Eigen/SuperLUSupport b/src/Eigen/SuperLUSupport deleted file mode 100644 index 575e14f..0000000 --- a/src/Eigen/SuperLUSupport +++ /dev/null @@ -1,59 +0,0 @@ -#ifndef EIGEN_SUPERLUSUPPORT_MODULE_H -#define EIGEN_SUPERLUSUPPORT_MODULE_H - -#include "SparseCore" - -#include "src/Core/util/DisableStupidWarnings.h" - -#ifdef EMPTY -#define EIGEN_EMPTY_WAS_ALREADY_DEFINED -#endif - -typedef int int_t; -#include <slu_Cnames.h> -#include <supermatrix.h> -#include <slu_util.h> - -// slu_util.h defines a preprocessor token named EMPTY which is really polluting, -// so we remove it in favor of a SUPERLU_EMPTY token. -// If EMPTY was already defined then we don't undef it. - -#if defined(EIGEN_EMPTY_WAS_ALREADY_DEFINED) -# undef EIGEN_EMPTY_WAS_ALREADY_DEFINED -#elif defined(EMPTY) -# undef EMPTY -#endif - -#define SUPERLU_EMPTY (-1) - -namespace Eigen { struct SluMatrix; } - -/** \ingroup Support_modules - * \defgroup SuperLUSupport_Module SuperLUSupport module - * - * This module provides an interface to the <a href="http://crd-legacy.lbl.gov/~xiaoye/SuperLU/">SuperLU</a> library. - * It provides the following factorization class: - * - class SuperLU: a supernodal sequential LU factorization. - * - class SuperILU: a supernodal sequential incomplete LU factorization (to be used as a preconditioner for iterative methods). - * - * \warning When including this module, you have to use SUPERLU_EMPTY instead of EMPTY which is no longer defined because it is too polluting. - * - * \code - * #include <Eigen/SuperLUSupport> - * \endcode - * - * In order to use this module, the superlu headers must be accessible from the include paths, and your binary must be linked to the superlu library and its dependencies. - * The dependencies depend on how superlu has been compiled. - * For a cmake based project, you can use our FindSuperLU.cmake module to help you in this task. - * - */ - -#include "src/misc/Solve.h" -#include "src/misc/SparseSolve.h" - -#include "src/SuperLUSupport/SuperLUSupport.h" - - -#include "src/Core/util/ReenableStupidWarnings.h" - -#endif // EIGEN_SUPERLUSUPPORT_MODULE_H |