feat(bindings): ported most bindings over from serif

This commit is contained in:
2025-07-22 13:51:43 -04:00
parent 706f47f807
commit dd0025232a
28 changed files with 1252 additions and 0 deletions

23
src-pybind/bindings.cpp Normal file
View File

@@ -0,0 +1,23 @@
#include <pybind11/pybind11.h>
#include <string>
#include "constants/bindings.h"
#include "composition/bindings.h"
#include "config/bindings.h"
PYBIND11_MODULE(fourdst, m) {
m.doc() = "Python bindings for the fourdst utility modules which are a part of the 4D-STAR project.";
auto compMod = m.def_submodule("composition", "Composition-module bindings");
register_comp_bindings(compMod);
auto atomicMod = m.def_submodule("atomic", "Species bindings");
register_species_bindings(atomicMod);
auto constMod = m.def_submodule("constants", "Constants-module bindings");
register_const_bindings(constMod);
auto configMod = m.def_submodule("config", "Configuration-module bindings");
register_config_bindings(configMod);
}