OGS
CreateSourceTerm.h
Go to the documentation of this file.
1
11#pragma once
12
13#include <memory>
14#include <vector>
15
16namespace MeshLib
17{
18class Mesh;
19} // namespace MeshLib
20
21namespace NumLib
22{
23class LocalToGlobalIndexMap;
24} // namespace NumLib
25
26namespace ParameterLib
27{
28struct ParameterBase;
29} // namespace ParameterLib
30
31namespace ProcessLib
32{
33class ProcessVariable;
34class SourceTerm;
35struct SourceTermConfig;
36
37std::unique_ptr<SourceTerm> createSourceTerm(
38 const SourceTermConfig& config,
39 const NumLib::LocalToGlobalIndexMap& dof_table_bulk,
40 const MeshLib::Mesh& source_term_mesh, const int variable_id,
41 const unsigned integration_order, const unsigned shapefunction_order,
42 std::vector<std::unique_ptr<ParameterLib::ParameterBase>> const& parameters,
43 std::vector<std::reference_wrapper<ProcessVariable>> const&
44 all_process_variables_for_this_process);
45
46} // namespace ProcessLib
std::unique_ptr< SourceTerm > createSourceTerm(const SourceTermConfig &config, const NumLib::LocalToGlobalIndexMap &dof_table_bulk, const MeshLib::Mesh &source_term_mesh, const int variable_id, const unsigned integration_order, const unsigned shapefunction_order, std::vector< std::unique_ptr< ParameterLib::ParameterBase > > const &parameters, std::vector< std::reference_wrapper< ProcessVariable > > const &all_process_variables_for_this_process)