From a8550fe0e45340c23d964659af7a718c25c0dfc2 Mon Sep 17 00:00:00 2001
From: Tom Fischer <thomas.fischer@ufz.de>
Date: Fri, 5 Apr 2024 09:17:04 +0200
Subject: [PATCH] [PL/CT] Rm ref to shape matrix cache from local assemblers

---
 ProcessLib/ComponentTransport/ComponentTransportFEM.h       | 3 ---
 ProcessLib/ComponentTransport/ComponentTransportProcess.cpp | 2 +-
 2 files changed, 1 insertion(+), 4 deletions(-)

diff --git a/ProcessLib/ComponentTransport/ComponentTransportFEM.h b/ProcessLib/ComponentTransport/ComponentTransportFEM.h
index c0a44f5bc83..d9cedbbc2f5 100644
--- a/ProcessLib/ComponentTransport/ComponentTransportFEM.h
+++ b/ProcessLib/ComponentTransport/ComponentTransportFEM.h
@@ -245,7 +245,6 @@ public:
         NumLib::GenericIntegrationMethod const& integration_method,
         bool is_axially_symmetric,
         ComponentTransportProcessData const& process_data,
-        NumLib::ShapeMatrixCache const& shape_matrix_cache,
         std::vector<std::reference_wrapper<ProcessVariable>> const&
             transport_process_variables)
         : temperature_index(process_data.isothermal ? -1
@@ -255,7 +254,6 @@ public:
                                         : 2 * ShapeFunction::NPOINTS),
           _element(element),
           _process_data(process_data),
-          _shape_matrix_cache(shape_matrix_cache),
           _integration_method(integration_method),
           _transport_process_variables(transport_process_variables)
     {
@@ -2021,7 +2019,6 @@ public:
 private:
     MeshLib::Element const& _element;
     ComponentTransportProcessData const& _process_data;
-    NumLib::ShapeMatrixCache const& _shape_matrix_cache;
 
     NumLib::GenericIntegrationMethod const& _integration_method;
     std::vector<std::reference_wrapper<ProcessVariable>> const
diff --git a/ProcessLib/ComponentTransport/ComponentTransportProcess.cpp b/ProcessLib/ComponentTransport/ComponentTransportProcess.cpp
index dde3556e52b..74cfee620f7 100644
--- a/ProcessLib/ComponentTransport/ComponentTransportProcess.cpp
+++ b/ProcessLib/ComponentTransport/ComponentTransportProcess.cpp
@@ -166,7 +166,7 @@ void ComponentTransportProcess::initializeConcreteProcess(
     ProcessLib::createLocalAssemblers<LocalAssemblerData>(
         mesh_space_dimension, mesh.getElements(), dof_table, _local_assemblers,
         NumLib::IntegrationOrder{integration_order}, mesh.isAxiallySymmetric(),
-        _process_data, _shape_matrix_cache, transport_process_variables);
+        _process_data, transport_process_variables);
 
     if (_chemical_solver_interface && !_use_monolithic_scheme)
     {
-- 
GitLab