Hi Darwin,

This is sort of interesting, it still seems to be the fallout of the 
previous problem we had. I'll jump into the fix. Again I'll push the fix in 
a few days but you can fix it yourself. In file  *ChGpu_SMC_trimesh.cuh*, 
line 176~178 should be changed to


*SDcenter[0] = gran_params->BD_frame_X + (int64_t)(i * 2 + 1) * 
(int64_t)gran_params->SD_size_X_SU / 2;SDcenter[1] = 
gran_params->BD_frame_Y + (int64_t)(j * 2 + 1) * 
(int64_t)gran_params->SD_size_Y_SU / 2;SDcenter[2] = 
gran_params->BD_frame_Z + (int64_t)(k * 2 + 1) * 
(int64_t)gran_params->SD_size_Z_SU / 2;*
And line 268~270 line should be changed to this as well:


*SDcenter[0] = gran_params->BD_frame_X + (int64_t)(i * 2 + 1) * 
(int64_t)gran_params->SD_size_X_SU / 2;SDcenter[1] = 
gran_params->BD_frame_Y + (int64_t)(j * 2 + 1) * 
(int64_t)gran_params->SD_size_Y_SU / 2;SDcenter[2] = 
gran_params->BD_frame_Z + (int64_t)(k * 2 + 1) * 
(int64_t)gran_params->SD_size_Z_SU / 2;*

(continued to the next post...)

-- 
You received this message because you are subscribed to the Google Groups 
"ProjectChrono" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/projectchrono/56675900-7ac8-421b-99ee-6aa43f1541d8n%40googlegroups.com.

Reply via email to