OGS
|
A boundary condition whose values are computed by a Python script.
Definition at line 32 of file BHEInflowPythonBoundaryCondition.h.
#include <BHEInflowPythonBoundaryCondition.h>
Public Member Functions | |
BHEInflowPythonBoundaryCondition (std::pair< GlobalIndexType, GlobalIndexType > &&in_out_global_indices, BHEType &bhe, BHEInflowPythonBoundaryConditionPythonSideInterface &py_bc_object) | |
void | getEssentialBCValues (const double t, const GlobalVector &, NumLib::IndexValueVector< GlobalIndexType > &bc_values) const override |
Writes the values of essential BCs to bc_values . | |
Public Member Functions inherited from ProcessLib::BoundaryCondition | |
virtual void | applyNaturalBC (const double, std::vector< GlobalVector * > const &, int const, GlobalMatrix *, GlobalVector &, GlobalMatrix *) |
virtual void | preTimestep (const double, std::vector< GlobalVector * > const &, int const) |
virtual void | postTimestep (const double, std::vector< GlobalVector * > const &, int const) |
virtual | ~BoundaryCondition ()=default |
Private Attributes | |
std::pair< GlobalIndexType, GlobalIndexType > const | _in_out_global_indices |
BHEType & | _bhe |
BHEInflowPythonBoundaryConditionPythonSideInterface & | _py_bc_object |
|
inline |
Definition at line 35 of file BHEInflowPythonBoundaryCondition.h.
References ProcessLib::BHEInflowPythonBoundaryCondition< BHEType >::_in_out_global_indices, ProcessLib::BHEInflowPythonBoundaryCondition< BHEType >::_py_bc_object, and ProcessLib::BHEInflowPythonBoundaryConditionPythonSideInterface::dataframe_network.
|
inlineoverridevirtual |
Writes the values of essential BCs to bc_values
.
Reimplemented from ProcessLib::BoundaryCondition.
Definition at line 50 of file BHEInflowPythonBoundaryCondition.h.
References ProcessLib::BHEInflowPythonBoundaryCondition< BHEType >::_bhe, ProcessLib::BHEInflowPythonBoundaryCondition< BHEType >::_in_out_global_indices, ProcessLib::BHEInflowPythonBoundaryCondition< BHEType >::_py_bc_object, ProcessLib::BHEInflowPythonBoundaryConditionPythonSideInterface::dataframe_network, NumLib::IndexValueVector< typename >::ids, and NumLib::IndexValueVector< typename >::values.
|
private |
Definition at line 89 of file BHEInflowPythonBoundaryCondition.h.
Referenced by ProcessLib::BHEInflowPythonBoundaryCondition< BHEType >::getEssentialBCValues().
|
private |
|
private |