OGS
CreatePythonSourceTerm.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#include <memory>
5#include <vector>
6
7namespace BaseLib
8{
9class ConfigTree;
10}
11
12namespace MeshLib
13{
14class Mesh;
15}
16
17namespace NumLib
18{
20}
21
22namespace ProcessLib
23{
24class SourceTerm;
25class ProcessVariable;
26
27std::unique_ptr<SourceTerm> createPythonSourceTerm(
28 BaseLib::ConfigTree const& config, MeshLib::Mesh const& source_term_mesh,
29 std::unique_ptr<NumLib::LocalToGlobalIndexMap> dof_table,
30 int const variable_id, int const component_id,
31 unsigned const integration_order, unsigned const shapefunction_order,
32 unsigned const global_dim,
33 std::vector<std::reference_wrapper<ProcessVariable>> const&
34 all_process_variables_for_this_process);
35
36} // namespace ProcessLib
std::unique_ptr< SourceTerm > createPythonSourceTerm(BaseLib::ConfigTree const &config, MeshLib::Mesh const &source_term_mesh, std::unique_ptr< NumLib::LocalToGlobalIndexMap > dof_table, int const variable_id, int const component_id, unsigned const integration_order, unsigned const shapefunction_order, unsigned const global_dim, std::vector< std::reference_wrapper< ProcessVariable > > const &all_process_variables_for_this_process)