From 7c444356b9e8e3504ea3e6ec5bea49b6b1e8603d Mon Sep 17 00:00:00 2001 From: Carl Georg Biermann Date: Fri, 19 Mar 2021 15:44:55 +0100 Subject: [PATCH] fix IBM_VolCons had wrong number of partners --- src/core/immersed_boundary/ibm_tribend.hpp | 1 + src/core/immersed_boundary/ibm_volcons.hpp | 3 +-- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/core/immersed_boundary/ibm_tribend.hpp b/src/core/immersed_boundary/ibm_tribend.hpp index eca726af726..97cddd9215e 100644 --- a/src/core/immersed_boundary/ibm_tribend.hpp +++ b/src/core/immersed_boundary/ibm_tribend.hpp @@ -38,6 +38,7 @@ struct IBM_Tribend_Parameters { double cutoff() const { return -1.; } + // Krüger always has three partners static constexpr int num = 3; IBM_Tribend_Parameters() = default; diff --git a/src/core/immersed_boundary/ibm_volcons.hpp b/src/core/immersed_boundary/ibm_volcons.hpp index d8f1dffabe0..82bfa79a62c 100644 --- a/src/core/immersed_boundary/ibm_volcons.hpp +++ b/src/core/immersed_boundary/ibm_volcons.hpp @@ -33,8 +33,7 @@ struct IBM_VolCons_Parameters { double cutoff() const { return -1.; } - // Krüger always has three partners - static constexpr int num = 3; + static constexpr int num = 0; IBM_VolCons_Parameters() = default; IBM_VolCons_Parameters(int softID, double kappaV);