Line data Source code
1 : // SPDX-FileCopyrightText: 2025 Pairinteraction Developers 2 : // SPDX-License-Identifier: LGPL-3.0-or-later 3 : 4 : #include "pairinteraction/Info.hpp" 5 : 6 : #include "./Info.py.hpp" 7 : 8 : #include <nanobind/nanobind.h> 9 : 10 : namespace nb = nanobind; 11 : using namespace pairinteraction; 12 : 13 1 : void bind_info(nb::module_ &m) { 14 2 : nb::class_<Info>(m, "Info") 15 1 : .def_ro("has_eigen", &Info::has_eigen) 16 1 : .def_ro("has_lapacke_evd", &Info::has_lapacke_evd) 17 1 : .def_ro("has_lapacke_evr", &Info::has_lapacke_evr) 18 : .def_ro("has_feast", &Info::has_feast); 19 1 : }