Changeset 4683
- Timestamp:
- 07/21/10 07:46:56 (15 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
issm/trunk/src/m/classes/public/ismodelselfconsistent.m
r4613 r4683 226 226 227 227 %CHECK THAT WE ARE NOT FULLY CONSTRAINED 228 if (md.dim==2), 229 if isempty(find(~md.spcvelocity(:,1:2))), 230 error(['model not consistent: model ' md.name ' is totally constrained, no need to solve!']); 228 if isempty(find(~md.spcvelocity(:,1:2))), 229 error(['model not consistent: model ' md.name ' is totally constrained horizontally, no need to solve!']); 230 end 231 if (md.dim==3), 232 if isempty(find(~md.spcvelocity(:,3))), 233 error(['model not consistent: model ' md.name ' is totally constrained vertically, no need to solve!']); 231 234 end 232 235 end
Note:
See TracChangeset
for help on using the changeset viewer.