OGS
SourceTermCollection.h
Go to the documentation of this file.
1
11#pragma once
12
14#include "SourceTerm.h"
15
16namespace ProcessLib
17{
19{
20public:
22 std::vector<std::unique_ptr<ParameterLib::ParameterBase>> const&
23 parameters)
24 : _parameters(parameters)
25 {
26 }
27
28 void integrate(const double t, GlobalVector const& x, GlobalVector& b,
29 GlobalMatrix* jac) const;
30
32 std::vector<std::reference_wrapper<ProcessVariable>> const&
33 process_variables,
34 NumLib::LocalToGlobalIndexMap const& dof_table,
35 unsigned const integration_order);
36
37private:
38 std::vector<std::unique_ptr<SourceTerm>> _source_terms;
39 std::vector<std::unique_ptr<ParameterLib::ParameterBase>> const&
41};
42
43} // namespace ProcessLib
Global vector based on Eigen vector.
Definition EigenVector.h:25
void integrate(const double t, GlobalVector const &x, GlobalVector &b, GlobalMatrix *jac) const
SourceTermCollection(std::vector< std::unique_ptr< ParameterLib::ParameterBase > > const &parameters)
void addSourceTermsForProcessVariables(std::vector< std::reference_wrapper< ProcessVariable > > const &process_variables, NumLib::LocalToGlobalIndexMap const &dof_table, unsigned const integration_order)
std::vector< std::unique_ptr< ParameterLib::ParameterBase > > const & _parameters
std::vector< std::unique_ptr< SourceTerm > > _source_terms