Ignore:
Timestamp:
10/14/09 14:30:17 (5 years ago)
Author:
srkline
Message:

Change (1):
In preparation for release, updated pragma IgorVersion?=6.1 in all procedures

Change (2):
As a side benefit of requiring 6.1, we can use the MultiThread? keyword to thread any model function we like. The speed benefit is only noticeable on functions that require at least one integration and at least 100 points (resolution smearing is NOT threaded, too many threadSafe issues, too little benefit). I have chosen to use the MultiThread? only on the XOP assignment. In the Igor code there are too many functions that are not explicitly declared threadsafe, making for a mess.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • sans/Dev/trunk/NCNR_User_Procedures/Analysis/Models/NewModels_2008/ConvexLens_v40.ipf

    r510 r570  
    11#pragma rtGlobals=1             // Use modern global access method. 
    2 #pragma IgorVersion = 6.0 
     2#pragma IgorVersion=6.1 
    33 
    44//////////////////////////////////////////////////// 
     
    8989Function ConvexLens(cw,yw,xw) : FitFunc 
    9090        Wave cw,yw,xw 
    91          
     91 
     92//      Variable t1=StopMSTimer(-2) 
     93 
    9294#if exists("ConvexLensX") 
    93         yw = ConvexLensX(cw,xw) 
     95        MultiThread yw = ConvexLensX(cw,xw) 
    9496#else 
    9597        yw = fConvexLens(cw,xw) 
    9698#endif 
     99 
     100//      Print "elapsed time = ",(StopMSTimer(-2) - t1)/1e6 
     101 
    97102        return(0) 
    98103End 
Note: See TracChangeset for help on using the changeset viewer.