Changeset 871 for trunk/src/find_field_bounds.m
- Timestamp:
- Feb 16, 2015, 12:15:23 AM (9 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/find_field_bounds.m
r867 r871 1 %'find_field_bounds': % find the bo ounds and typical meshs of coordinates1 %'find_field_bounds': % find the bounds and typical meshs of coordinates 2 2 %----------------------------------------------------------------------- 3 3 %function FieldOut=find_field_bounds(Field) … … 9 9 % 10 10 %INPUT 11 % Field 12 11 % Field: Matlab structure describing the input field 12 % 13 13 %======================================================================= 14 14 % Copyright 2008-2014, LEGI UMR 5519 / CNRS UJF G-INP, Grenoble, France … … 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 % end46 43 FieldOut.NbDim=NbDim; 47 44 if NbDim<=1; return; end% stop here for 1D fields
Note: See TracChangeset
for help on using the changeset viewer.