fix a minor bug; CPU slipping velocity BC is now working

This commit is contained in:
Rex Zhe Li 2021-05-21 00:38:06 -04:00
parent fce45fece3
commit 367e98be9b

View File

@ -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<Np; idx++){
for (idx=0; idx<count; idx++){
iq = BounceBackDist_list[idx];
ib = BounceBackSolid_list[idx];
ifluidBC = FluidBoundary_list[idx];