removed typo
This commit is contained in:
parent
6e6ae05244
commit
c4165e9c58
@ -651,7 +651,7 @@ __global__ void dvc_ScaLBL_D3Q19_AAodd_DFH(int *neighborList, double *dist, doub
|
|||||||
//...........Read the Color Gradient.................................
|
//...........Read the Color Gradient.................................
|
||||||
nx = Gradient[n];
|
nx = Gradient[n];
|
||||||
ny = Gradient[n+Np];
|
ny = Gradient[n+Np];
|
||||||
bz = Gradient[n+2*Np];
|
nz = Gradient[n+2*Np];
|
||||||
C = sqrt(nx*nx+ny*ny+nz*nz);
|
C = sqrt(nx*nx+ny*ny+nz*nz);
|
||||||
if (C==0.0) C=1.0;
|
if (C==0.0) C=1.0;
|
||||||
nx = nx/C;
|
nx = nx/C;
|
||||||
|
Loading…
Reference in New Issue
Block a user