From 0793c6d7f3d8bd120c0dee45b07373d97cb4fd4f Mon Sep 17 00:00:00 2001
From: Dmitri Naumov <dmitri.naumov@ufz.de>
Date: Wed, 8 Feb 2017 16:21:47 +0100
Subject: [PATCH] Add aligned_allocator for TwoPhaseFlowPrho.

---
 .../TwoPhaseFlowWithPrhoLocalAssembler.h                   | 7 +++++--
 1 file changed, 5 insertions(+), 2 deletions(-)

diff --git a/ProcessLib/TwoPhaseFlowWithPrho/TwoPhaseFlowWithPrhoLocalAssembler.h b/ProcessLib/TwoPhaseFlowWithPrho/TwoPhaseFlowWithPrhoLocalAssembler.h
index 6f9f5f63ba9..acd3f3c46e9 100644
--- a/ProcessLib/TwoPhaseFlowWithPrho/TwoPhaseFlowWithPrhoLocalAssembler.h
+++ b/ProcessLib/TwoPhaseFlowWithPrho/TwoPhaseFlowWithPrhoLocalAssembler.h
@@ -155,10 +155,13 @@ private:
     MeshLib::Element const& _element;
 
     IntegrationMethod const _integration_method;
-    std::vector<ShapeMatrices> _shape_matrices;
+    std::vector<ShapeMatrices, Eigen::aligned_allocator<ShapeMatrices>>
+        _shape_matrices;
 
     TwoPhaseFlowWithPrhoProcessData const& _process_data;
-    std::vector<IntegrationPointData<NodalMatrixType>> _ip_data;
+    std::vector<IntegrationPointData<NodalMatrixType>,
+                Eigen::aligned_allocator<IntegrationPointData<NodalMatrixType>>>
+        _ip_data;
 
     std::vector<double> _saturation;  /// used for secondary variable output
     std::vector<double> _pressure_nonwetting;
-- 
GitLab