Changeset 1781
- Timestamp:
- 08/19/09 12:24:46 (16 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
issm/trunk/src/m/classes/public/ismodelselfconsistent.m
r1757 r1781 186 186 187 187 %DIAGNOSTIC 188 if strcmpi(md.analysis_type,'diagnostic')188 if md.analysis_type==DiagnosticAnalysisEnum, 189 189 190 190 %HUTTER ON ICESHELF WARNING … … 210 210 211 211 %PROGNOSTIC 212 if strcmp(md.analysis_type,'prognostic'),212 if md.analysis_type==PrognosticAnalysisEnum, 213 213 214 214 %VELOCITIES … … 220 220 221 221 %THERMAL STEADY AND THERMAL TRANSIENT 222 if strcmpi(md.analysis_type,'thermal'),222 if md.analysis_type==ThermalAnalysisEnum, 223 223 224 224 %EXTRUSION … … 240 240 241 241 %THERMAL TRANSIENT 242 if strcmpi(md.analysis_type,'thermal') & strcmp(md.sub_analysis_type,'transient'),242 if md.analysis_type==ThermalAnalysisEnum & md.sub_analysis_type==TransientAnalysisEnum, 243 243 244 244 %DT and NDT … … 263 263 264 264 %PARAMETERS 265 if strcmp(md.analysis_type,'parameters')265 if md.analysis_type==ParametersAnalysisEnum, 266 266 267 267 %PACKAGE … … 297 297 298 298 %CONTROL 299 if strcmpi(md.analysis_type,'control'),299 if md.analysis_type==ControlAnalysisEnum, 300 300 301 301 %CONTROL TYPE … … 352 352 end 353 353 354 %MESH355 if strcmpi(md.analysis_type,'mesh'),356 %this solution is a little special. It should come right after the md=model; operation. So a lot less checks!357 358 bool=1;359 return;360 end361 362 354 %MESH2GRID 363 if strcmpi(md.analysis_type,'mesh2grid'),355 if md.analysis_type==Mesh2gridAnalysisEnum, 364 356 if ~strcmpi(md.cluster,'none'), 365 357 disp(['model is not correctly configured: mesh2grid not supported in parallel yet!']);
Note:
See TracChangeset
for help on using the changeset viewer.