diff --git a/ProcessLib/SourceTerms/CreateSourceTerm.cpp b/ProcessLib/SourceTerms/CreateSourceTerm.cpp index e111766ddc98dfe9bddd3c7c934b6454b45a83b5..b6f4c2709546987fe388a24af0696699f5d074af 100644 --- a/ProcessLib/SourceTerms/CreateSourceTerm.cpp +++ b/ProcessLib/SourceTerms/CreateSourceTerm.cpp @@ -83,8 +83,7 @@ std::unique_ptr<SourceTerm> createSourceTerm( std::move(source_term_mesh_subset))); return ProcessLib::createVolumetricSourceTerm( config.config, config.mesh, std::move(dof_table_source_term), - parameters, integration_order, shapefunction_order, variable_id, - *config.component_id); + parameters, integration_order, shapefunction_order); } if (type == "Python") diff --git a/ProcessLib/SourceTerms/CreateVolumetricSourceTerm.cpp b/ProcessLib/SourceTerms/CreateVolumetricSourceTerm.cpp index 0285ce9bdbf427f7ce9470931c25d29a860054c5..d75500f9e2054acb99bc7a4e28124b77865dbf76 100644 --- a/ProcessLib/SourceTerms/CreateVolumetricSourceTerm.cpp +++ b/ProcessLib/SourceTerms/CreateVolumetricSourceTerm.cpp @@ -23,8 +23,7 @@ std::unique_ptr<SourceTerm> createVolumetricSourceTerm( MeshLib::Mesh const& source_term_mesh, std::unique_ptr<NumLib::LocalToGlobalIndexMap> source_term_dof_table, std::vector<std::unique_ptr<ParameterBase>> const& parameters, - unsigned const integration_order, unsigned const shapefunction_order, - int const variable_id, int const component_id) + unsigned const integration_order, unsigned const shapefunction_order) { //! \ogs_file_param{prj__process_variables__process_variable__source_terms__source_term__type} config.checkConfigParameter("type", "Volumetric"); @@ -43,8 +42,7 @@ std::unique_ptr<SourceTerm> createVolumetricSourceTerm( return std::make_unique<VolumetricSourceTerm>( source_term_mesh, std::move(source_term_dof_table), integration_order, - shapefunction_order, variable_id, component_id, - volumetric_source_term); + shapefunction_order, volumetric_source_term); } } // namespace ProcessLib diff --git a/ProcessLib/SourceTerms/CreateVolumetricSourceTerm.h b/ProcessLib/SourceTerms/CreateVolumetricSourceTerm.h index c01d5579574ceb4fb82293c2fef23d6fcffcbdde..e300528c09baca54e22834d1d0dcb155e4ceb908 100644 --- a/ProcessLib/SourceTerms/CreateVolumetricSourceTerm.h +++ b/ProcessLib/SourceTerms/CreateVolumetricSourceTerm.h @@ -37,7 +37,6 @@ std::unique_ptr<SourceTerm> createVolumetricSourceTerm( MeshLib::Mesh const& source_term_mesh, std::unique_ptr<NumLib::LocalToGlobalIndexMap> source_term_dof_table, std::vector<std::unique_ptr<ParameterBase>> const& parameters, - unsigned const integration_order, unsigned const shapefunction_order, - int const variable_id, int const component_id); + unsigned const integration_order, unsigned const shapefunction_order); } // namespace ProcessLib diff --git a/ProcessLib/SourceTerms/VolumetricSourceTerm.cpp b/ProcessLib/SourceTerms/VolumetricSourceTerm.cpp index 2656badbd18588272d0bca8ce6e41b55ef971e25..785ca74e9576920462064896c734522a152ad3b9 100644 --- a/ProcessLib/SourceTerms/VolumetricSourceTerm.cpp +++ b/ProcessLib/SourceTerms/VolumetricSourceTerm.cpp @@ -17,7 +17,6 @@ VolumetricSourceTerm::VolumetricSourceTerm( MeshLib::Mesh const& source_term_mesh, std::unique_ptr<NumLib::LocalToGlobalIndexMap> source_term_dof_table, unsigned const integration_order, unsigned const shapefunction_order, - int const variable_id, int const component_id, Parameter<double> const& volumetric_source_term) : SourceTerm(std::move(source_term_dof_table)), _volumetric_source_term(volumetric_source_term) diff --git a/ProcessLib/SourceTerms/VolumetricSourceTerm.h b/ProcessLib/SourceTerms/VolumetricSourceTerm.h index 07d5677a45fd523e8aabb33c7b3306538bebe38f..8225a2dbda9dfb51c0c9eb98592b60f0d6d35569 100644 --- a/ProcessLib/SourceTerms/VolumetricSourceTerm.h +++ b/ProcessLib/SourceTerms/VolumetricSourceTerm.h @@ -24,7 +24,6 @@ public: MeshLib::Mesh const& source_term_mesh, std::unique_ptr<NumLib::LocalToGlobalIndexMap> source_term_dof_table, unsigned const integration_order, unsigned const shapefunction_order, - int const variable_id, int const component_id, Parameter<double> const& volumetric_source_term); void integrate(const double t, GlobalVector const& x, GlobalVector& b,