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