Changeset 2519
- Timestamp:
- 10/23/09 11:23:30 (15 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
issm/trunk/src/m/classes/public/ismodelselfconsistent.m
r2440 r2519 233 233 checknan(md,fields); 234 234 235 %CHECK THAT WE ARE NOT FULLY CONSTRAINED 236 if strcmpi(md.type,'2d'), 237 if isempty(find(~md.spcthickness(:,1))), 238 error(['model not consistent: model ' md.name ' is totally constrained for prognostic, no need to solve!']); 239 end 240 end 241 235 242 end 236 243 … … 265 272 if strcmp(md.type,'2d'), 266 273 error(['model not consistent: for a ' md.analysis_type ' computation, the model must be 3d, extrude it first!']) 274 end 275 276 %CHECK THAT WE ARE NOT FULLY CONSTRAINED 277 if strcmpi(md.type,'2d'), 278 if isempty(find(~md.spctemperature(:,1))), 279 error(['model not consistent: model ' md.name ' is totally constrained for temperature, no need to solve!']); 280 end 267 281 end 268 282
Note:
See TracChangeset
for help on using the changeset viewer.