OGS
|
Base class for BHENetwork. This class will get Python bindings and is intended to be to be derived in Python.
Definition at line 18 of file BHEInflowPythonBoundaryConditionPythonSideInterface.h.
#include <BHEInflowPythonBoundaryConditionPythonSideInterface.h>
Public Member Functions | |
virtual std::tuple< double, std::vector< double >, std::vector< double >, std::vector< int >, std::vector< double > > | initializeDataContainer () const |
virtual std::tuple< bool, bool, std::vector< double >, std::vector< double > > | tespySolver (double, std::vector< double > const &, std::vector< double > const &) const |
virtual std::tuple< std::vector< double >, std::vector< double > > | serverCommunication (double, double, std::vector< double > const &, std::vector< double > const &, std::vector< double > const &) const |
bool | isOverriddenEssential () const |
bool | isOverriddenTespy () const |
bool | isOverriddenServerCommunication () const |
virtual | ~BHEInflowPythonBoundaryConditionPythonSideInterface ()=default |
Public Attributes | |
std::tuple< double, std::vector< double >, std::vector< double >, std::vector< int >, std::vector< double > > | dataframe_network |
Private Attributes | |
bool | _overridden_essential = true |
bool | _overridden_tespy = true |
bool | _overridden_server_communication = true |
|
virtualdefault |
|
inlinevirtual |
Initialize network dataframe return a tuple (time, BHE inflow temperature, BHE outflow temperature, BHE outflow bc node id, BHE flowrate) set at that position and the parameters of the BHE network.
Reimplemented in ProcessLib::BHEInflowPythonBoundaryConditionPythonSideInterfaceTrampoline.
Definition at line 32 of file BHEInflowPythonBoundaryConditionPythonSideInterface.h.
References _overridden_essential.
|
inline |
Tells if initializeDataContainer() has been overridden in the derived class in Python.
Definition at line 89 of file BHEInflowPythonBoundaryConditionPythonSideInterface.h.
References _overridden_essential.
|
inline |
Tells if serverCommunication() has been overridden in the derived class in Python.
Definition at line 101 of file BHEInflowPythonBoundaryConditionPythonSideInterface.h.
References _overridden_server_communication.
Referenced by ProcessLib::HeatTransportBHE::HeatTransportBHEProcess::postTimestepConcreteProcess().
|
inline |
Tells if tespySolver() has been overridden in the derived class in Python.
Definition at line 95 of file BHEInflowPythonBoundaryConditionPythonSideInterface.h.
References _overridden_tespy.
Referenced by ProcessLib::HeatTransportBHE::HeatTransportBHEProcess::postIterationConcreteProcess().
|
inlinevirtual |
transfer BHE network dataframe to python script where function serverCommunication takes t, dt, Tin_val, Tout_val, BHE_flowrate as arguments and returns updated Tin_val and flowrate after each time step specific use case: interface between OGS and SimulationX via TCP/IP where OGS is connected as one client
Reimplemented in ProcessLib::BHEInflowPythonBoundaryConditionPythonSideInterfaceTrampoline.
Definition at line 74 of file BHEInflowPythonBoundaryConditionPythonSideInterface.h.
References _overridden_server_communication.
Referenced by ProcessLib::HeatTransportBHE::HeatTransportBHEProcess::postTimestepConcreteProcess().
|
inlinevirtual |
transfer BHE network dataframe to TESPy and get Tin and flow rate from TESPy
Reimplemented in ProcessLib::BHEInflowPythonBoundaryConditionPythonSideInterfaceTrampoline.
Definition at line 54 of file BHEInflowPythonBoundaryConditionPythonSideInterface.h.
References _overridden_tespy.
Referenced by ProcessLib::bheInflowpythonBindBoundaryCondition(), and ProcessLib::HeatTransportBHE::HeatTransportBHEProcess::postIterationConcreteProcess().
|
mutableprivate |
Tells if initializeDataContainer() has been overridden in the derived class in Python.
Definition at line 119 of file BHEInflowPythonBoundaryConditionPythonSideInterface.h.
Referenced by initializeDataContainer(), and isOverriddenEssential().
|
mutableprivate |
Tells if serverCommunication() has been overridden in the derived class in Python.
Definition at line 125 of file BHEInflowPythonBoundaryConditionPythonSideInterface.h.
Referenced by isOverriddenServerCommunication(), and serverCommunication().
|
mutableprivate |
Tells if tespySolver() has been overridden in the derived class in Python.
Definition at line 122 of file BHEInflowPythonBoundaryConditionPythonSideInterface.h.
Referenced by isOverriddenTespy(), and tespySolver().
std::tuple<double, std::vector<double>, std::vector<double>, std::vector<int>, std::vector<double> > ProcessLib::BHEInflowPythonBoundaryConditionPythonSideInterface::dataframe_network |
Definition at line 112 of file BHEInflowPythonBoundaryConditionPythonSideInterface.h.
Referenced by ProcessLib::BHEInflowPythonBoundaryCondition< BHEType >::BHEInflowPythonBoundaryCondition(), ProcessLib::BHEInflowPythonBoundaryCondition< BHEType >::getEssentialBCValues(), ProcessLib::HeatTransportBHE::HeatTransportBHEProcess::postIterationConcreteProcess(), and ProcessLib::HeatTransportBHE::HeatTransportBHEProcess::postTimestepConcreteProcess().