Eigen  3.4.90 (git rev 5a9f66fb35d03a4da9ef8976e67a61b30aa16dcf)
 
Loading...
Searching...
No Matches
SuperLUSupport
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
13#include "src/Core/util/DisableStupidWarnings.h"
14
15#ifdef EMPTY
16#define EIGEN_EMPTY_WAS_ALREADY_DEFINED
17#endif
18
19typedef 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
36namespace Eigen {
37struct SluMatrix;
38}
39
64// IWYU pragma: begin_exports
65#include "src/SuperLUSupport/SuperLUSupport.h"
66// IWYU pragma: end_exports
67
68#include "src/Core/util/ReenableStupidWarnings.h"
69
70#endif // EIGEN_SUPERLUSUPPORT_MODULE_H
Namespace containing all symbols from the Eigen library.
Definition Core:137