![]() |
OGS
|
|
#include "ogs_embedded_python.h"#include <pybind11/embed.h>#include <array>#include <cstdio>#include <filesystem>#include <memory>#include <optional>#include <string>#include <string_view>#include <vector>#include "BaseLib/Error.h"#include "BaseLib/Logging.h"#include "ProcessLib/BoundaryConditionAndSourceTerm/Python/BHEInflowPythonBoundaryConditionModule.h"#include "ProcessLib/BoundaryConditionAndSourceTerm/Python/PythonBoundaryConditionModule.h"#include "ProcessLib/BoundaryConditionAndSourceTerm/Python/PythonSourceTermModule.h"Go to the source code of this file.
Namespaces | |
| namespace | ApplicationsLib |
| namespace | ApplicationsLib::anonymous_namespace{ogs_embedded_python.cpp} |
Functions | |
| PYBIND11_EMBEDDED_MODULE (OpenGeoSys, m) | |
| pybind11::scoped_interpreter | ApplicationsLib::setupEmbeddedPython () |
| std::vector< std::filesystem::path > | ApplicationsLib::anonymous_namespace{ogs_embedded_python.cpp}::findAlternativeSitePackagesPaths (std::filesystem::path const &venv_path) |
| std::filesystem::path | ApplicationsLib::anonymous_namespace{ogs_embedded_python.cpp}::findSitePackagesPath (std::filesystem::path const &venv_path, int const emb_major, int const emb_minor) |
| Finds site-packages path in the virtual environment. | |
| void | ApplicationsLib::setupEmbeddedPythonVenvPaths () |
| PYBIND11_EMBEDDED_MODULE | ( | OpenGeoSys | , |
| m | ) |
Definition at line 23 of file ogs_embedded_python.cpp.
References ProcessLib::bheInflowpythonBindBoundaryCondition(), DBUG(), ProcessLib::pythonBindBoundaryCondition(), and ProcessLib::SourceTerms::Python::pythonBindSourceTerm().