Ignore:
Timestamp:
03/04/11 14:54:02 (14 years ago)
Author:
Mathieu Morlighem
Message:

moved md.analysis_type to md.solution_type

File:
1 edited

Legend:

Unmodified
Added
Removed
  • issm/trunk/src/m/qmu/process_qmu_options.m

    r6568 r7629  
    3737end
    3838
    39 %sub_analysis_type: check on it, not mandatory
    40 found=0;
    41 for i=1:size(options,1),
    42         if strcmpi(options{i,1},'sub_analysis_type'),
    43                 sub_analysis_type=options{i,2};
    44                 found=1;
    45         end
    46 end
    47 if ~found
    48         if ~strcmpi(analysis_type,'thermal'),
    49                 sub_analysis_type='none';
    50         else
    51                 disp('recover_qmu_options info message: no ''sub_analysis_type'' was provided, defaulting to ''steady''');
    52                 sub_analysis_type='steady';
    53         end
    54 end
    55 
    5639%check solution type is supported
    5740if ~(strcmpi(analysis_type,'control') |  ...
     
    6548        error(['process_qmu_options error message: analysis_type ' analysis_type ' not supported yet!']);
    6649end
    67 if ~(strcmpi(sub_analysis_type,'none') |  ...
    68                 strcmpi(sub_analysis_type,'steady') |  ...
    69                 strcmpi(sub_analysis_type,'horiz') |  ...
    70                 strcmpi(sub_analysis_type,'vert') |  ...
    71                 strcmpi(sub_analysis_type,'') |  ...
    72                 strcmpi(sub_analysis_type,'transient') ),
    73         error(['process_qmu_options error message: sub_analysis_type ' sub_analysis_type ' not supported yet!']);
    74 end
    75 
    76 
    7750
    7851%  process qmu arguments
     
    12194outoptions.analysis_type=analysis_type;
    12295outoptions.package=package;
    123 outoptions.sub_analysis_type=sub_analysis_type;
    12496outoptions.qmudir=qmudir;
    12597outoptions.qmufile=qmufile;
Note: See TracChangeset for help on using the changeset viewer.