tfix sign issue in contact area computation - 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 c5cca9ab322bea5b1b0e09da0416e677f93a2e3a
 (DIR) parent ac4846ed72cbc22f07e21a53f2c6a61daca68c4e
 (HTM) Author: Anders Damsgaard <anders.damsgaard@geo.au.dk>
       Date:   Thu, 19 Feb 2015 14:04:07 +0100
       
       fix sign issue in contact area computation
       
       Diffstat:
         M python/sphere.py                    |       2 +-
       
       1 file changed, 1 insertion(+), 1 deletion(-)
       ---
 (DIR) diff --git a/python/sphere.py b/python/sphere.py
       t@@ -4314,7 +4314,7 @@ class sim:
                '''
                r_i = self.radius[i]
                r_j = self.radius[j]
       -        d = r_i + r_j - overlap
       +        d = r_i + r_j + overlap
                contact_radius = 1./(2.*d)*(
                        (-d + r_i - r_j)*(-d - r_i + r_j)*
                        (-d + r_i + r_j)*( d + r_i + r_j)