Changeset 735 for trunk/src/proj_field.m


Ignore:
Timestamp:
Apr 9, 2014, 9:37:44 AM (11 years ago)
Author:
sommeria
Message:

various corrections

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/proj_field.m

    r690 r735  
    147147end
    148148[ProjData,errormsg]=proj_heading(FieldData,ObjectData);
     149if ~isempty(errormsg)
     150    return
     151end
    149152ProjData.NbDim=0;
    150153[CellInfo,NbDimArray,errormsg]=find_field_cells(FieldData);
     
    305308%-------------------------------------------------------------------
    306309[ProjData,errormsg]=proj_heading(FieldData,ObjectData);
    307 
     310if ~isempty(errormsg)
     311    return
     312end
    308313%objectfield=fieldnames(ObjectData);
    309314widthx=0;
     
    16081613%% initiate Matlab  structure for physical field
    16091614[ProjData,errormsg]=proj_heading(FieldData,ObjectData);
     1615if ~isempty(errormsg)
     1616    return
     1617end
     1618
    16101619ProjData.NbDim=3;
    16111620ProjData.ListVarName={};
Note: See TracChangeset for help on using the changeset viewer.