From 367e98be9bcf25d7bf095f2054ee39c73d1742df Mon Sep 17 00:00:00 2001 From: Rex Zhe Li Date: Fri, 21 May 2021 00:38:06 -0400 Subject: [PATCH] fix a minor bug; CPU slipping velocity BC is now working --- cpu/D3Q7BC.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cpu/D3Q7BC.cpp b/cpu/D3Q7BC.cpp index 5bc7b589..aad999f2 100644 --- a/cpu/D3Q7BC.cpp +++ b/cpu/D3Q7BC.cpp @@ -49,7 +49,7 @@ extern "C" void ScaLBL_Solid_SlippingVelocityBC_D3Q19(double *dist, double *zeta double cs2_inv = 3.0;//inverse of cs^2 for D3Q19 double nu_LB = (tau-0.5)/cs2_inv; - for (idx=0; idx