BornAgain  1.19.0
Simulate and fit neutron and x-ray scattering at grazing incidence
EigenCore.h
Go to the documentation of this file.
1 // ************************************************************************************************
2 //
3 // BornAgain: simulate and fit reflection and scattering
4 //
5 //! @file Base/Vector/EigenCore.h
6 //! @brief Include to deal with Eigen alignment centrally
7 //!
8 //! @homepage http://www.bornagainproject.org
9 //! @license GNU General Public License v3 or higher (see COPYING)
10 //! @copyright Forschungszentrum Jülich GmbH 2018
11 //! @authors Scientific Computing Group at MLZ (see CITATION, AUTHORS)
12 //
13 // ************************************************************************************************
14 
15 #ifdef SWIG
16 #error no need to expose this header to Swig
17 #endif
18 
19 #ifndef USER_API
20 #ifndef BORNAGAIN_BASE_VECTOR_EIGENCORE_H
21 #define BORNAGAIN_BASE_VECTOR_EIGENCORE_H
22 
23 // This include file is introduced to deal with Eigen alignment
24 // see http://eigen.tuxfamily.org/dox-devel/group__TopicStructHavingEigenMembers.html
25 
26 #ifndef SWIG
27 #ifdef _WIN32
28 #include <Eigen/Core>
29 #else
30 #pragma GCC diagnostic push
31 #pragma GCC diagnostic ignored "-Wdeprecated-declarations"
32 #include <Eigen/Core>
33 #pragma GCC diagnostic pop
34 #endif
35 #endif
36 
37 #endif // BORNAGAIN_BASE_VECTOR_EIGENCORE_H
38 #endif // USER_API