Ignore:
Timestamp:
Feb 16, 2015, 12:15:23 AM (6 years ago)
Author:
sommeria
Message:

histo improved

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/find_field_bounds.m

    r867 r871  
    1 %'find_field_bounds': % find the boounds and typical meshs of coordinates
     1%'find_field_bounds': % find the bounds and typical meshs of coordinates
    22%-----------------------------------------------------------------------
    33%function  FieldOut=find_field_bounds(Field)
     
    99%
    1010%INPUT
    11 % Field
    12 
     11% Field: Matlab structure describing the input field
     12%
    1313%=======================================================================
    1414% Copyright 2008-2014, LEGI UMR 5519 / CNRS UJF G-INP, Grenoble, France
     
    4141NbDim=max(NbDimArray);% spatial dimension of the input field
    4242imax=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 coordinates
    45 % end
    4643FieldOut.NbDim=NbDim;
    4744if  NbDim<=1; return; end% stop here for 1D fields
Note: See TracChangeset for help on using the changeset viewer.