Changeset 954 for trunk/src/find_field_bounds.m
- Timestamp:
- Jun 22, 2016, 1:36:50 PM (9 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/find_field_bounds.m
r924 r954 54 54 CoordMin=zeros(numel(imax),NbDim); 55 55 Mesh=zeros(1,numel(imax)); 56 FieldOut.ProjModeRequest='projection';%default 56 57 for ind=1:numel(imax) 57 58 if strcmp(CellInfo{imax(ind)}.CoordType,'tps') … … 90 91 Mesh(ind)=min((CoordMax(ind,:)-CoordMin(ind,:))./(NbPoints-1)); 91 92 end 93 if isfield(CellInfo{imax(ind)},'ProjModeRequest') 94 if strcmp(CellInfo{imax(ind)}.ProjModeRequest,'interp_tps') 95 FieldOut.ProjModeRequest='interp_tps'; 96 end 97 if strcmp(CellInfo{imax(ind)}.ProjModeRequest,'interp_lin')&& ~strcmp(FieldOut.ProjModeRequest,'interp_tps') 98 FieldOut.ProjModeRequest='interp_lin'; 99 end 100 end 92 101 end 93 102 Mesh=min(Mesh);
Note: See TracChangeset
for help on using the changeset viewer.