Changeset 2886


Ignore:
Timestamp:
01/21/10 21:21:39 (15 years ago)
Author:
Eric.Larour
Message:

Better handling of sub_analysis_type

File:
1 edited

Legend:

Unmodified
Added
Removed
  • issm/trunk/src/m/classes/public/loadresultsfromdisk.m

    r2386 r2886  
    2222        %Check result is consistent, only if it exists
    2323        disp(sprintf('%s\n','checking result consistency'));
    24         if ~isresultconsistent(md,md.analysis_type),
     24        if ~isresultconsistent(md,structure.analysis_type),
    2525                %it would be very cruel to put an error, it would kill the computed results (even if not consistent...)
    2626                disp('!! results not consistent correct the model !!')
     
    2828end
    2929
    30 %convert analysis type to string
    31 md.analysis_type=AnalysisTypeFromEnum(md.analysis_type);
    32 md.sub_analysis_type=AnalysisTypeFromEnum(md.sub_analysis_type);
     30%recover analysis_type from results
     31md.analysis_type=structure.analysis_type;
     32md.sub_analysis_type=structure.sub_analysis_type;
    3333
    3434%post processes qmu results if necessary
Note: See TracChangeset for help on using the changeset viewer.