OGS
|
Trampoline class allowing methods of class PythonBoundaryConditionPythonSideInterface to be overridden on the Python side. Cf. https://pybind11.readthedocs.io/en/stable/advanced/classes.html
Definition at line 22 of file PythonBoundaryConditionModule.cpp.
Public Member Functions | |
std::pair< bool, double > | getDirichletBCValue (double t, std::array< double, 3 > x, std::size_t node_id, std::vector< double > const &primary_variables) const override |
std::tuple< bool, double, std::vector< double > > | getFlux (double t, std::array< double, 3 > x, std::vector< double > const &primary_variables) const override |
Public Member Functions inherited from ProcessLib::PythonBoundaryConditionPythonSideInterface | |
bool | isOverriddenEssential () const |
bool | isOverriddenNatural () const |
virtual | ~PythonBoundaryConditionPythonSideInterface ()=default |
|
inlineoverridevirtual |
Computes Dirichlet boundary condition values for the provided arguments (time, position of the node, node id, primary variables at the node).
Reimplemented from ProcessLib::PythonBoundaryConditionPythonSideInterface.
Definition at line 29 of file PythonBoundaryConditionModule.cpp.
References getDirichletBCValue().
Referenced by getDirichletBCValue().
|
inlineoverridevirtual |
Computes the flux for the provided arguments (time, position, primary variables at that position).
Reimplemented from ProcessLib::PythonBoundaryConditionPythonSideInterface.
Definition at line 39 of file PythonBoundaryConditionModule.cpp.
References getFlux().
Referenced by getFlux().