Ignore:
Timestamp:
Jan 22, 2017, 11:19:10 PM (7 years ago)
Author:
g7moreau
Message:
  • Rewrite some case
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/read_civdata.m

    r977 r987  
    8989    if ~isempty(FieldNames{ilist})
    9090        switch FieldNames{ilist}
    91             case{'U','V','norm(U,V)'}
     91            case {'U','V','norm(U,V)'}
    9292                if ~strcmp(FieldNames{1},'vec(U,V)')% if the scalar is not used as color of vectors
    9393                ProjModeRequest='interp_lin';
     
    122122end
    123123switch VelTypeOut
    124     case{'civ1','filter1'}
     124    case {'civ1','filter1'}
    125125        if isfield(Field,'Patch1_SubDomain')
    126126            Field.SubDomain=Field.Patch1_SubDomain;
     
    133133            Field.Time=Field.Civ1_Time;
    134134        end
    135     case{'civ2','filter2'}
     135    case {'civ2','filter2'}
    136136        if isfield(Field,'Patch2_SubDomain')
    137137            Field.SubDomain=Field.Patch2_SubDomain;
Note: See TracChangeset for help on using the changeset viewer.