Changeset 867 for trunk/src/find_field_bounds.m
- Timestamp:
- Feb 12, 2015, 9:31:47 PM (10 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/find_field_bounds.m
r809 r867 41 41 NbDim=max(NbDimArray);% spatial dimension of the input field 42 42 imax=find(NbDimArray==NbDim);% indices of field cells to consider 43 if isfield(Field,'NbDim')44 NbDim=double(Field.NbDim);% deal with plane fields containing z coordinates45 end43 % if isfield(Field,'NbDim') 44 % NbDim=double(Field.NbDim);% deal with plane fields containing z coordinates 45 % end 46 46 FieldOut.NbDim=NbDim; 47 47 if NbDim<=1; return; end% stop here for 1D fields
Note: See TracChangeset
for help on using the changeset viewer.