Changeset 601 for trunk/src/series.m
 Timestamp:
 Apr 3, 2013, 1:39:53 PM (11 years ago)
 File:

 1 edited
Legend:
 Unmodified
 Added
 Removed

trunk/src/series.m
r600 r601 1342 1342 1343 1343 %% select the Action modes 1344 RunModeList=get(handles.RunMode,'String'); 1345 RunMode=RunModeList{get(handles.RunMode,'Value')}; 1344 RunMode='local';%default 1345 if isfield(Series.Action,'RunMode') 1346 RunMode=Series.Action.RunMode; 1347 end 1346 1348 ActionExt='.m';%default 1347 1349 if isfield(Series.Action,'ActionExt') … … 1456 1458 for iprocess=1:NbProcess 1457 1459 if isempty(Series.IndexRange.NbSlice) 1458 Series.IndexRange.first_i=first_i+(iprocess1)*BlockLength ;1460 Series.IndexRange.first_i=first_i+(iprocess1)*BlockLength*incr_i; 1459 1461 if Series.IndexRange.first_i>last_i 1460 1462 break 1461 1463 end 1462 Series.IndexRange.last_i=min(first_i+(iprocess)*BlockLength 1,last_i);1464 Series.IndexRange.last_i=min(first_i+(iprocess)*BlockLength*incr_i1,last_i); 1463 1465 else 1464 1466 Series.IndexRange.first_i= first_i+iprocess1; … … 1509 1511 for iprocess=1:NbProcess 1510 1512 if isempty(Series.IndexRange.NbSlice)% process by blocks of i index 1511 Series.IndexRange.first_i=first_i+(iprocess1)*BlockLength ;1513 Series.IndexRange.first_i=first_i+(iprocess1)*BlockLength*incr_i; 1512 1514 if Series.IndexRange.first_i>last_i 1513 1515 NbProcess=iprocess1; 1514 1516 break% leave the loop, we are at the end of the calculation 1515 1517 end 1516 Series.IndexRange.last_i=min(last_i,first_i+(iprocess)*BlockLength 1);1518 Series.IndexRange.last_i=min(last_i,first_i+(iprocess)*BlockLength*incr_i1); 1517 1519 else% process by slices of i index if NbSlice is defined, computation in a single process if NbSlice =1 1518 1520 Series.IndexRange.first_i= first_i+iprocess1;
Note: See TracChangeset
for help on using the changeset viewer.