Adding sph/taitwater in lib/gpu

This commit is contained in:
Trung Nguyen
2023-12-07 17:22:45 -06:00
parent 6fe16c7606
commit cad4c25750
8 changed files with 835 additions and 7 deletions

View File

@ -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;
}