From 320bcf8488eb48a95a514f2c99555a9baddc75c8 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jean-No=C3=ABl=20Grad?= Date: Fri, 14 Jun 2024 18:54:55 +0200 Subject: [PATCH] fixup --- src/core/unit_tests/p3m_test.cpp | 30 ++----------------- src/utils/tests/CMakeLists.txt | 2 -- src/utils/tests/Vector_test.cpp | 25 ++++++++++++++-- .../CollideSweepDoublePrecisionLeesEdwards.h | 2 +- ...ollideSweepDoublePrecisionLeesEdwardsAVX.h | 2 +- ...llideSweepDoublePrecisionLeesEdwardsCUDA.h | 2 +- .../CollideSweepDoublePrecisionThermalized.h | 2 +- ...ollideSweepDoublePrecisionThermalizedAVX.h | 2 +- ...llideSweepDoublePrecisionThermalizedCUDA.h | 2 +- .../CollideSweepSinglePrecisionLeesEdwards.h | 2 +- ...ollideSweepSinglePrecisionLeesEdwardsAVX.h | 2 +- ...llideSweepSinglePrecisionLeesEdwardsCUDA.h | 2 +- .../CollideSweepSinglePrecisionThermalized.h | 2 +- ...ollideSweepSinglePrecisionThermalizedAVX.h | 2 +- ...llideSweepSinglePrecisionThermalizedCUDA.h | 2 +- .../InitialPDFsSetterDoublePrecision.h | 2 +- .../InitialPDFsSetterDoublePrecisionCUDA.h | 2 +- .../InitialPDFsSetterSinglePrecision.h | 2 +- .../InitialPDFsSetterSinglePrecisionCUDA.h | 2 +- .../StreamSweepDoublePrecision.h | 2 +- .../StreamSweepDoublePrecisionAVX.h | 2 +- .../StreamSweepDoublePrecisionCUDA.h | 2 +- .../StreamSweepSinglePrecision.h | 2 +- .../StreamSweepSinglePrecisionAVX.h | 2 +- .../StreamSweepSinglePrecisionCUDA.h | 2 +- 25 files changed, 46 insertions(+), 55 deletions(-) diff --git a/src/core/unit_tests/p3m_test.cpp b/src/core/unit_tests/p3m_test.cpp index 5fd3a83915..3f091d565c 100644 --- a/src/core/unit_tests/p3m_test.cpp +++ b/src/core/unit_tests/p3m_test.cpp @@ -1,5 +1,5 @@ /* - * Copyright (C) 2010-2022 The ESPResSo project + * Copyright (C) 2020-2022 The ESPResSo project * * This file is part of ESPResSo. * @@ -17,7 +17,7 @@ * along with this program. If not, see . */ -#define BOOST_TEST_MODULE p3m test +#define BOOST_TEST_MODULE "P3M utility functions" #define BOOST_TEST_DYN_LINK #include @@ -27,8 +27,6 @@ #include #include -#include -#include #include BOOST_AUTO_TEST_CASE(calc_meshift_false) { @@ -60,27 +58,3 @@ BOOST_AUTO_TEST_CASE(calc_meshift_true) { } } } - -#if defined(P3M) || defined(DP3M) -BOOST_AUTO_TEST_CASE(analytic_cotangent_sum) { - auto constexpr kernel = p3m_analytic_cotangent_sum; - auto constexpr tol = 8. * 100. * std::numeric_limits::epsilon(); - - // check only trivial cases - for (auto const cao : {1, 2, 3, 4, 5, 6, 7}) { - BOOST_CHECK_CLOSE(kernel(0, 0., cao), 1., tol); - } - BOOST_CHECK_CLOSE(kernel(1, 0.5, 1), 1., tol); - BOOST_CHECK_CLOSE(kernel(1, 0.5, 2), 1. / 3., tol); - BOOST_CHECK_CLOSE(kernel(1, 0.5, 3), 2. / 15., tol); - BOOST_CHECK_CLOSE(kernel(1, 0.5, 4), 17. / 315., tol); - BOOST_CHECK_CLOSE(kernel(1, 0.5, 5), 62. / 2835., tol); - BOOST_CHECK_CLOSE(kernel(1, 0.5, 6), 1382. / 155925., tol); - BOOST_CHECK_CLOSE(kernel(1, 0.5, 7), 21844. / 6081075., tol); - - // check assertion - for (auto const invalid_cao : {-1, 0, 8}) { - BOOST_CHECK_THROW(kernel(1, 0., invalid_cao), std::logic_error); - } -} -#endif // defined(P3M) || defined(DP3M) diff --git a/src/utils/tests/CMakeLists.txt b/src/utils/tests/CMakeLists.txt index 2dd87d9f77..89755749fa 100644 --- a/src/utils/tests/CMakeLists.txt +++ b/src/utils/tests/CMakeLists.txt @@ -21,7 +21,6 @@ include(unit_test) -unit_test(NAME abs_test SRC abs_test.cpp DEPENDS espresso::utils) unit_test(NAME Vector_test SRC Vector_test.cpp DEPENDS espresso::utils) unit_test(NAME Factory_test SRC Factory_test.cpp DEPENDS espresso::utils) unit_test(NAME NumeratedContainer_test SRC NumeratedContainer_test.cpp DEPENDS @@ -34,7 +33,6 @@ unit_test(NAME accumulator SRC accumulator.cpp DEPENDS espresso::utils unit_test(NAME int_pow SRC int_pow_test.cpp DEPENDS espresso::utils) unit_test(NAME sgn SRC sgn_test.cpp DEPENDS espresso::utils) unit_test(NAME AS_erfc_part SRC AS_erfc_part_test.cpp DEPENDS espresso::utils) -unit_test(NAME sinc SRC sinc_test.cpp DEPENDS espresso::utils) unit_test(NAME permute_ifield_test SRC permute_ifield_test.cpp DEPENDS espresso::utils) unit_test(NAME vec_rotate SRC vec_rotate_test.cpp DEPENDS espresso::utils) diff --git a/src/utils/tests/Vector_test.cpp b/src/utils/tests/Vector_test.cpp index 716c5276c0..b32fa4e909 100644 --- a/src/utils/tests/Vector_test.cpp +++ b/src/utils/tests/Vector_test.cpp @@ -43,7 +43,8 @@ using Utils::Vector; /* Number of nontrivial Baxter permutations of length 2n-1. (A001185) */ -#define TEST_NUMBERS {0, 1, 1, 7, 21, 112, 456, 2603, 13203} +#define TEST_NUMBERS \ + { 0, 1, 1, 7, 21, 112, 456, 2603, 13203 } constexpr int test_numbers[] = TEST_NUMBERS; constexpr std::size_t n_test_numbers = sizeof(test_numbers) / sizeof(int); @@ -62,6 +63,17 @@ BOOST_AUTO_TEST_CASE(initializer_list_constructor) { BOOST_CHECK_THROW(Utils::Vector2d({1., 2., 3.}), std::length_error); } +BOOST_AUTO_TEST_CASE(span_constructor) { + constexpr static std::array values(TEST_NUMBERS); + constexpr auto view = std::span(values); + Vector v(view); + + BOOST_CHECK(std::equal(v.begin(), v.end(), test_numbers)); + + BOOST_CHECK_THROW(Utils::Vector3i{view}, std::length_error); + BOOST_CHECK_THROW(Utils::Vector3i{view.subspan(0u, 2u)}, std::length_error); +} + BOOST_AUTO_TEST_CASE(iterator_constructor) { Vector v(std::begin(test_numbers), std::end(test_numbers)); @@ -105,8 +117,8 @@ BOOST_AUTO_TEST_CASE(range_constructor_test) { } BOOST_AUTO_TEST_CASE(unit_vector_test) { - BOOST_CHECK((Utils::unit_vector(2) == Utils::Vector3i{0, 0, 1})); - BOOST_CHECK_THROW(Utils::unit_vector(3), std::domain_error); + BOOST_CHECK((Utils::unit_vector(2u) == Utils::Vector3i{0, 0, 1})); + BOOST_CHECK_THROW(Utils::unit_vector(3u), std::domain_error); } BOOST_AUTO_TEST_CASE(test_norm2) { @@ -187,6 +199,13 @@ BOOST_AUTO_TEST_CASE(algebraic_operators) { BOOST_CHECK(v4 == (v3 /= 2)); } + { + Utils::Vector3i v3{2, 12, 91}; + Utils::Vector3i v4{180, 30, 3}; + auto v5 = 360 / v3; + BOOST_CHECK(v5 == v4); + } + BOOST_CHECK((sqrt(Utils::Vector3d{1., 2., 3.}) == Utils::Vector3d{sqrt(1.), sqrt(2.), sqrt(3.)})); diff --git a/src/walberla_bridge/src/lattice_boltzmann/generated_kernels/CollideSweepDoublePrecisionLeesEdwards.h b/src/walberla_bridge/src/lattice_boltzmann/generated_kernels/CollideSweepDoublePrecisionLeesEdwards.h index 4535e2fc71..fb144478e1 100644 --- a/src/walberla_bridge/src/lattice_boltzmann/generated_kernels/CollideSweepDoublePrecisionLeesEdwards.h +++ b/src/walberla_bridge/src/lattice_boltzmann/generated_kernels/CollideSweepDoublePrecisionLeesEdwards.h @@ -56,7 +56,7 @@ class CollideSweepDoublePrecisionLeesEdwards { BlockDataID pdfsID_, double grid_size, double omega_shear, double v_s) : forceID(forceID_), pdfsID(pdfsID_), grid_size_(grid_size), - omega_shear_(omega_shear), v_s_(v_s) {}; + omega_shear_(omega_shear), v_s_(v_s){}; void run(IBlock *block); diff --git a/src/walberla_bridge/src/lattice_boltzmann/generated_kernels/CollideSweepDoublePrecisionLeesEdwardsAVX.h b/src/walberla_bridge/src/lattice_boltzmann/generated_kernels/CollideSweepDoublePrecisionLeesEdwardsAVX.h index 2e2e5bd1bd..dfd7bcdde6 100644 --- a/src/walberla_bridge/src/lattice_boltzmann/generated_kernels/CollideSweepDoublePrecisionLeesEdwardsAVX.h +++ b/src/walberla_bridge/src/lattice_boltzmann/generated_kernels/CollideSweepDoublePrecisionLeesEdwardsAVX.h @@ -57,7 +57,7 @@ class CollideSweepDoublePrecisionLeesEdwardsAVX { double grid_size, double omega_shear, double v_s) : forceID(forceID_), pdfsID(pdfsID_), grid_size_(grid_size), - omega_shear_(omega_shear), v_s_(v_s) {}; + omega_shear_(omega_shear), v_s_(v_s){}; void run(IBlock *block); diff --git a/src/walberla_bridge/src/lattice_boltzmann/generated_kernels/CollideSweepDoublePrecisionLeesEdwardsCUDA.h b/src/walberla_bridge/src/lattice_boltzmann/generated_kernels/CollideSweepDoublePrecisionLeesEdwardsCUDA.h index 00d995d043..276592774e 100644 --- a/src/walberla_bridge/src/lattice_boltzmann/generated_kernels/CollideSweepDoublePrecisionLeesEdwardsCUDA.h +++ b/src/walberla_bridge/src/lattice_boltzmann/generated_kernels/CollideSweepDoublePrecisionLeesEdwardsCUDA.h @@ -59,7 +59,7 @@ class CollideSweepDoublePrecisionLeesEdwardsCUDA { double grid_size, double omega_shear, double v_s) : forceID(forceID_), pdfsID(pdfsID_), grid_size_(grid_size), - omega_shear_(omega_shear), v_s_(v_s) {}; + omega_shear_(omega_shear), v_s_(v_s){}; void run(IBlock *block, gpuStream_t stream = nullptr); diff --git a/src/walberla_bridge/src/lattice_boltzmann/generated_kernels/CollideSweepDoublePrecisionThermalized.h b/src/walberla_bridge/src/lattice_boltzmann/generated_kernels/CollideSweepDoublePrecisionThermalized.h index 08e9d8c04f..192b2fcf07 100644 --- a/src/walberla_bridge/src/lattice_boltzmann/generated_kernels/CollideSweepDoublePrecisionThermalized.h +++ b/src/walberla_bridge/src/lattice_boltzmann/generated_kernels/CollideSweepDoublePrecisionThermalized.h @@ -60,7 +60,7 @@ class CollideSweepDoublePrecisionThermalized { : forceID(forceID_), pdfsID(pdfsID_), kT_(kT), omega_bulk_(omega_bulk), omega_even_(omega_even), omega_odd_(omega_odd), omega_shear_(omega_shear), seed_(seed), time_step_(time_step), - configured_(false) {}; + configured_(false){}; void run(IBlock *block); diff --git a/src/walberla_bridge/src/lattice_boltzmann/generated_kernels/CollideSweepDoublePrecisionThermalizedAVX.h b/src/walberla_bridge/src/lattice_boltzmann/generated_kernels/CollideSweepDoublePrecisionThermalizedAVX.h index 505cb1a747..00c0575773 100644 --- a/src/walberla_bridge/src/lattice_boltzmann/generated_kernels/CollideSweepDoublePrecisionThermalizedAVX.h +++ b/src/walberla_bridge/src/lattice_boltzmann/generated_kernels/CollideSweepDoublePrecisionThermalizedAVX.h @@ -61,7 +61,7 @@ class CollideSweepDoublePrecisionThermalizedAVX { : forceID(forceID_), pdfsID(pdfsID_), kT_(kT), omega_bulk_(omega_bulk), omega_even_(omega_even), omega_odd_(omega_odd), omega_shear_(omega_shear), seed_(seed), time_step_(time_step), - configured_(false) {}; + configured_(false){}; void run(IBlock *block); diff --git a/src/walberla_bridge/src/lattice_boltzmann/generated_kernels/CollideSweepDoublePrecisionThermalizedCUDA.h b/src/walberla_bridge/src/lattice_boltzmann/generated_kernels/CollideSweepDoublePrecisionThermalizedCUDA.h index 4683db87f8..bc7ac5f69e 100644 --- a/src/walberla_bridge/src/lattice_boltzmann/generated_kernels/CollideSweepDoublePrecisionThermalizedCUDA.h +++ b/src/walberla_bridge/src/lattice_boltzmann/generated_kernels/CollideSweepDoublePrecisionThermalizedCUDA.h @@ -61,7 +61,7 @@ class CollideSweepDoublePrecisionThermalizedCUDA { : forceID(forceID_), pdfsID(pdfsID_), kT_(kT), omega_bulk_(omega_bulk), omega_even_(omega_even), omega_odd_(omega_odd), omega_shear_(omega_shear), seed_(seed), time_step_(time_step), - configured_(false) {}; + configured_(false){}; void run(IBlock *block, gpuStream_t stream = nullptr); diff --git a/src/walberla_bridge/src/lattice_boltzmann/generated_kernels/CollideSweepSinglePrecisionLeesEdwards.h b/src/walberla_bridge/src/lattice_boltzmann/generated_kernels/CollideSweepSinglePrecisionLeesEdwards.h index 3d6cbc09ef..58c30c1bf4 100644 --- a/src/walberla_bridge/src/lattice_boltzmann/generated_kernels/CollideSweepSinglePrecisionLeesEdwards.h +++ b/src/walberla_bridge/src/lattice_boltzmann/generated_kernels/CollideSweepSinglePrecisionLeesEdwards.h @@ -56,7 +56,7 @@ class CollideSweepSinglePrecisionLeesEdwards { BlockDataID pdfsID_, float grid_size, float omega_shear, float v_s) : forceID(forceID_), pdfsID(pdfsID_), grid_size_(grid_size), - omega_shear_(omega_shear), v_s_(v_s) {}; + omega_shear_(omega_shear), v_s_(v_s){}; void run(IBlock *block); diff --git a/src/walberla_bridge/src/lattice_boltzmann/generated_kernels/CollideSweepSinglePrecisionLeesEdwardsAVX.h b/src/walberla_bridge/src/lattice_boltzmann/generated_kernels/CollideSweepSinglePrecisionLeesEdwardsAVX.h index 3970399683..2819ac83a7 100644 --- a/src/walberla_bridge/src/lattice_boltzmann/generated_kernels/CollideSweepSinglePrecisionLeesEdwardsAVX.h +++ b/src/walberla_bridge/src/lattice_boltzmann/generated_kernels/CollideSweepSinglePrecisionLeesEdwardsAVX.h @@ -57,7 +57,7 @@ class CollideSweepSinglePrecisionLeesEdwardsAVX { float grid_size, float omega_shear, float v_s) : forceID(forceID_), pdfsID(pdfsID_), grid_size_(grid_size), - omega_shear_(omega_shear), v_s_(v_s) {}; + omega_shear_(omega_shear), v_s_(v_s){}; void run(IBlock *block); diff --git a/src/walberla_bridge/src/lattice_boltzmann/generated_kernels/CollideSweepSinglePrecisionLeesEdwardsCUDA.h b/src/walberla_bridge/src/lattice_boltzmann/generated_kernels/CollideSweepSinglePrecisionLeesEdwardsCUDA.h index 57e7980e19..bf9a807a67 100644 --- a/src/walberla_bridge/src/lattice_boltzmann/generated_kernels/CollideSweepSinglePrecisionLeesEdwardsCUDA.h +++ b/src/walberla_bridge/src/lattice_boltzmann/generated_kernels/CollideSweepSinglePrecisionLeesEdwardsCUDA.h @@ -59,7 +59,7 @@ class CollideSweepSinglePrecisionLeesEdwardsCUDA { float grid_size, float omega_shear, float v_s) : forceID(forceID_), pdfsID(pdfsID_), grid_size_(grid_size), - omega_shear_(omega_shear), v_s_(v_s) {}; + omega_shear_(omega_shear), v_s_(v_s){}; void run(IBlock *block, gpuStream_t stream = nullptr); diff --git a/src/walberla_bridge/src/lattice_boltzmann/generated_kernels/CollideSweepSinglePrecisionThermalized.h b/src/walberla_bridge/src/lattice_boltzmann/generated_kernels/CollideSweepSinglePrecisionThermalized.h index 44fef35df2..5a9aa9eb3f 100644 --- a/src/walberla_bridge/src/lattice_boltzmann/generated_kernels/CollideSweepSinglePrecisionThermalized.h +++ b/src/walberla_bridge/src/lattice_boltzmann/generated_kernels/CollideSweepSinglePrecisionThermalized.h @@ -60,7 +60,7 @@ class CollideSweepSinglePrecisionThermalized { : forceID(forceID_), pdfsID(pdfsID_), kT_(kT), omega_bulk_(omega_bulk), omega_even_(omega_even), omega_odd_(omega_odd), omega_shear_(omega_shear), seed_(seed), time_step_(time_step), - configured_(false) {}; + configured_(false){}; void run(IBlock *block); diff --git a/src/walberla_bridge/src/lattice_boltzmann/generated_kernels/CollideSweepSinglePrecisionThermalizedAVX.h b/src/walberla_bridge/src/lattice_boltzmann/generated_kernels/CollideSweepSinglePrecisionThermalizedAVX.h index 8cd829be96..b5955f045d 100644 --- a/src/walberla_bridge/src/lattice_boltzmann/generated_kernels/CollideSweepSinglePrecisionThermalizedAVX.h +++ b/src/walberla_bridge/src/lattice_boltzmann/generated_kernels/CollideSweepSinglePrecisionThermalizedAVX.h @@ -60,7 +60,7 @@ class CollideSweepSinglePrecisionThermalizedAVX { : forceID(forceID_), pdfsID(pdfsID_), kT_(kT), omega_bulk_(omega_bulk), omega_even_(omega_even), omega_odd_(omega_odd), omega_shear_(omega_shear), seed_(seed), time_step_(time_step), - configured_(false) {}; + configured_(false){}; void run(IBlock *block); diff --git a/src/walberla_bridge/src/lattice_boltzmann/generated_kernels/CollideSweepSinglePrecisionThermalizedCUDA.h b/src/walberla_bridge/src/lattice_boltzmann/generated_kernels/CollideSweepSinglePrecisionThermalizedCUDA.h index 09e1dd04ac..cf55997b2b 100644 --- a/src/walberla_bridge/src/lattice_boltzmann/generated_kernels/CollideSweepSinglePrecisionThermalizedCUDA.h +++ b/src/walberla_bridge/src/lattice_boltzmann/generated_kernels/CollideSweepSinglePrecisionThermalizedCUDA.h @@ -62,7 +62,7 @@ class CollideSweepSinglePrecisionThermalizedCUDA { : forceID(forceID_), pdfsID(pdfsID_), kT_(kT), omega_bulk_(omega_bulk), omega_even_(omega_even), omega_odd_(omega_odd), omega_shear_(omega_shear), seed_(seed), time_step_(time_step), - configured_(false) {}; + configured_(false){}; void run(IBlock *block, gpuStream_t stream = nullptr); diff --git a/src/walberla_bridge/src/lattice_boltzmann/generated_kernels/InitialPDFsSetterDoublePrecision.h b/src/walberla_bridge/src/lattice_boltzmann/generated_kernels/InitialPDFsSetterDoublePrecision.h index 012a4bcc14..c472f1f511 100644 --- a/src/walberla_bridge/src/lattice_boltzmann/generated_kernels/InitialPDFsSetterDoublePrecision.h +++ b/src/walberla_bridge/src/lattice_boltzmann/generated_kernels/InitialPDFsSetterDoublePrecision.h @@ -55,7 +55,7 @@ class InitialPDFsSetterDoublePrecision { InitialPDFsSetterDoublePrecision(BlockDataID forceID_, BlockDataID pdfsID_, BlockDataID velocityID_, double rho_0) : forceID(forceID_), pdfsID(pdfsID_), velocityID(velocityID_), - rho_0_(rho_0) {}; + rho_0_(rho_0){}; void run(IBlock *block); diff --git a/src/walberla_bridge/src/lattice_boltzmann/generated_kernels/InitialPDFsSetterDoublePrecisionCUDA.h b/src/walberla_bridge/src/lattice_boltzmann/generated_kernels/InitialPDFsSetterDoublePrecisionCUDA.h index 6d493acdd8..6f4ab75275 100644 --- a/src/walberla_bridge/src/lattice_boltzmann/generated_kernels/InitialPDFsSetterDoublePrecisionCUDA.h +++ b/src/walberla_bridge/src/lattice_boltzmann/generated_kernels/InitialPDFsSetterDoublePrecisionCUDA.h @@ -58,7 +58,7 @@ class InitialPDFsSetterDoublePrecisionCUDA { BlockDataID pdfsID_, BlockDataID velocityID_, double rho_0) : forceID(forceID_), pdfsID(pdfsID_), velocityID(velocityID_), - rho_0_(rho_0) {}; + rho_0_(rho_0){}; void run(IBlock *block, gpuStream_t stream = nullptr); diff --git a/src/walberla_bridge/src/lattice_boltzmann/generated_kernels/InitialPDFsSetterSinglePrecision.h b/src/walberla_bridge/src/lattice_boltzmann/generated_kernels/InitialPDFsSetterSinglePrecision.h index 4a8ea57162..e1c3260bab 100644 --- a/src/walberla_bridge/src/lattice_boltzmann/generated_kernels/InitialPDFsSetterSinglePrecision.h +++ b/src/walberla_bridge/src/lattice_boltzmann/generated_kernels/InitialPDFsSetterSinglePrecision.h @@ -55,7 +55,7 @@ class InitialPDFsSetterSinglePrecision { InitialPDFsSetterSinglePrecision(BlockDataID forceID_, BlockDataID pdfsID_, BlockDataID velocityID_, float rho_0) : forceID(forceID_), pdfsID(pdfsID_), velocityID(velocityID_), - rho_0_(rho_0) {}; + rho_0_(rho_0){}; void run(IBlock *block); diff --git a/src/walberla_bridge/src/lattice_boltzmann/generated_kernels/InitialPDFsSetterSinglePrecisionCUDA.h b/src/walberla_bridge/src/lattice_boltzmann/generated_kernels/InitialPDFsSetterSinglePrecisionCUDA.h index c56b68680a..a3faac64d6 100644 --- a/src/walberla_bridge/src/lattice_boltzmann/generated_kernels/InitialPDFsSetterSinglePrecisionCUDA.h +++ b/src/walberla_bridge/src/lattice_boltzmann/generated_kernels/InitialPDFsSetterSinglePrecisionCUDA.h @@ -58,7 +58,7 @@ class InitialPDFsSetterSinglePrecisionCUDA { BlockDataID pdfsID_, BlockDataID velocityID_, float rho_0) : forceID(forceID_), pdfsID(pdfsID_), velocityID(velocityID_), - rho_0_(rho_0) {}; + rho_0_(rho_0){}; void run(IBlock *block, gpuStream_t stream = nullptr); diff --git a/src/walberla_bridge/src/lattice_boltzmann/generated_kernels/StreamSweepDoublePrecision.h b/src/walberla_bridge/src/lattice_boltzmann/generated_kernels/StreamSweepDoublePrecision.h index 73819b58e6..87fa2aa033 100644 --- a/src/walberla_bridge/src/lattice_boltzmann/generated_kernels/StreamSweepDoublePrecision.h +++ b/src/walberla_bridge/src/lattice_boltzmann/generated_kernels/StreamSweepDoublePrecision.h @@ -54,7 +54,7 @@ class StreamSweepDoublePrecision { public: StreamSweepDoublePrecision(BlockDataID forceID_, BlockDataID pdfsID_, BlockDataID velocityID_) - : forceID(forceID_), pdfsID(pdfsID_), velocityID(velocityID_) {}; + : forceID(forceID_), pdfsID(pdfsID_), velocityID(velocityID_){}; ~StreamSweepDoublePrecision() { for (auto p : cache_pdfs_) { diff --git a/src/walberla_bridge/src/lattice_boltzmann/generated_kernels/StreamSweepDoublePrecisionAVX.h b/src/walberla_bridge/src/lattice_boltzmann/generated_kernels/StreamSweepDoublePrecisionAVX.h index 059f786e6b..52288021ad 100644 --- a/src/walberla_bridge/src/lattice_boltzmann/generated_kernels/StreamSweepDoublePrecisionAVX.h +++ b/src/walberla_bridge/src/lattice_boltzmann/generated_kernels/StreamSweepDoublePrecisionAVX.h @@ -54,7 +54,7 @@ class StreamSweepDoublePrecisionAVX { public: StreamSweepDoublePrecisionAVX(BlockDataID forceID_, BlockDataID pdfsID_, BlockDataID velocityID_) - : forceID(forceID_), pdfsID(pdfsID_), velocityID(velocityID_) {}; + : forceID(forceID_), pdfsID(pdfsID_), velocityID(velocityID_){}; ~StreamSweepDoublePrecisionAVX() { for (auto p : cache_pdfs_) { diff --git a/src/walberla_bridge/src/lattice_boltzmann/generated_kernels/StreamSweepDoublePrecisionCUDA.h b/src/walberla_bridge/src/lattice_boltzmann/generated_kernels/StreamSweepDoublePrecisionCUDA.h index d6dd319394..217f90854e 100644 --- a/src/walberla_bridge/src/lattice_boltzmann/generated_kernels/StreamSweepDoublePrecisionCUDA.h +++ b/src/walberla_bridge/src/lattice_boltzmann/generated_kernels/StreamSweepDoublePrecisionCUDA.h @@ -56,7 +56,7 @@ class StreamSweepDoublePrecisionCUDA { public: StreamSweepDoublePrecisionCUDA(BlockDataID forceID_, BlockDataID pdfsID_, BlockDataID velocityID_) - : forceID(forceID_), pdfsID(pdfsID_), velocityID(velocityID_) {}; + : forceID(forceID_), pdfsID(pdfsID_), velocityID(velocityID_){}; ~StreamSweepDoublePrecisionCUDA() { for (auto p : cache_pdfs_) { diff --git a/src/walberla_bridge/src/lattice_boltzmann/generated_kernels/StreamSweepSinglePrecision.h b/src/walberla_bridge/src/lattice_boltzmann/generated_kernels/StreamSweepSinglePrecision.h index f921333044..4425265fc6 100644 --- a/src/walberla_bridge/src/lattice_boltzmann/generated_kernels/StreamSweepSinglePrecision.h +++ b/src/walberla_bridge/src/lattice_boltzmann/generated_kernels/StreamSweepSinglePrecision.h @@ -54,7 +54,7 @@ class StreamSweepSinglePrecision { public: StreamSweepSinglePrecision(BlockDataID forceID_, BlockDataID pdfsID_, BlockDataID velocityID_) - : forceID(forceID_), pdfsID(pdfsID_), velocityID(velocityID_) {}; + : forceID(forceID_), pdfsID(pdfsID_), velocityID(velocityID_){}; ~StreamSweepSinglePrecision() { for (auto p : cache_pdfs_) { diff --git a/src/walberla_bridge/src/lattice_boltzmann/generated_kernels/StreamSweepSinglePrecisionAVX.h b/src/walberla_bridge/src/lattice_boltzmann/generated_kernels/StreamSweepSinglePrecisionAVX.h index 81cc4fff03..095c86c6cb 100644 --- a/src/walberla_bridge/src/lattice_boltzmann/generated_kernels/StreamSweepSinglePrecisionAVX.h +++ b/src/walberla_bridge/src/lattice_boltzmann/generated_kernels/StreamSweepSinglePrecisionAVX.h @@ -54,7 +54,7 @@ class StreamSweepSinglePrecisionAVX { public: StreamSweepSinglePrecisionAVX(BlockDataID forceID_, BlockDataID pdfsID_, BlockDataID velocityID_) - : forceID(forceID_), pdfsID(pdfsID_), velocityID(velocityID_) {}; + : forceID(forceID_), pdfsID(pdfsID_), velocityID(velocityID_){}; ~StreamSweepSinglePrecisionAVX() { for (auto p : cache_pdfs_) { diff --git a/src/walberla_bridge/src/lattice_boltzmann/generated_kernels/StreamSweepSinglePrecisionCUDA.h b/src/walberla_bridge/src/lattice_boltzmann/generated_kernels/StreamSweepSinglePrecisionCUDA.h index 16ea5b0ed2..302b62816b 100644 --- a/src/walberla_bridge/src/lattice_boltzmann/generated_kernels/StreamSweepSinglePrecisionCUDA.h +++ b/src/walberla_bridge/src/lattice_boltzmann/generated_kernels/StreamSweepSinglePrecisionCUDA.h @@ -56,7 +56,7 @@ class StreamSweepSinglePrecisionCUDA { public: StreamSweepSinglePrecisionCUDA(BlockDataID forceID_, BlockDataID pdfsID_, BlockDataID velocityID_) - : forceID(forceID_), pdfsID(pdfsID_), velocityID(velocityID_) {}; + : forceID(forceID_), pdfsID(pdfsID_), velocityID(velocityID_){}; ~StreamSweepSinglePrecisionCUDA() { for (auto p : cache_pdfs_) {