Changeset 13975 for issm/trunk/test/NightlyRun/test1602.m
- Timestamp:
- 11/16/12 08:10:16 (12 years ago)
- Location:
- issm/trunk
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
issm/trunk
- Property svn:mergeinfo changed
/issm/trunk-jpl merged: 13397-13398,13401,13407-13582,13584-13974
- Property svn:mergeinfo changed
-
issm/trunk/test
- Property svn:mergeinfo changed
-
Property svn:ignore
set to
AdTests
-
issm/trunk/test/NightlyRun/test1602.m
r11027 r13975 1 md=triangle(model ,'../Exp/Square.exp',150000);1 md=triangle(model(),'../Exp/Square.exp',150000.); 2 2 md=setmask(md,'../Exp/SquareShelf.exp',''); 3 3 md=parameterize(md,'../Par/SquareSheetShelf.par'); 4 md=extrude(md,5,1 );4 md=extrude(md,5,1.); 5 5 md=setflowequation(md,'pattyn','all'); 6 md.diagnostic.spcvx(find(md.mesh.y>0 ))=NaN;7 md.initialization.vx(:)=0 ;8 md.initialization.vy(:)=0 ;9 md.initialization.vel(:)=0 ;6 md.diagnostic.spcvx(find(md.mesh.y>0.))=NaN; 7 md.initialization.vx(:)=0.; 8 md.initialization.vy(:)=0.; 9 md.initialization.vel(:)=0.; 10 10 11 md.cluster=generic('name',oshostname ,'np',3);12 md=solve(md,DiagnosticSolutionEnum );11 md.cluster=generic('name',oshostname(),'np',3); 12 md=solve(md,DiagnosticSolutionEnum()); 13 13 vel0=md.results.DiagnosticSolution.Vel; 14 14 15 theta=30 *pi/180;15 theta=30.*pi/180.; 16 16 x=md.mesh.x; 17 17 y=md.mesh.y; … … 21 21 md.diagnostic.referential(:,1:3)=repmat([cos(theta),sin(theta),0],md.mesh.numberofvertices,1); 22 22 md.diagnostic.referential(:,4:6)=repmat([0,0,1],md.mesh.numberofvertices,1); 23 md=solve(md,DiagnosticSolutionEnum );23 md=solve(md,DiagnosticSolutionEnum()); 24 24 vel1=md.results.DiagnosticSolution.Vel; 25 25
Note:
See TracChangeset
for help on using the changeset viewer.