Changeset 1759
- Timestamp:
- 08/18/09 15:39:43 (16 years ago)
- Location:
- issm/trunk/src/m/solutions/macayeal
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
issm/trunk/src/m/solutions/macayeal/control.m
r1753 r1759 40 40 index_icefront=md.pressureload; index_icefront=index_icefront(:,1:2); %we strip the last column, which holds the element number for the boundary segment 41 41 nodes_on_boundary=md.gridonboundary; 42 nodes_on_dirichlet=md. gridondirichlet_diag;42 nodes_on_dirichlet=md.spcvelocity(:,1); 43 43 nodes_on_icefront=zeros(nods,1); nodes_on_icefront(index_icefront)=1; 44 44 nodes_on_iceshelf=md.gridoniceshelf; -
issm/trunk/src/m/solutions/macayeal/diagnostic.m
r1753 r1759 249 249 specified_velocity=zeros(2*nods,1); 250 250 pos=find(node_on_dirichlet); 251 specified_velocity(pos)=md.spcvelocity(pos, 1)/md.yts;252 specified_velocity(nods+pos)=md.spcvelocity(pos, 2)/md.yts;251 specified_velocity(pos)=md.spcvelocity(pos,4)/md.yts; 252 specified_velocity(nods+pos)=md.spcvelocity(pos,5)/md.yts; 253 253 254 254
Note:
See TracChangeset
for help on using the changeset viewer.