pairinteraction
A Rydberg Interaction Calculator
Info.hpp
Go to the documentation of this file.
1// SPDX-FileCopyrightText: 2025 Pairinteraction Developers
2// SPDX-License-Identifier: LGPL-3.0-or-later
3
4#pragma once
5
6namespace pairinteraction {
7
8struct Info {
9 // Eigen diagonalizer is always available
10 bool has_eigen = true;
11
12 // LAPACKE diagonalizers are available if compiled with either MKL or LAPACKE
13#if defined(WITH_MKL) || defined(WITH_LAPACKE)
14 bool has_lapacke_evd = true;
15 bool has_lapacke_evr = true;
16#else
17 bool has_lapacke_evd = false;
18 bool has_lapacke_evr = false;
19#endif
20
21 // FEAST diagonalizer is only available if compiled with MKL
22#if defined(WITH_MKL)
23 bool has_feast = true;
24#else
25 bool has_feast = false;
26#endif
27};
28
29} // namespace pairinteraction