twmode added - sphere - GPU-based 3D discrete element method algorithm with optional fluid coupling
(HTM) git clone git://src.adamsgaard.dk/sphere
(DIR) Log
(DIR) Files
(DIR) Refs
(DIR) LICENSE
---
(DIR) commit f8cd172bc206c6cda4f2f1fd6071df1ea90eab87
(DIR) parent 98d30b03e8da3fea17b70b1b0e59587e44b9a53c
(HTM) Author: Anders Damsgaard <adc@geo.au.dk>
Date: Thu, 30 Aug 2012 11:46:37 +0200
wmode added
Diffstat:
M src/file_io.cpp | 1 +
1 file changed, 1 insertion(+), 0 deletions(-)
---
(DIR) diff --git a/src/file_io.cpp b/src/file_io.cpp
t@@ -122,6 +122,7 @@ int fwritebin(char *target,
// Walls
fwrite(¶ms->nw, sizeof(params->nw), 1, fp); // No. of walls
for (j=0; j<params->nw; ++j) {
+ fwrite(params->wmode[j], sizeof(params->wmode), 1, fp);
// Wall normal
fwrite(&host_w_nx[j].x, sizeof(Float), 1, fp);
fwrite(&host_w_nx[j].y, sizeof(Float), 1, fp);