Changeset 180 for trunk/src/sub_field.m


Ignore:
Timestamp:
Jan 18, 2011, 10:50:40 PM (14 years ago)
Author:
sommeria
Message:

rationalisation of uvmat, introduction of the new function read_field, links with get_field, several bug repairs

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/sub_field.m

    r179 r180  
    289289    SubData.ListVarName=[SubData.ListVarName {XName_1_1} {YName_1_1} {AName_1_1}];
    290290    DimCell=[DimCell Field_1.VarDimName(ivar_C_1)]; %(TODO: check for dimension names)
     291    if testX_1
     292        for icell=1:numel(DimCell)
     293            if isequal(DimCell{icell}{1},SubData.VarDimName{1}{1})
     294                DimCell{icell}{1}=[DimCell{icell}{1} '_1'];
     295            end
     296        end
     297    end
    291298    SubData.VarDimName=[SubData.VarDimName DimCell];
    292299    if isfield(Field_1,'VarAttribute')
Note: See TracChangeset for help on using the changeset viewer.