mailr18255 - /trunk/specific_fns/n_state_model.py


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

Header


Content

Posted by edward on January 21, 2013 - 23:37:
Author: bugman
Date: Mon Jan 21 23:37:09 2013
New Revision: 18255

URL: http://svn.gna.org/viewcvs/relax?rev=18255&view=rev
Log:
Fix for the N-state model Monte Carlo simulations for when the paramagnetic 
centre is fixed.


Modified:
    trunk/specific_fns/n_state_model.py

Modified: trunk/specific_fns/n_state_model.py
URL: 
http://svn.gna.org/viewcvs/relax/trunk/specific_fns/n_state_model.py?rev=18255&r1=18254&r2=18255&view=diff
==============================================================================
--- trunk/specific_fns/n_state_model.py (original)
+++ trunk/specific_fns/n_state_model.py Mon Jan 21 23:37:09 2013
@@ -898,7 +898,7 @@
         # The paramagnetic centre.
         if not hasattr(cdp, 'paramagnetic_centre'):
             paramag_centre = zeros(3, float64)
-        elif sim_index != None:
+        elif sim_index != None and not cdp.paramag_centre_fixed:
             if not hasattr(cdp, 'paramagnetic_centre_sim') or 
cdp.paramagnetic_centre_sim[sim_index] == None:
                 paramag_centre = zeros(3, float64)
             else:




Related Messages


Powered by MHonArc, Updated Tue Jan 22 10:00:02 2013