tChanged format for writing, and contact model value report - 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 842f88c6dc91a14bf7d8fea33f5f6eb16f06b652
 (DIR) parent 73fc6c1a3ca9364ec5a963d5ccaaa6a0975b5742
 (HTM) Author: Anders Damsgaard <adc@geo.au.dk>
       Date:   Thu,  8 Nov 2012 12:25:18 +0100
       
       Changed format for writing, and contact model value report
       
       Diffstat:
         M src/sphere.cpp                      |       4 ++--
       
       1 file changed, 2 insertions(+), 2 deletions(-)
       ---
 (DIR) diff --git a/src/sphere.cpp b/src/sphere.cpp
       t@@ -40,7 +40,7 @@ DEM::DEM(const std::string inputbin,
            reportValues();
            
          // Write initial data to output/<sid>.output0.bin
       -  writebin(("output/" + sid + ".output0.bin").c_str());
       +  writebin(("output/" + sid + ".output0000.bin").c_str());
        
          // Initialize CUDA
          initializeGPU();
       t@@ -214,7 +214,7 @@ void DEM::reportValues()
          else if (params.contactmodel == 3)
            cout << "  - Contact model: Nonlinear-elastic-visco-frictional\n";
          else {
       -    cerr << "Error: Contact model value not understood.\n";
       +    cerr << "Error: Contact model value (" << params.contactmodel << ") not understood.\n";
            exit(1);
          }