From a7f1d2d4d88c7898e815c7f0835fb109f1a05286 Mon Sep 17 00:00:00 2001 From: Menno Fraters Date: Tue, 19 May 2020 23:28:48 -0700 Subject: [PATCH] expand symmetric tensor 24 test, testing unrolling of component indices for higher dim than 3. --- tests/tensors/symmetric_tensor_24.cc | 3 ++ tests/tensors/symmetric_tensor_24.output | 46 ++++++++++++++++++++++++ 2 files changed, 49 insertions(+) diff --git a/tests/tensors/symmetric_tensor_24.cc b/tests/tensors/symmetric_tensor_24.cc index 96959dc3a8..0afe4a26c2 100644 --- a/tests/tensors/symmetric_tensor_24.cc +++ b/tests/tensors/symmetric_tensor_24.cc @@ -49,6 +49,9 @@ main() check<1>(); check<2>(); check<3>(); + check<4>(); + check<5>(); + check<6>(); deallog << "OK" << std::endl; } diff --git a/tests/tensors/symmetric_tensor_24.output b/tests/tensors/symmetric_tensor_24.output index 816c67c075..9c5f9c93db 100644 --- a/tests/tensors/symmetric_tensor_24.output +++ b/tests/tensors/symmetric_tensor_24.output @@ -9,4 +9,50 @@ DEAL::2 -- [2,2] DEAL::3 -- [0,1] DEAL::4 -- [0,2] DEAL::5 -- [1,2] +DEAL::0 -- [0,0] +DEAL::1 -- [1,1] +DEAL::2 -- [2,2] +DEAL::3 -- [3,3] +DEAL::4 -- [0,1] +DEAL::5 -- [0,2] +DEAL::6 -- [0,3] +DEAL::7 -- [1,2] +DEAL::8 -- [1,3] +DEAL::9 -- [2,3] +DEAL::0 -- [0,0] +DEAL::1 -- [1,1] +DEAL::2 -- [2,2] +DEAL::3 -- [3,3] +DEAL::4 -- [4,4] +DEAL::5 -- [0,1] +DEAL::6 -- [0,2] +DEAL::7 -- [0,3] +DEAL::8 -- [0,4] +DEAL::9 -- [1,2] +DEAL::10 -- [1,3] +DEAL::11 -- [1,4] +DEAL::12 -- [2,3] +DEAL::13 -- [2,4] +DEAL::14 -- [3,4] +DEAL::0 -- [0,0] +DEAL::1 -- [1,1] +DEAL::2 -- [2,2] +DEAL::3 -- [3,3] +DEAL::4 -- [4,4] +DEAL::5 -- [5,5] +DEAL::6 -- [0,1] +DEAL::7 -- [0,2] +DEAL::8 -- [0,3] +DEAL::9 -- [0,4] +DEAL::10 -- [0,5] +DEAL::11 -- [1,2] +DEAL::12 -- [1,3] +DEAL::13 -- [1,4] +DEAL::14 -- [1,5] +DEAL::15 -- [2,3] +DEAL::16 -- [2,4] +DEAL::17 -- [2,5] +DEAL::18 -- [3,4] +DEAL::19 -- [3,5] +DEAL::20 -- [4,5] DEAL::OK -- 2.39.5