Changeset 514
- Timestamp:
- Mar 6, 2012 11:01:57 AM (12 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
MPbranch/GSASIIstruct.py
r512 r514 2338 2338 2339 2339 def getPowderProfile(parmDict,x,varylist,Histogram,Phases,calcControls,pawleyLookup): 2340 mpPool = mp.Pool() 2340 if (calcControls['max Hprocess'] <= 1 and calcControls['max Rprocess'] > 1: 2341 mpPool = mp.Pool() 2341 2342 hId = Histogram['hId'] 2342 2343 hfx = ':%d:'%(hId) … … 2603 2604 2604 2605 def getPowderProfileDerv(parmDict,x,varylist,Histogram,Phases,calcControls,pawleyLookup): 2606 if (calcControls['max Hprocess'] <= 1 and calcControls['max Rprocess'] > 1: 2607 mpPool = mp.Pool() 2605 2608 # create a list of dependent variables and set up a dictionary to hold their derivatives 2606 2609 dependentVars = G2mv.GetDependentVars() … … 2680 2683 Phase,calcControls,wave,G,g,GB,A, 2681 2684 parmDict,pfx,phfx,hfx,Ka2,lamRatio,kRatio)) 2682 mpPool = mp.Pool()2683 2685 for res in mpPool.imap_unordered(ComputeReflectionDerivative,argList): 2684 2686 if res is None: continue
Note: See TracChangeset
for help on using the changeset viewer.