Ignore:
Timestamp:
Oct 10, 2014, 10:11:30 AM (7 years ago)
Author:
sommeria
Message:

various

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/read_civdata.m

    r809 r822  
    105105    return
    106106end
     107% set the list of variables to read and their role
    107108[varlist,role,VelTypeOut]=varcivx_generator(ProjModeRequest,VelType,Data.CivStage);
    108109if isempty(varlist)
     
    125126            Field.SubDomain=Field.Patch1_SubDomain;
    126127            Field.ListGlobalAttribute=[Field.ListGlobalAttribute {'SubDomain'}];
    127         end 
     128        end
    128129        if isfield(Field,'Civ1_Dt')
    129         Field.Dt=Field.Civ1_Dt;
     130            Field.Dt=Field.Civ1_Dt;
    130131        end
    131132        if isfield(Field,'Civ1_Time')
    132         Field.Time=Field.Civ1_Time;
     133            Field.Time=Field.Civ1_Time;
    133134        end
    134135    case{'civ2','filter2'}
     
    154155    if strcmp(role{var_ind(ivar)},'vector_x')
    155156        Field.VarAttribute{ivar}.FieldName=FieldNames;
    156 %         Field.VarAttribute{ivar}.ProjModeRequest=ProjModeRequest;
    157157        ivar_U=ivar;
    158158    end
    159159    if strcmp(role{var_ind(ivar)},'vector_x_tps')
    160160        Field.VarAttribute{ivar}.FieldName=FieldNames;
    161 %         Field.VarAttribute{ivar}.ProjModeRequest=ProjModeRequest;
    162161        ivar_U_tps=ivar;
    163162    end
    164163    if strcmp(role{var_ind(ivar)},'vector_y')
    165164        Field.VarAttribute{ivar}.FieldName=FieldNames;
    166 %         Field.VarAttribute{ivar}.ProjModeRequest=ProjModeRequest;
    167165        ivar_V=ivar;
    168166    end
    169167    if strcmp(role{var_ind(ivar)},'vector_y_tps')
    170168        Field.VarAttribute{ivar}.FieldName=FieldNames;
    171 %         Field.VarAttribute{ivar}.ProjModeRequest=ProjModeRequest;
    172169        ivar_V_tps=ivar;
    173170    end
Note: See TracChangeset for help on using the changeset viewer.