From 88c0e8c63afa67d81ec3ce68c8d634203213ded9 Mon Sep 17 00:00:00 2001 From: Tom Fischer <thomas.fischer@ufz.de> Date: Fri, 5 Apr 2024 08:30:04 +0200 Subject: [PATCH] [PL/LF] Rm ref to shape matrix cache from local assemblers --- ProcessLib/LiquidFlow/LiquidFlowLocalAssembler.h | 7 ++----- ProcessLib/LiquidFlow/LiquidFlowProcess.cpp | 2 +- 2 files changed, 3 insertions(+), 6 deletions(-) diff --git a/ProcessLib/LiquidFlow/LiquidFlowLocalAssembler.h b/ProcessLib/LiquidFlow/LiquidFlowLocalAssembler.h index 096b10eb498..dcdfeb934e4 100644 --- a/ProcessLib/LiquidFlow/LiquidFlowLocalAssembler.h +++ b/ProcessLib/LiquidFlow/LiquidFlowLocalAssembler.h @@ -86,12 +86,10 @@ public: std::size_t const /*local_matrix_size*/, NumLib::GenericIntegrationMethod const& integration_method, bool const is_axially_symmetric, - LiquidFlowData const& process_data, - NumLib::ShapeMatrixCache const& shape_matrix_cache) + LiquidFlowData const& process_data) : _element(element), _integration_method(integration_method), - _process_data(process_data), - _shape_matrix_cache(shape_matrix_cache) + _process_data(process_data) { unsigned const n_integration_points = _integration_method.getNumberOfPoints(); @@ -223,7 +221,6 @@ private: VelocityCacheType& darcy_velocity_at_ips) const; const LiquidFlowData& _process_data; - NumLib::ShapeMatrixCache const& _shape_matrix_cache; }; } // namespace LiquidFlow diff --git a/ProcessLib/LiquidFlow/LiquidFlowProcess.cpp b/ProcessLib/LiquidFlow/LiquidFlowProcess.cpp index 1c6fdcfc9d9..23f7891cc4d 100644 --- a/ProcessLib/LiquidFlow/LiquidFlowProcess.cpp +++ b/ProcessLib/LiquidFlow/LiquidFlowProcess.cpp @@ -59,7 +59,7 @@ void LiquidFlowProcess::initializeConcreteProcess( ProcessLib::createLocalAssemblers<LiquidFlowLocalAssembler>( mesh_space_dimension, mesh.getElements(), dof_table, _local_assemblers, NumLib::IntegrationOrder{integration_order}, mesh.isAxiallySymmetric(), - _process_data, _shape_matrix_cache); + _process_data); _secondary_variables.addSecondaryVariable( "darcy_velocity", -- GitLab