]> https://gitweb.dealii.org/ - dealii.git/commitdiff
Test: tensors/tensor_31: use clang-format off to avoid declaration / statement confusion
authorMatthias Maier <tamiko@43-1.org>
Mon, 21 Aug 2023 23:37:04 +0000 (18:37 -0500)
committerMatthias Maier <tamiko@43-1.org>
Wed, 23 Aug 2023 18:11:11 +0000 (13:11 -0500)
tests/tensors/tensor_31.cc

index 78d1dc37f14dc826f098560015f15c7e8deb65fa..ba8e39bff1c66c793d09718900b1da3bff3f1f7d 100644 (file)
@@ -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 <int dim>
@@ -152,92 +154,94 @@ test()
   dealii::Tensor<1, dim == 2 ? 1 : dim, rank0_float> curl_float;
   dealii::Tensor<dim == 2 ? 0 : 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
 }
 
 int

In the beginning the Universe was created. This has made a lot of people very angry and has been widely regarded as a bad move.

Douglas Adams


Typeset in Trocchi and Trocchi Bold Sans Serif.