Skip to content
Snippets Groups Projects
Commit 2ba6fe1b authored by brendan-waters's avatar brendan-waters
Browse files

refactor

parent 9b177eb2
Branches iMEM
No related merge requests found
Pipeline #70354 failed with stages
in 16 minutes and 12 seconds
......@@ -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 +
......
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment