mailr15434 - /branches/frame_order_testing/maths_fns/frame_order_matrix_ops.py


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

Header


Content

Posted by edward on March 05, 2012 - 11:14:
Author: bugman
Date: Mon Mar  5 11:14:13 2012
New Revision: 15434

URL: http://svn.gna.org/viewcvs/relax?rev=15434&view=rev
Log:
The multi-processor Processor_box is now available for parallelisation of the 
pseudo-ellipse model.


Modified:
    branches/frame_order_testing/maths_fns/frame_order_matrix_ops.py

Modified: branches/frame_order_testing/maths_fns/frame_order_matrix_ops.py
URL: 
http://svn.gna.org/viewcvs/relax/branches/frame_order_testing/maths_fns/frame_order_matrix_ops.py?rev=15434&r1=15433&r2=15434&view=diff
==============================================================================
--- branches/frame_order_testing/maths_fns/frame_order_matrix_ops.py 
(original)
+++ branches/frame_order_testing/maths_fns/frame_order_matrix_ops.py Mon Mar  
5 11:14:13 2012
@@ -41,6 +41,7 @@
 from maths_fns.kronecker_product import kron_prod, transpose_23
 from maths_fns.pseudo_ellipse import pec
 from maths_fns.rotation_matrix import euler_to_R_zyz, two_vect_to_R
+from multi import Processor_box
 
 
 def compile_1st_matrix_pseudo_ellipse(matrix, theta_x, theta_y, sigma_max):
@@ -1520,6 +1521,10 @@
             pcs_theta[i, j] = 0.0
             pcs_theta_err[i, j] = 0.0
 
+    # Get the Processor box singleton (it contains the Processor instance) 
and alias the Processor.
+    processor_box = Processor_box() 
+    processor = processor_box.processor
+
     # Loop over the samples.
     num = 0
     for i in range(len(points)):




Related Messages


Powered by MHonArc, Updated Mon Mar 05 17:00:01 2012