fix to cpu/Color.cpp
This commit is contained in:
@@ -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
|
||||||
|
|||||||
Reference in New Issue
Block a user