OGS
ProcessLib::SourceTerms::Python::PythonSourceTermPythonSideInterface Class Referenceabstract

Detailed Description

Base class for source terms. This class will get Python bindings and is intended to be to be derived in Python.

Definition at line 22 of file PythonSourceTermPythonSideInterface.h.

#include <PythonSourceTermPythonSideInterface.h>

Inheritance diagram for ProcessLib::SourceTerms::Python::PythonSourceTermPythonSideInterface:
[legend]

Public Member Functions

virtual std::pair< double, std::vector< double > > getFlux (double, std::array< double, 3 > const &, std::vector< double > const &) const =0
 
virtual ~PythonSourceTermPythonSideInterface ()=default
 

Constructor & Destructor Documentation

◆ ~PythonSourceTermPythonSideInterface()

virtual ProcessLib::SourceTerms::Python::PythonSourceTermPythonSideInterface::~PythonSourceTermPythonSideInterface ( )
virtualdefault

Member Function Documentation

◆ getFlux()

virtual std::pair< double, std::vector< double > > ProcessLib::SourceTerms::Python::PythonSourceTermPythonSideInterface::getFlux ( double ,
std::array< double, 3 > const & ,
std::vector< double > const &  ) const
pure virtual

Computes the flux for the provided arguments (time, position of the node, primary variables at the node).

Returns
flux Flux of the source term at that node and derivative of the flux w.r.t. all primary variables.

Implemented in ProcessLib::SourceTerms::Python::PythonSourceTermPythonSideInterfaceTrampoline.

Referenced by ProcessLib::SourceTerms::Python::pythonBindSourceTerm().


The documentation for this class was generated from the following file: