Changeset 1309
- Timestamp:
- 07/14/09 14:55:32 (16 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
issm/trunk/src/m/classes/public/process_solve_options.m
r1268 r1309 46 46 end 47 47 if ~found 48 if ~strcmpi(analysis_type,'thermal'), 49 sub_analysis_type='none'; 50 else 48 if strcmpi(analysis_type,'control'), 49 disp('recover_solve_options info message: no ''sub_analysis_type'' was provided, defaulting to ''inverse'''); 50 sub_analysis_type='inverse'; 51 elseif strcmpi(analysis_type,'thermal'), 51 52 disp('recover_solve_options info message: no ''sub_analysis_type'' was provided, defaulting to ''steady'''); 52 53 sub_analysis_type='steady'; 54 else 55 sub_analysis_type='none'; 53 56 end 54 57 end … … 68 71 69 72 %check solution type is supported 70 if ~( strcmpi(analysis_type,'control') | ...73 if ~( strcmpi(analysis_type,'control') | ... 71 74 strcmpi(analysis_type,'diagnostic') | ... 72 75 strcmpi(analysis_type,'prognostic') | ... … … 78 81 error(['process_solve_options error message: analysis_type ' analysis_type ' not supported yet!']); 79 82 end 80 if ~( strcmpi(sub_analysis_type,'none') | ...83 if ~( strcmpi(sub_analysis_type,'none') | ... 81 84 strcmpi(sub_analysis_type,'steady') | ... 82 85 strcmpi(sub_analysis_type,'horiz') | ... 86 strcmpi(sub_analysis_type,'adjoint') | ... 87 strcmpi(sub_analysis_type,'gradient') | ... 88 strcmpi(sub_analysis_type,'inverse') | ... 83 89 strcmpi(sub_analysis_type,'vert') | ... 84 90 strcmpi(sub_analysis_type,'') | ...
Note:
See TracChangeset
for help on using the changeset viewer.