1#include <pybind11/pybind11.h>
14 m.doc() =
"Python bindings for the SERiF project";
16 auto compMod = m.def_submodule(
"composition",
"Composition-module bindings");
19 auto constMod = m.def_submodule(
"constants",
"Constants-module bindings");
22 auto configMod = m.def_submodule(
"config",
"Configuration-module bindings");
25 auto eosMod = m.def_submodule(
"eos",
"EOS-module bindings");
28 auto mfemMod = m.def_submodule(
"mfem",
"MFEM bindings");
31 auto polytropeMod = m.def_submodule(
"polytrope",
"Polytrope-module bindings");
34 auto networkMod = m.def_submodule(
"network",
"Network-module bindings");
PYBIND11_MODULE(serif, m)
void register_comp_bindings(pybind11::module &comp_submodule)
void register_config_bindings(pybind11::module &config_submodule)
void register_const_bindings(pybind11::module &const_submodule)
void register_eos_bindings(pybind11::module &eos_submodule)
void register_mfem_bindings(py::module &mfem_submodule)
Declares functions to register MFEM core library components with pybind11.
void register_network_bindings(pybind11::module &network_submodule)
void register_polytrope_bindings(pybind11::module &polytrope_submodule)
Registers C++ classes and functions from the serif::polytrope namespace to Python.
Declares the function to register polytrope module C++ components with pybind11.