Adding sph/taitwater in lib/gpu
This commit is contained in:
@ -163,8 +163,8 @@ int SPHLJT::loop(const int eflag, const int vflag) {
|
||||
int idx = n+i*nstride;
|
||||
numtyp4 v;
|
||||
v.x = rho[i];
|
||||
v.x = esph[i];
|
||||
v.y = cv[i];
|
||||
v.y = esph[i];
|
||||
v.z = cv[i];
|
||||
v.w = mass[i];
|
||||
pextra[idx] = v;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user