mailr23417 - /branches/disp_speed/lib/dispersion/cr72.py


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

Header


Content

Posted by tlinnet on May 26, 2014 - 13:50:
Author: tlinnet
Date: Mon May 26 13:50:02 2014
New Revision: 23417

URL: http://svn.gna.org/viewcvs/relax?rev=23417&view=rev
Log:
Critical fix for the math domain catching of model CR72.

Removed the test for kex >= 1.e5.

This catching should rather be performed on the math functions instead.

Modified:
    branches/disp_speed/lib/dispersion/cr72.py

Modified: branches/disp_speed/lib/dispersion/cr72.py
URL: 
http://svn.gna.org/viewcvs/relax/branches/disp_speed/lib/dispersion/cr72.py?rev=23417&r1=23416&r2=23417&view=diff
==============================================================================
--- branches/disp_speed/lib/dispersion/cr72.py  (original)
+++ branches/disp_speed/lib/dispersion/cr72.py  Mon May 26 13:50:02 2014
@@ -129,7 +129,7 @@
     k_AB = pB * kex
 
     # Catch parameter values that will result in no exchange, returning flat 
R2eff = R20 lines (when kex = 0.0, k_AB = 0.0).
-    if dw == 0.0 or pA == 1.0 or k_AB == 0.0 or kex >= 1.e5:
+    if dw == 0.0 or pA == 1.0 or k_AB == 0.0:
         return array([r20a]*num_points)
 
     # The Psi and zeta values.




Related Messages


Powered by MHonArc, Updated Mon May 26 14:00:03 2014