Changeset 896 for trunk/src/read_field.m


Ignore:
Timestamp:
May 23, 2015, 5:09:49 PM (9 years ago)
Author:
sommeria
Message:

bug corrected in civ_series/patch

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/read_field.m

    r890 r896  
    167167        UName='';
    168168        VName='';
     169        if numel(Field.ListVarName)>NbCoord % if there are variables beyond coord (1 D plots)
    169170        for ilist=1:numel(ListVar)
    170171            Field.VarAttribute{ilist+NbCoord}.Role=Role{ilist};
     
    189190            end
    190191        end
     192
    191193        if ~isempty(NormName)% remove U and V if norm has been calculated and U and V are not needed as variables
    192194            ind_var_U=find(strcmp(UName,ListVar));%check previous listing of variable r.UName
     
    216218            Field.VarAttribute=[cell(1,numel(Field.ListDimName)) Field.VarAttribute]
    217219        end
     220                end
    218221    case 'video'
    219222        if strcmp(class(ParamIn),'VideoReader')
Note: See TracChangeset for help on using the changeset viewer.