From: Peter Munch Date: Sun, 18 Apr 2021 10:54:59 +0000 (+0200) Subject: Fix test matrix_free/ecl_02 X-Git-Tag: v9.3.0-rc1~214^2 X-Git-Url: https://gitweb.dealii.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=refs%2Fpull%2F12053%2Fhead;p=dealii.git Fix test matrix_free/ecl_02 --- diff --git a/tests/matrix_free/ecl_02.cc b/tests/matrix_free/ecl_02.cc index a46b38af4a..cb3693a25f 100644 --- a/tests/matrix_free/ecl_02.cc +++ b/tests/matrix_free/ecl_02.cc @@ -32,7 +32,11 @@ #include "../tests.h" -// tests matrix-free read_cell_data for locally refined mesh +// Test FEFaceEvaluation::read_dof_values() and +// FEFaceEvaluation::gather_evaluate() for ECL for two cells. +// +// @note Since this program assumes that both cells are within the same +// macro cell, this test is only run if vectorization is enabled. template ; Triangulation tria; @@ -149,5 +156,12 @@ int main() { initlog(); - test<2, 1, 2, double, VectorizedArray>(); + test<2, + 1, + 2, + double, + VectorizedArray::size() < 2 ? + VectorizedArray::size() : + 2>>(); } diff --git a/tests/matrix_free/ecl_02.output.novec b/tests/matrix_free/ecl_02.output.novec new file mode 100644 index 0000000000..8b13789179 --- /dev/null +++ b/tests/matrix_free/ecl_02.output.novec @@ -0,0 +1 @@ +