Changeset 2723
- Timestamp:
- 12/11/09 09:07:19 (15 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
issm/trunk/src/m/classes/public/ismodelselfconsistent.m
r2714 r2723 327 327 if any(md.spcthickness(find(md.gridonboundary))~=1), 328 328 error(['model not consistent: model ' md.name ' should have all the nodes on boundary constrained in field spcthickness']); 329 end 330 end 331 332 %BALANCEDVELOCITIES 333 if md.analysis_type==BalancedvelocitiesAnalysisEnum 334 335 %VELOCITIES MELTING AND ACCUMULATION 336 fields={'vx','vy','accumulation','melting'}; 337 checksize(md,fields,[md.numberofgrids 1]); 338 checknan(md,fields); 339 340 %SPC 341 if any(md.spcvelocity(find(md.gridonboundary),[1:2])~=1), 342 error(['model not consistent: model ' md.name ' should have all the nodes on boundary constrained in field spcvelocity']); 329 343 end 330 344 end
Note:
See TracChangeset
for help on using the changeset viewer.