SuperLUSupport
Go to the documentation of this file.
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 
8 #ifndef EIGEN_SUPERLUSUPPORT_MODULE_H
9 #define EIGEN_SUPERLUSUPPORT_MODULE_H
10 
11 #include "SparseCore"
12 
14 
15 #ifdef EMPTY
16 #define EIGEN_EMPTY_WAS_ALREADY_DEFINED
17 #endif
18 
19 typedef int int_t;
20 #include <slu_Cnames.h>
21 #include <supermatrix.h>
22 #include <slu_util.h>
23 
24 // slu_util.h defines a preprocessor token named EMPTY which is really polluting,
25 // so we remove it in favor of a SUPERLU_EMPTY token.
26 // If EMPTY was already defined then we don't undef it.
27 
28 #if defined(EIGEN_EMPTY_WAS_ALREADY_DEFINED)
29 # undef EIGEN_EMPTY_WAS_ALREADY_DEFINED
30 #elif defined(EMPTY)
31 # undef EMPTY
32 #endif
33 
34 #define SUPERLU_EMPTY (-1)
35 
36 namespace Eigen { struct SluMatrix; }
37 
60 // IWYU pragma: begin_exports
62 // IWYU pragma: end_exports
63 
65 
66 #endif // EIGEN_SUPERLUSUPPORT_MODULE_H
int int_t
Definition: SuperLUSupport:19
: InteropHeaders
Definition: Core:139