1 /*
2 XLiFE++ is an extended library of finite elements written in C++
3     Copyright (C) 2014  Lunéville, Eric; Kielbasiewicz, Nicolas; Lafranche, Yvon; Nguyen, Manh-Ha; Chambeyron, Colin
4 
5     This program is free software: you can redistribute it and/or modify
6     it under the terms of the GNU General Public License as published by
7     the Free Software Foundation, either version 3 of the License, or
8     (at your option) any later version.
9     This program is distributed in the hope that it will be useful,
10     but WITHOUT ANY WARRANTY; without even the implied warranty of
11     MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
12     GNU General Public License for more details.
13     You should have received a copy of the GNU General Public License
14     along with this program.  If not, see <http://www.gnu.org/licenses/>.
15  */
16 
17 /*!
18   \file UmfPackTypeDefs.hpp
19   \authors Manh Ha NGUYEN
20   \since 29 August 2013
21   \date 29 August 2013
22 
23   \brief Some constant values of Umfpack library
24 */
25 
26 #ifndef XLIFEPP_UMFPACK_TYPEDEF_HPP
27 #define XLIFEPP_UMFPACK_TYPEDEF_HPP
28 
29 #define UMFPACK_INFO 90
30 #define UMFPACK_CONTROL 20
31 
32 #ifndef SuiteSparseLong
33 #ifdef COMPILER_IS_32_BITS
34     #define SuiteSparseLong long
35     #define SuiteSparse_long_max LONG_MAX
36     #define SuiteSparse_long_idd "ld"
37 #else
38 //    #define SuiteSparseLong __int64
39 //    #define SuiteSparse_long_max _I64_MAX
40 //    #define SuiteSparse_long_idd "I64d"
41     #define SuiteSparseLong long long
42     #define SuiteSparse_long_max LONG_LONG_MAX
43     #define SuiteSparse_long_idd "I64d"
44 #endif
45 #define SuiteSparse_long_id "%" SuiteSparse_long_idd
46 #endif
47 
48 #endif /* XLIFEPP_UMFPACK_TYPEDEF_HPP */
49 
50