tadd function to set simulation id - 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 bbfdff16a7290aa16d5d2e8836555b5430f0e503
 (DIR) parent 123496aa3901d83e7f8084934e3b23867383eff3
 (HTM) Author: Anders Damsgaard <anders.damsgaard@geo.au.dk>
       Date:   Tue, 16 Sep 2014 09:22:18 +0200
       
       add function to set simulation id
       
       Diffstat:
         M python/sphere.py                    |      10 ++++++++++
       
       1 file changed, 10 insertions(+), 0 deletions(-)
       ---
 (DIR) diff --git a/python/sphere.py b/python/sphere.py
       t@@ -626,6 +626,16 @@ class sim:
                # All equal
                return 0
        
       +    def id(self, sid):
       +        '''
       +        Set the simulation id/name, which will be used to identify simulation
       +        files in the output folders.
       +
       +        :param sid: The desired simulation id
       +        :type sid: str
       +        '''
       +        self.sid = sid
       +
            def addParticle(self,
                    x,
                    radius,