mailr16908 - /trunk/data/mol_res_spin.py


Others Months | Index by Date | Thread Index
>>   [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Header


Content

Posted by edward on June 14, 2012 - 14:38:
Author: bugman
Date: Thu Jun 14 14:38:37 2012
New Revision: 16908

URL: http://svn.gna.org/viewcvs/relax?rev=16908&view=rev
Log:
Initialised a look up table in the cdp.mol structure for faster spin access.

This look up table will be slowly transitioned to, and should significantly 
speed up certain
operations.


Modified:
    trunk/data/mol_res_spin.py

Modified: trunk/data/mol_res_spin.py
URL: 
http://svn.gna.org/viewcvs/relax/trunk/data/mol_res_spin.py?rev=16908&r1=16907&r2=16908&view=diff
==============================================================================
--- trunk/data/mol_res_spin.py (original)
+++ trunk/data/mol_res_spin.py Thu Jun 14 14:38:37 2012
@@ -665,6 +665,9 @@
         # Add the initial molecule container at index 0.
         self.append(MoleculeContainer())
 
+        # Create a special lookup table for fast spin access.
+        self.lookup_table = {}
+
 
     def __repr__(self):
         """The string representation of the object.




Related Messages


Powered by MHonArc, Updated Thu Jun 14 15:00:02 2012