Changeset 675 for trunk/src/find_field_cells.m
- Timestamp:
- Aug 27, 2013, 11:25:21 PM (11 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/find_field_cells.m
r674 r675 176 176 CellInfo{icell}.NbCentres_tps= ivar_remain(ivardim);% nbre of sites for each tps subdomain 177 177 check_cell(ivar_remain(ivardim))=1;% mark the variable as selected 178 elseif strcmp(VarDimName{ivardim}{1},DimCell{2}) && strcmp(VarDimName{ivardim}{3},DimCell{3})178 elseif strcmp(VarDimName{ivardim}{1},DimCell{2}) && numel(VarDimName{ivardim})>=3 && strcmp(VarDimName{ivardim}{3},DimCell{3}) 179 179 CellInfo{icell}.SubRange_tps=ivar_remain(ivardim);% subrange definiton for tps 180 180 check_cell(ivar_remain(ivardim))=1;% mark the variable as selected … … 247 247 end 248 248 249 % group the remaining variables in cells sharing the same coordinate variables249 %% group the remaining variables in cells sharing the same coordinate variables 250 250 NewCellInfo={}; 251 251 NewCellDimIndex={};
Note: See TracChangeset
for help on using the changeset viewer.