NeoPZ
TPZLapack.h
Go to the documentation of this file.
1 #ifndef TPZLapackH
2 #define TPZLapackH
3 
4 #ifdef USING_LAPACK
5 #ifdef USING_MKL
6 #include <mkl.h>
7 typedef MKL_Complex16 vardoublecomplex;
8 typedef MKL_Complex8 varfloatcomplex;
9 
10 #elif MACOSX
11 #include <Accelerate/Accelerate.h>
12 typedef __CLPK_doublecomplex vardoublecomplex;
13 typedef __CLPK_complex varfloatcomplex;
14 
15 #else
16 #include <complex>
17 
18 #define lapack_complex_float std::complex<float>
19 #define lapack_complex_double std::complex<double>
20 
21 typedef lapack_complex_double vardoublecomplex;
22 typedef lapack_complex_float varfloatcomplex;
23 
24 #include "cblas.h"
25 #include "lapacke.h"
26 
27 #endif
28 #endif
29 
30 #endif