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
6
namespace
pairinteraction
{
7
8
struct
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
pairinteraction
Definition:
Basis.hpp:18
pairinteraction::Info
Definition:
Info.hpp:8
pairinteraction::Info::has_feast
bool has_feast
Definition:
Info.hpp:25
pairinteraction::Info::has_eigen
bool has_eigen
Definition:
Info.hpp:10
pairinteraction::Info::has_lapacke_evr
bool has_lapacke_evr
Definition:
Info.hpp:18
pairinteraction::Info::has_lapacke_evd
bool has_lapacke_evd
Definition:
Info.hpp:17
src
cpp
include
pairinteraction
Info.hpp
Generated on Sun May 4 2025 09:11:20 for pairinteraction by
1.9.4