tadd parameter to scale line thicknesses - 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 264d5babe736a97258c7b97f282c2b253d5693a3
 (DIR) parent 4c79e2fe81254dd549321cac5be97dad456a8106
 (HTM) Author: Anders Damsgaard <anders.damsgaard@geo.au.dk>
       Date:   Wed, 24 Sep 2014 10:28:49 +0200
       
       add parameter to scale line thicknesses
       
       Diffstat:
         M src/sphere.cpp                      |       4 +++-
       
       1 file changed, 3 insertions(+), 1 deletion(-)
       ---
 (DIR) diff --git a/src/sphere.cpp b/src/sphere.cpp
       t@@ -740,6 +740,8 @@ void DEM::forcechains(const std::string format, const int threedim,
            unsigned int n, i, j;
            Float delta_n, f_n, ratio;
            std::string color;
       +    //const double thickness_scaling = 8.0;
       +    const double thickness_scaling = 16.0;
            for (n=0; n<ij.size(); ++n) {
        
                // Get contact particle indexes
       t@@ -789,7 +791,7 @@ void DEM::forcechains(const std::string format, const int threedim,
                            cout << k.x[j].y, ',';
                        cout << k.x[j].z;
                        cout << " nohead "
       -                    << "lw " << ratio * 8.0
       +                    << "lw " << ratio * thickness_scaling
                            << " lc palette cb " << f_n 
                            << endl;
                    }