12 #include <pybind11/embed.h>
21 DBUG(
"Binding Python module OpenGeoSys.");
28 #ifndef OGS_BUILD_SHARED_LIBS
45 #ifndef OGS_BUILD_SHARED_LIBS
50 mark_used(&pybind11_init_impl_OpenGeoSys);
57 constexpr
bool init_signal_handlers =
false;
58 return pybind11::scoped_interpreter{init_signal_handlers};
void DBUG(char const *fmt, Args const &... args)
pybind11::scoped_interpreter setupEmbeddedPython()
void pythonBindSourceTerm(pybind11::module &m)
Creates Python bindings for the Python source term class.
void pythonBindBoundaryCondition(pybind11::module &m)
Creates Python bindings for the Python BC class.
void bheInflowpythonBindBoundaryCondition(pybind11::module &m)
Creates BHE Inflow Python bindings for the Python BC class.
PYBIND11_EMBEDDED_MODULE(OpenGeoSys, m)