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 a23088dbf757ad7a6bcbeefd6b498cdf6786325f
 (DIR) parent 15b7ef696d1c3ac14315de78a2cd88beefc73b7b
 (HTM) Author: Anders Damsgaard <adc@geo.au.dk>
       Date:   Thu, 30 Aug 2012 11:34:58 +0200
       
       wmode added
       
       Diffstat:
         M src/datatypes.h                     |       5 +++++
       
       1 file changed, 5 insertions(+), 0 deletions(-)
       ---
 (DIR) diff --git a/src/datatypes.h b/src/datatypes.h
       t@@ -47,6 +47,10 @@ typedef double4 Float4;
        // SYMBOLIC CONSTANTS //
        ////////////////////////
        
       +// Define the max. number of walls
       +#define MAXWALLS 6
       +
       +
        const Float PI = 3.14159265358979;
        
        // Number of dimensions (1 and 2 NOT functional)
       t@@ -109,6 +113,7 @@ struct Params {
          Float *g;
          unsigned int np;
          unsigned int nw;
       +  int* wmode;
          Float dt; 
          Float k_n;
          Float k_t;