Changeset 3655
- Timestamp:
- 05/05/10 15:00:33 (15 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
issm/trunk/examples/Bumps/Bump2_bed/Square.par
r3510 r3655 22 22 height=150; 23 23 pos=find(sqrt((md.x-center(1)).^2+(md.y-center(2)).^2)<radius); %for a cicular bump 24 md.bed(pos)=md.bed(pos)+height*cos(pi/(2*radius)*(sqrt((md.y(pos)-center( 1)).^2+(md.x(pos)-center(2)).^2))); %for a circular bump24 md.bed(pos)=md.bed(pos)+height*cos(pi/(2*radius)*(sqrt((md.y(pos)-center(2)).^2+(md.x(pos)-center(1)).^2))); %for a circular bump 25 25 26 26 %Change the thickness to follow the new bed
Note:
See TracChangeset
for help on using the changeset viewer.