Changeset 5432 for issm/trunk/test/NightlyRun/test207.m
- Timestamp:
- 08/19/10 17:00:09 (15 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
issm/trunk/test/NightlyRun/test207.m
r5098 r5432 3 3 md=parameterize(md,'../Par/SquareShelf.par'); 4 4 md=extrude(md,3,2); 5 md=setelementstype(md,'macayeal','all','stokes','all');6 5 md.cluster='none'; 6 md=setelementstype(md,'macayeal','all'); 7 md=solve(md,'analysis_type',DiagnosticSolutionEnum); 8 vx=PatchToVec(md.results.DiagnosticSolution.Vx); 9 vy=PatchToVec(md.results.DiagnosticSolution.Vy); 10 vz=PatchToVec(md.results.DiagnosticSolution.Vz); 11 pos=find(md.spcvelocity(:,1)); 12 md.spcvelocity(pos,3)=1; 13 md=setelementstype(md,'stokes','all'); 14 md.vx=vx; 15 md.vy=vy; 16 md.vz=vz; 17 md.spcvelocity(:,4)=vx; 18 md.spcvelocity(:,5)=vy; 19 md.spcvelocity(:,6)=vz; 20 pos=find(md.borderstokes); 21 md.spcvelocity(pos,1)=1; 22 md.spcvelocity(pos,2)=1; 23 md.spcvelocity(pos,3)=1; 7 24 md=solve(md,'analysis_type',DiagnosticSolutionEnum); 8 25
Note:
See TracChangeset
for help on using the changeset viewer.