OGS
ogs_embedded_python.cpp File Reference

Detailed Description

Definition in file ogs_embedded_python.cpp.

Include dependency graph for ogs_embedded_python.cpp:

Go to the source code of this file.

Namespaces

namespace  ApplicationsLib
 

Functions

 PYBIND11_EMBEDDED_MODULE (OpenGeoSys, m)
 
template<typename T >
void mark_used (T p)
 
pybind11::scoped_interpreter ApplicationsLib::setupEmbeddedPython ()
 

Function Documentation

◆ mark_used()

template<typename T >
void mark_used ( T p)

Definition at line 34 of file ogs_embedded_python.cpp.

35{
36 volatile T vp = p;
37 vp = vp;
38}

Referenced by ApplicationsLib::setupEmbeddedPython().

◆ PYBIND11_EMBEDDED_MODULE()

PYBIND11_EMBEDDED_MODULE ( OpenGeoSys ,
m  )

Definition at line 20 of file ogs_embedded_python.cpp.

21{
22 DBUG("Binding Python module OpenGeoSys.");
23
27}
void DBUG(fmt::format_string< Args... > fmt, Args &&... args)
Definition Logging.h:30
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.

References ProcessLib::bheInflowpythonBindBoundaryCondition(), DBUG(), ProcessLib::pythonBindBoundaryCondition(), and ProcessLib::SourceTerms::Python::pythonBindSourceTerm().