Line data Source code
1 : // SPDX-FileCopyrightText: 2024 PairInteraction Developers 2 : // SPDX-License-Identifier: LGPL-3.0-or-later 3 : 4 : #include "./TransformationType.py.hpp" 5 : 6 : #include "pairinteraction/enums/TransformationType.hpp" 7 : 8 : #include <nanobind/nanobind.h> 9 : 10 : namespace nb = nanobind; 11 : using namespace pairinteraction; 12 : 13 2 : void bind_transformation_type(nb::module_ &m) { 14 4 : nb::enum_<TransformationType>(m, "TransformationType") 15 2 : .value("CANONICAL_ORDER", TransformationType::CANONICAL_ORDER) 16 2 : .value("SORT_BY_QUANTUM_NUMBER_F", TransformationType::SORT_BY_QUANTUM_NUMBER_F) 17 2 : .value("SORT_BY_QUANTUM_NUMBER_M", TransformationType::SORT_BY_QUANTUM_NUMBER_M) 18 2 : .value("SORT_BY_PARITY", TransformationType::SORT_BY_PARITY) 19 2 : .value("SORT_BY_ENERGY", TransformationType::SORT_BY_ENERGY) 20 : .value("ARBITRARY", TransformationType::ARBITRARY); 21 2 : }