From 81a743686e1f971f8ec7b9d88ce43a2452b05fdb Mon Sep 17 00:00:00 2001 From: Christoph Lehmann <christoph.lehmann@ufz.de> Date: Fri, 17 May 2024 13:27:42 +0200 Subject: [PATCH] [PL/SD] Adapted to moved cell averaging code --- ProcessLib/SmallDeformation/SmallDeformationProcess.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/ProcessLib/SmallDeformation/SmallDeformationProcess.cpp b/ProcessLib/SmallDeformation/SmallDeformationProcess.cpp index dc8412bdc60..580abb2864b 100644 --- a/ProcessLib/SmallDeformation/SmallDeformationProcess.cpp +++ b/ProcessLib/SmallDeformation/SmallDeformationProcess.cpp @@ -15,6 +15,7 @@ #include "MeshLib/Utils/IntegrationPointWriter.h" #include "MeshLib/Utils/getOrCreateMeshProperty.h" #include "ProcessLib/Deformation/SolidMaterialInternalToSecondaryVariables.h" +#include "ProcessLib/Output/CellAverageAlgorithm.h" #include "ProcessLib/Process.h" #include "ProcessLib/Reflection/ReflectionForExtrapolation.h" #include "ProcessLib/Reflection/ReflectionForIPWriters.h" @@ -217,8 +218,7 @@ void SmallDeformationProcess<DisplacementDim>::computeSecondaryVariableConcrete( &LocalAssemblerInterface::computeSecondaryVariable, _local_assemblers, pv.getActiveElementIDs(), dof_tables, t, dt, x, x_prev, process_id); - cell_average_data_.computeSecondaryVariable(DisplacementDim, - _local_assemblers); + computeCellAverages(cell_average_data_, DisplacementDim, _local_assemblers); } template class SmallDeformationProcess<2>; template class SmallDeformationProcess<3>; -- GitLab