fix to cpu/Color.cpp

This commit is contained in:
James E McClure
2017-11-27 07:35:09 -05:00
parent ff31f21337
commit 0cc7c09619

View File

@@ -1299,9 +1299,9 @@ extern "C" void ScaLBL_D3Q19_ColorCollide_gen( char *ID, double *disteven, doubl
distodd[7*N+n] = f15; distodd[7*N+n] = f15;
distodd[8*N+n] = f17; distodd[8*N+n] = f17;
//...Store the Velocity.......................... //...Store the Velocity..........................
Velocity[n] = jx/rho_0; Velocity[n] = jx/rho0;
Velocity[N+n] = jy/rho_0; Velocity[N+n] = jy/rho0;
Velocity[2*N+n] = jz/rho_0; Velocity[2*N+n] = jz/rho0;
//*************************************************************** //***************************************************************
} // check if n is in the solid } // check if n is in the solid
} // loop over n } // loop over n