13#include <pybind11/embed.h>
22 DBUG(
"Binding Python module OpenGeoSys.");
29#ifndef OGS_BUILD_SHARED_LIBS
46#ifndef OGS_BUILD_SHARED_LIBS
51 mark_used(&pybind11_init_impl_OpenGeoSys);
58 constexpr bool init_signal_handlers =
false;
59 return pybind11::scoped_interpreter{init_signal_handlers};
void DBUG(fmt::format_string< Args... > fmt, Args &&... 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)