thost_wmode removed - 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 98d30b03e8da3fea17b70b1b0e59587e44b9a53c
 (DIR) parent d44739f8bca651e34af999b077c419e716695e61
 (HTM) Author: Anders Damsgaard <adc@geo.au.dk>
       Date:   Thu, 30 Aug 2012 11:46:28 +0200
       
       host_wmode removed
       
       Diffstat:
         M src/main.cpp                        |       6 ++----
       
       1 file changed, 2 insertions(+), 4 deletions(-)
       ---
 (DIR) diff --git a/src/main.cpp b/src/main.cpp
       t@@ -394,9 +394,9 @@ int main(int argc, char *argv[])
            cout << "  - x- and y boundaries: Frictional walls\n";
        
          cout << "  - Top BC: ";
       -  if (host_wmode[0] == 0)
       +  if (params.wmode[0] == 0)
            cout << "Deviatoric stress\n";
       -  else if (host_wmode[0] == 1)
       +  else if (params.wmode[0] == 1)
            cout << "Velocity\n";
          else {
            cerr << "Top boundary condition not recognized!\n";
       t@@ -445,7 +445,6 @@ int main(int argc, char *argv[])
                  &time, &params,
                  host_w_nx,
                  host_w_mvfd,
       -          host_wmode,
                  cwd, inputbin);
        
        
       t@@ -483,7 +482,6 @@ int main(int argc, char *argv[])
          delete[] p.es_dot;
          delete[] p.es;
          delete[] p.p;
       -  delete[] params.nw;
        
          // Wall arrays
          delete[] host_w_nx;