OGS
|
Base class for boundary conditions. This class will get Python bindings and is intended to be to be derived in Python.
Definition at line 18 of file PythonBoundaryConditionPythonSideInterface.h.
#include <PythonBoundaryConditionPythonSideInterface.h>
Public Member Functions | |
virtual std::pair< bool, double > | getDirichletBCValue (double, std::array< double, 3 >, std::size_t, std::vector< double > const &) const |
virtual std::tuple< bool, double, std::vector< double > > | getFlux (double, std::array< double, 3 >, std::vector< double > const &) const |
bool | isOverriddenEssential () const |
bool | isOverriddenNatural () const |
virtual | ~PythonBoundaryConditionPythonSideInterface ()=default |
Private Attributes | |
bool | _overridden_essential = true |
bool | _overridden_natural = true |
Tells if getFlux() has been overridden in the derived class in Python. | |
|
virtualdefault |
|
inlinevirtual |
Computes Dirichlet boundary condition values for the provided arguments (time, position of the node, node id, primary variables at the node).
Reimplemented in ProcessLib::PythonBoundaryConditionPythonSideInterfaceTrampoline.
Definition at line 29 of file PythonBoundaryConditionPythonSideInterface.h.
References _overridden_essential.
Referenced by ProcessLib::pythonBindBoundaryCondition().
|
inlinevirtual |
Computes the flux for the provided arguments (time, position, primary variables at that position).
Reimplemented in ProcessLib::PythonBoundaryConditionPythonSideInterfaceTrampoline.
Definition at line 45 of file PythonBoundaryConditionPythonSideInterface.h.
References _overridden_natural.
Referenced by ProcessLib::PythonBcData::getFlagAndFluxAndDFlux(), and ProcessLib::pythonBindBoundaryCondition().
|
inline |
Tells if getDirichletBCValue() has been overridden in the derived class in Python.
Definition at line 60 of file PythonBoundaryConditionPythonSideInterface.h.
References _overridden_essential.
|
inline |
Tells if getFlux() has been overridden in the derived class in Python.
Definition at line 65 of file PythonBoundaryConditionPythonSideInterface.h.
References _overridden_natural.
Referenced by ProcessLib::PythonBcData::getFlagAndFluxAndDFlux().
|
mutableprivate |
Tells if getDirichletBCValue() has been overridden in the derived class in Python.
Definition at line 72 of file PythonBoundaryConditionPythonSideInterface.h.
Referenced by getDirichletBCValue(), and isOverriddenEssential().
|
mutableprivate |
Tells if getFlux() has been overridden in the derived class in Python.
Definition at line 74 of file PythonBoundaryConditionPythonSideInterface.h.
Referenced by getFlux(), and isOverriddenNatural().