OGS
PythonSourceTermPythonSideInterface.h
Go to the documentation of this file.
1
// SPDX-FileCopyrightText: Copyright (c) OpenGeoSys Community (opengeosys.org)
2
// SPDX-License-Identifier: BSD-3-Clause
3
4
#pragma once
5
6
namespace
ProcessLib
7
{
8
namespace
SourceTerms
9
{
10
namespace
Python
11
{
15
class
PythonSourceTermPythonSideInterface
16
{
17
public
:
25
virtual
std::pair<double, std::vector<double>>
getFlux
(
26
double
/*t*/
, std::array<double, 3>
const
&
/*x*/
,
27
std::vector<double>
const
&
/*primary_variables*/
)
const
= 0;
28
29
virtual
~PythonSourceTermPythonSideInterface
() =
default
;
30
};
31
}
// namespace Python
32
}
// namespace SourceTerms
33
}
// namespace ProcessLib
ProcessLib::SourceTerms::Python::PythonSourceTermPythonSideInterface
Definition
PythonSourceTermPythonSideInterface.h:16
ProcessLib::SourceTerms::Python::PythonSourceTermPythonSideInterface::getFlux
virtual std::pair< double, std::vector< double > > getFlux(double, std::array< double, 3 > const &, std::vector< double > const &) const =0
ProcessLib::SourceTerms::Python::PythonSourceTermPythonSideInterface::~PythonSourceTermPythonSideInterface
virtual ~PythonSourceTermPythonSideInterface()=default
ProcessLib::SourceTerms::Python
Definition
PythonSourceTerm.cpp:22
ProcessLib::SourceTerms
Definition
PythonSourceTerm.cpp:20
ProcessLib
Definition
ProjectData.h:40
ProcessLib
BoundaryConditionAndSourceTerm
Python
PythonSourceTermPythonSideInterface.h
Generated by
1.14.0