OGS
|
Trampoline class allowing methods of class PythonSourceTermPythonSideInterface to be overridden on the Python side. Cf. https://pybind11.readthedocs.io/en/stable/advanced/classes.html
Definition at line 28 of file PythonSourceTermModule.cpp.
Public Member Functions | |
std::pair< double, std::vector< double > > | getFlux (double t, std::array< double, 3 > const &x, std::vector< double > const &primary_variables) const override |
Public Member Functions inherited from ProcessLib::SourceTerms::Python::PythonSourceTermPythonSideInterface | |
virtual | ~PythonSourceTermPythonSideInterface ()=default |
|
inlineoverridevirtual |
Computes the flux for the provided arguments (time, position of the node, primary variables at the node).
Implements ProcessLib::SourceTerms::Python::PythonSourceTermPythonSideInterface.
Definition at line 35 of file PythonSourceTermModule.cpp.
References getFlux().
Referenced by getFlux().