Changeset 3037
- Timestamp:
- 02/16/10 11:01:04 (15 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
issm/trunk/src/m/classes/public/ismodelselfconsistent.m
r2991 r3037 195 195 error(['model not consistent: user supplied partition should be indexed from 0 (c-convention)']); 196 196 end 197 if md.npart~=md.numberofgrids, 198 error(['model not consistent: user supplied partition should have same size as md.npart']); 199 end 200 end 201 if md.eps_rel>10^-3, 197 if min(md.part)~=0, 198 error(['model not consistent: partition vector not indexed from 0 on']); 199 end 200 if max(md.part)>=md.numberofgrids, 201 error(['model not consistent: partition vector cannot have maximum index larger than number of grids']); 202 end 203 end 204 if md.eps_rel>1.1*10^-5, 202 205 error(['model not consistent: for qmu analysis, eps_rel should be least than 10^-5, 10^-15 being a better value']); 203 206 end
Note:
See TracChangeset
for help on using the changeset viewer.