Changeset 7024
- Timestamp:
- 01/11/11 14:23:41 (14 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
issm/trunk/src/m/model/ismodelselfconsistent.m
r7021 r7024 30 30 md.analysis_type=analysis(i); 31 31 ismodelselfconsistent(md); 32 end 33 34 if(md.cfl_coefficient>1 | md.cfl_coefficient<0), 35 error(['model not consistent: model ' md.name ' cfl_coefficient field should between 0 and 1']); 32 36 end 33 37 end … … 178 182 if ~ismember(md.lowmem,[0 1]), 179 183 error(['model not consistent: model ' md.name ' lowmem field should be 0 or 1']); 184 end 185 if ~ismember(md.time_adapt,[0 1]), 186 error(['model not consistent: model ' md.name ' time_adapt field should be 0 or 1']); 180 187 end 181 188 if ~ismember(md.hydrostatic_adjustment,[AbsoluteEnum IncrementalEnum]),
Note:
See TracChangeset
for help on using the changeset viewer.