From 67305f52161110cac1e837204f1fc34b0b23a4c5 Mon Sep 17 00:00:00 2001 From: Matthias Maier Date: Mon, 21 Aug 2023 18:37:04 -0500 Subject: [PATCH] Test: tensors/tensor_31: use clang-format off to avoid declaration / statement confusion --- tests/tensors/tensor_31.cc | 348 +++++++++++++++++++------------------ 1 file changed, 176 insertions(+), 172 deletions(-) diff --git a/tests/tensors/tensor_31.cc b/tests/tensors/tensor_31.cc index 78d1dc37f1..ba8e39bff1 100644 --- a/tests/tensors/tensor_31.cc +++ b/tests/tensors/tensor_31.cc @@ -43,92 +43,94 @@ test_symmetric() dealii::Tensor<1, dim, rank0_float> curl_float; dealii::Tensor<2, dim, rank0_float> permeability_float; - curl_complex * curl; - curl_complex * curl_complex; - curl_complex * curl_complex_float; - curl_complex * curl_float; - curl_complex_float *curl; - curl_complex_float *curl_complex; - curl_complex_float *curl_complex_float; - curl_complex_float *curl_float; - curl_complex_float *permeability_complex *curl; - curl_complex_float *permeability_complex *curl_complex; - curl_complex_float *permeability_complex *curl_complex_float; - curl_complex_float *permeability_complex *curl_float; - curl_complex_float *permeability_complex_float *curl; - curl_complex_float *permeability_complex_float *curl_complex; - curl_complex_float *permeability_complex_float *curl_complex_float; - curl_complex_float *permeability_complex_float *curl_float; - curl_complex_float *permeability *curl; - curl_complex_float *permeability *curl_complex; - curl_complex_float *permeability *curl_complex_float; - curl_complex_float *permeability *curl_float; - curl_complex_float *permeability_float *curl; - curl_complex_float *permeability_float *curl_complex; - curl_complex *permeability_complex *curl; - curl_complex *permeability_complex *curl_complex; - curl_complex *permeability_complex *curl_complex_float; - curl_complex *permeability_complex *curl_float; - curl_complex *permeability_complex_float *curl; - curl_complex *permeability_complex_float *curl_complex; - curl_complex *permeability_complex_float *curl_complex_float; - curl_complex *permeability_complex_float *curl_float; - curl_complex *permeability *curl; - curl_complex *permeability *curl_complex; - curl_complex *permeability *curl_complex_float; - curl_complex *permeability *curl_float; - curl_complex *permeability_float *curl; - curl_complex *permeability_float *curl_complex; - curl * curl; - curl * curl_complex; - curl * curl_complex_float; - curl * curl_float; - curl_float * curl; - curl_float * curl_complex; - curl_float * curl_complex_float; - curl_float * curl_float; - curl_float *permeability_complex *curl; - curl_float *permeability_complex *curl_complex; - curl_float *permeability_complex *curl_complex_float; - curl_float *permeability_complex *curl_float; - curl_float *permeability_complex_float *curl; - curl_float *permeability_complex_float *curl_complex; - curl_float *permeability_complex_float *curl_complex_float; - curl_float *permeability_complex_float *curl_float; - curl_float *permeability *curl; - curl_float *permeability *curl_complex; - curl_float *permeability *curl_complex_float; - curl_float *permeability *curl_float; - curl_float *permeability_float *curl; - curl_float *permeability_float *curl_complex; - curl *permeability_complex *curl; - curl *permeability_complex *curl_complex; - curl *permeability_complex *curl_complex_float; - curl *permeability_complex *curl_float; - curl *permeability_complex_float *curl; - curl *permeability_complex_float *curl_complex; - curl *permeability_complex_float *curl_complex_float; - curl *permeability_complex_float *curl_float; - curl *permeability *curl; - curl *permeability *curl_complex; - curl *permeability *curl_complex_float; - curl *permeability *curl_float; - curl *permeability_float *curl; - curl *permeability_float * curl_complex; - permeability_complex * curl; - permeability_complex * curl_complex; - permeability_complex * curl_complex_float; - permeability_complex * curl_float; - permeability_complex_float *curl; - permeability_complex_float *curl_complex; - permeability_complex_float *curl_complex_float; - permeability_complex_float *curl_float; - permeability * curl; - permeability * curl_complex; - permeability * curl_complex_float; - permeability * curl_float; - permeability_float * curl; - permeability_float * curl_complex; + // clang-format off + curl_complex * curl; + curl_complex * curl_complex; + curl_complex * curl_complex_float; + curl_complex * curl_float; + curl_complex_float * curl; + curl_complex_float * curl_complex; + curl_complex_float * curl_complex_float; + curl_complex_float * curl_float; + curl_complex_float * permeability_complex * curl; + curl_complex_float * permeability_complex * curl_complex; + curl_complex_float * permeability_complex * curl_complex_float; + curl_complex_float * permeability_complex * curl_float; + curl_complex_float * permeability_complex_float * curl; + curl_complex_float * permeability_complex_float * curl_complex; + curl_complex_float * permeability_complex_float * curl_complex_float; + curl_complex_float * permeability_complex_float * curl_float; + curl_complex_float * permeability * curl; + curl_complex_float * permeability * curl_complex; + curl_complex_float * permeability * curl_complex_float; + curl_complex_float * permeability * curl_float; + curl_complex_float * permeability_float * curl; + curl_complex_float * permeability_float * curl_complex; + curl_complex * permeability_complex * curl; + curl_complex * permeability_complex * curl_complex; + curl_complex * permeability_complex * curl_complex_float; + curl_complex * permeability_complex * curl_float; + curl_complex * permeability_complex_float * curl; + curl_complex * permeability_complex_float * curl_complex; + curl_complex * permeability_complex_float * curl_complex_float; + curl_complex * permeability_complex_float * curl_float; + curl_complex * permeability * curl; + curl_complex * permeability * curl_complex; + curl_complex * permeability * curl_complex_float; + curl_complex * permeability * curl_float; + curl_complex * permeability_float * curl; + curl_complex * permeability_float * curl_complex; + curl * curl; + curl * curl_complex; + curl * curl_complex_float; + curl * curl_float; + curl_float * curl; + curl_float * curl_complex; + curl_float * curl_complex_float; + curl_float * curl_float; + curl_float * permeability_complex * curl; + curl_float * permeability_complex * curl_complex; + curl_float * permeability_complex * curl_complex_float; + curl_float * permeability_complex * curl_float; + curl_float * permeability_complex_float * curl; + curl_float * permeability_complex_float * curl_complex; + curl_float * permeability_complex_float * curl_complex_float; + curl_float * permeability_complex_float * curl_float; + curl_float * permeability * curl; + curl_float * permeability * curl_complex; + curl_float * permeability * curl_complex_float; + curl_float * permeability * curl_float; + curl_float * permeability_float * curl; + curl_float * permeability_float * curl_complex; + curl * permeability_complex * curl; + curl * permeability_complex * curl_complex; + curl * permeability_complex * curl_complex_float; + curl * permeability_complex * curl_float; + curl * permeability_complex_float * curl; + curl * permeability_complex_float * curl_complex; + curl * permeability_complex_float * curl_complex_float; + curl * permeability_complex_float * curl_float; + curl * permeability * curl; + curl * permeability * curl_complex; + curl * permeability * curl_complex_float; + curl * permeability * curl_float; + curl * permeability_float * curl; + curl * permeability_float * curl_complex; + permeability_complex * curl; + permeability_complex * curl_complex; + permeability_complex * curl_complex_float; + permeability_complex * curl_float; + permeability_complex_float * curl; + permeability_complex_float * curl_complex; + permeability_complex_float * curl_complex_float; + permeability_complex_float * curl_float; + permeability * curl; + permeability * curl_complex; + permeability * curl_complex_float; + permeability * curl_float; + permeability_float * curl; + permeability_float * curl_complex; + // clang-format on } template @@ -152,92 +154,94 @@ test() dealii::Tensor<1, dim == 2 ? 1 : dim, rank0_float> curl_float; dealii::Tensor permeability_float; - curl_complex * curl; - curl_complex * curl_complex; - curl_complex * curl_complex_float; - curl_complex * curl_float; - curl_complex_float *curl; - curl_complex_float *curl_complex; - curl_complex_float *curl_complex_float; - curl_complex_float *curl_float; - curl_complex_float *permeability_complex *curl; - curl_complex_float *permeability_complex *curl_complex; - curl_complex_float *permeability_complex *curl_complex_float; - curl_complex_float *permeability_complex *curl_float; - curl_complex_float *permeability_complex_float *curl; - curl_complex_float *permeability_complex_float *curl_complex; - curl_complex_float *permeability_complex_float *curl_complex_float; - curl_complex_float *permeability_complex_float *curl_float; - curl_complex_float *permeability *curl; - curl_complex_float *permeability *curl_complex; - curl_complex_float *permeability *curl_complex_float; - curl_complex_float *permeability *curl_float; - curl_complex_float *permeability_float *curl; - curl_complex_float *permeability_float *curl_complex; - curl_complex *permeability_complex *curl; - curl_complex *permeability_complex *curl_complex; - curl_complex *permeability_complex *curl_complex_float; - curl_complex *permeability_complex *curl_float; - curl_complex *permeability_complex_float *curl; - curl_complex *permeability_complex_float *curl_complex; - curl_complex *permeability_complex_float *curl_complex_float; - curl_complex *permeability_complex_float *curl_float; - curl_complex *permeability *curl; - curl_complex *permeability *curl_complex; - curl_complex *permeability *curl_complex_float; - curl_complex *permeability *curl_float; - curl_complex *permeability_float *curl; - curl_complex *permeability_float *curl_complex; - curl * curl; - curl * curl_complex; - curl * curl_complex_float; - curl * curl_float; - curl_float * curl; - curl_float * curl_complex; - curl_float * curl_complex_float; - curl_float * curl_float; - curl_float *permeability_complex *curl; - curl_float *permeability_complex *curl_complex; - curl_float *permeability_complex *curl_complex_float; - curl_float *permeability_complex *curl_float; - curl_float *permeability_complex_float *curl; - curl_float *permeability_complex_float *curl_complex; - curl_float *permeability_complex_float *curl_complex_float; - curl_float *permeability_complex_float *curl_float; - curl_float *permeability *curl; - curl_float *permeability *curl_complex; - curl_float *permeability *curl_complex_float; - curl_float *permeability *curl_float; - curl_float *permeability_float *curl; - curl_float *permeability_float *curl_complex; - curl *permeability_complex *curl; - curl *permeability_complex *curl_complex; - curl *permeability_complex *curl_complex_float; - curl *permeability_complex *curl_float; - curl *permeability_complex_float *curl; - curl *permeability_complex_float *curl_complex; - curl *permeability_complex_float *curl_complex_float; - curl *permeability_complex_float *curl_float; - curl *permeability *curl; - curl *permeability *curl_complex; - curl *permeability *curl_complex_float; - curl *permeability *curl_float; - curl *permeability_float *curl; - curl *permeability_float * curl_complex; - permeability_complex * curl; - permeability_complex * curl_complex; - permeability_complex * curl_complex_float; - permeability_complex * curl_float; - permeability_complex_float *curl; - permeability_complex_float *curl_complex; - permeability_complex_float *curl_complex_float; - permeability_complex_float *curl_float; - permeability * curl; - permeability * curl_complex; - permeability * curl_complex_float; - permeability * curl_float; - permeability_float * curl; - permeability_float * curl_complex; + // clang-format off + curl_complex * curl; + curl_complex * curl_complex; + curl_complex * curl_complex_float; + curl_complex * curl_float; + curl_complex_float * curl; + curl_complex_float * curl_complex; + curl_complex_float * curl_complex_float; + curl_complex_float * curl_float; + curl_complex_float * permeability_complex * curl; + curl_complex_float * permeability_complex * curl_complex; + curl_complex_float * permeability_complex * curl_complex_float; + curl_complex_float * permeability_complex * curl_float; + curl_complex_float * permeability_complex_float * curl; + curl_complex_float * permeability_complex_float * curl_complex; + curl_complex_float * permeability_complex_float * curl_complex_float; + curl_complex_float * permeability_complex_float * curl_float; + curl_complex_float * permeability * curl; + curl_complex_float * permeability * curl_complex; + curl_complex_float * permeability * curl_complex_float; + curl_complex_float * permeability * curl_float; + curl_complex_float * permeability_float * curl; + curl_complex_float * permeability_float * curl_complex; + curl_complex * permeability_complex * curl; + curl_complex * permeability_complex * curl_complex; + curl_complex * permeability_complex * curl_complex_float; + curl_complex * permeability_complex * curl_float; + curl_complex * permeability_complex_float * curl; + curl_complex * permeability_complex_float * curl_complex; + curl_complex * permeability_complex_float * curl_complex_float; + curl_complex * permeability_complex_float * curl_float; + curl_complex * permeability * curl; + curl_complex * permeability * curl_complex; + curl_complex * permeability * curl_complex_float; + curl_complex * permeability * curl_float; + curl_complex * permeability_float * curl; + curl_complex * permeability_float * curl_complex; + curl * curl; + curl * curl_complex; + curl * curl_complex_float; + curl * curl_float; + curl_float * curl; + curl_float * curl_complex; + curl_float * curl_complex_float; + curl_float * curl_float; + curl_float * permeability_complex * curl; + curl_float * permeability_complex * curl_complex; + curl_float * permeability_complex * curl_complex_float; + curl_float * permeability_complex * curl_float; + curl_float * permeability_complex_float * curl; + curl_float * permeability_complex_float * curl_complex; + curl_float * permeability_complex_float * curl_complex_float; + curl_float * permeability_complex_float * curl_float; + curl_float * permeability * curl; + curl_float * permeability * curl_complex; + curl_float * permeability * curl_complex_float; + curl_float * permeability * curl_float; + curl_float * permeability_float * curl; + curl_float * permeability_float * curl_complex; + curl * permeability_complex * curl; + curl * permeability_complex * curl_complex; + curl * permeability_complex * curl_complex_float; + curl * permeability_complex * curl_float; + curl * permeability_complex_float * curl; + curl * permeability_complex_float * curl_complex; + curl * permeability_complex_float * curl_complex_float; + curl * permeability_complex_float * curl_float; + curl * permeability * curl; + curl * permeability * curl_complex; + curl * permeability * curl_complex_float; + curl * permeability * curl_float; + curl * permeability_float * curl; + curl * permeability_float * curl_complex; + permeability_complex * curl; + permeability_complex * curl_complex; + permeability_complex * curl_complex_float; + permeability_complex * curl_float; + permeability_complex_float * curl; + permeability_complex_float * curl_complex; + permeability_complex_float * curl_complex_float; + permeability_complex_float * curl_float; + permeability * curl; + permeability * curl_complex; + permeability * curl_complex_float; + permeability * curl_float; + permeability_float * curl; + permeability_float * curl_complex; + // clang-format on } int -- 2.39.5