From 2ba6fe1bd4eb69c74d0c3bfc71c749ef4df3b215 Mon Sep 17 00:00:00 2001 From: brendan-waters <brendan.waters@sydney.edu.au> Date: Mon, 18 Nov 2024 14:11:02 +1100 Subject: [PATCH] refactor --- src/lbmpy/boundaries/boundaryconditions.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/lbmpy/boundaries/boundaryconditions.py b/src/lbmpy/boundaries/boundaryconditions.py index e49edca..b1801b8 100644 --- a/src/lbmpy/boundaries/boundaryconditions.py +++ b/src/lbmpy/boundaries/boundaryconditions.py @@ -1025,8 +1025,8 @@ class iMEMBounceBack(LbBoundary): weight_info = LbmWeightInfo(lb_method, data_type=self.data_type) weight_of_direction = weight_info.weight_of_direction - f_ijk_uw = 2 / (c_s_sq*(1+q)) * rho * weight_of_direction( dir_symbol, lb_method) * - sum([d_i * v_i for d_i, v_i in zip(neighbor_offset, velocity)]) + f_ijk_uw = 2 / (c_s_sq*(1+q)) * rho * weight_of_direction( dir_symbol, lb_method) * \ + sum([d_i * v_i for d_i, v_i in zip(neighbor_offset, velocity)]) # Step 6: Return Assignment # Eq. 20 in Asmuth2021: Note, eq. 20 should not have the 2x on LHS and should be - not + -- GitLab