Changeset 1876
- Timestamp:
- 08/25/09 11:37:56 (16 years ago)
- Location:
- issm/trunk/src/m/classes/public
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
issm/trunk/src/m/classes/public/parameterize.m
r1484 r1876 15 15 if md.counter>=4, 16 16 %We need to take this out, as it gets too constraining. 17 %choice=input('This model already has parameters and has been extruded. Are you sure you want to go ahead? (y/n)','s');17 choice=input('This model already has parameters and has been extruded. Are you sure you want to go ahead? (y/n)','s'); 18 18 if ~strcmp(choice,'y') 19 19 error('no parameters done ... exiting'); … … 22 22 disp('This model already has parameters, overwriting...') 23 23 else 24 if (md.counter ~=2)24 if (md.counter<=2) 25 25 error('parameterize error message: you need to run geography.m first on this model'); 26 26 else -
issm/trunk/src/m/classes/public/setelementstype.m
r1756 r1876 22 22 end 23 23 24 if md.counter< 2,24 if md.counter<3, 25 25 error('only fully parameterized 2d models can be setelementstyped'); 26 26 end
Note:
See TracChangeset
for help on using the changeset viewer.