Changeset 13971
- Timestamp:
- 11/15/12 15:49:34 (12 years ago)
- Location:
- issm/trunk-jpl/test/NightlyRun
- Files:
-
- 2 added
- 5 edited
Legend:
- Unmodified
- Added
- Removed
-
issm/trunk-jpl/test/NightlyRun/runme.m
r13438 r13971 67 67 end 68 68 % }}} 69 %GET RANK and NUMPROCS for mu tlithreaded runs {{{69 %GET RANK and NUMPROCS for multithreaded runs {{{ 70 70 rank=getfieldvalue(options,'rank',1); 71 71 numprocs=getfieldvalue(options,'numprocs',1); -
issm/trunk-jpl/test/NightlyRun/test1501.m
r13670 r13971 8 8 md.transient.isthermal=0; 9 9 10 md.timestepping.time_step=1 ;10 md.timestepping.time_step=1.; 11 11 md.settings.output_frequency=1; 12 md.timestepping.final_time=2000 ;12 md.timestepping.final_time=2000.; 13 13 14 14 %Solve for thinning rate -> -1 * surface mass balance 15 smb= 2 *ones(md.mesh.numberofvertices,1);15 smb= 2.*ones(md.mesh.numberofvertices,1); 16 16 md.surfaceforcings.mass_balance= smb; 17 17 md.basalforcings.melting_rate= smb; … … 27 27 smb = md.surfaceforcings.mass_balance; 28 28 29 tooth= [ [ones(400,1)*(smb') - 10 ]' [ones(400,1)*(smb')]' ];29 tooth= [ [ones(400,1)*(smb') - 10.]' [ones(400,1)*(smb')]' ]; 30 30 smb=[ [ones(399,1)*(smb')]' smb tooth tooth]; 31 31 32 32 md.surfaceforcings.mass_balance= smb; 33 md.surfaceforcings.mass_balance(end+1,:)=[1 :2000];33 md.surfaceforcings.mass_balance(end+1,:)=[1.:2000.]; 34 34 35 35 md=solve(md,TransientSolutionEnum()); -
issm/trunk-jpl/test/NightlyRun/test1502.m
r13671 r13971 9 9 md.transient.isthermal=0; 10 10 11 md.timestepping.time_step=1 ;11 md.timestepping.time_step=1.; 12 12 md.settings.output_frequency=1; 13 md.timestepping.final_time=2000 ;13 md.timestepping.final_time=2000.; 14 14 15 15 %Solve for thinning rate -> -1 * surface mass balance 16 smb= 2 *ones(md.mesh.numberofvertices,1);16 smb= 2.*ones(md.mesh.numberofvertices,1); 17 17 md.surfaceforcings.mass_balance= smb; 18 18 md.basalforcings.melting_rate= smb; … … 28 28 smb = md.surfaceforcings.mass_balance; 29 29 30 tooth= [ [ones(400,1)*(smb') - 10 ]' [ones(400,1)*(smb')]' ];30 tooth= [ [ones(400,1)*(smb') - 10.]' [ones(400,1)*(smb')]' ]; 31 31 smb=[ [ones(399,1)*(smb')]' smb tooth tooth]; 32 32 33 33 md.surfaceforcings.mass_balance= smb; 34 md.surfaceforcings.mass_balance(end+1,:)=[1 :2000];34 md.surfaceforcings.mass_balance(end+1,:)=[1.:2000.]; 35 35 36 36 md=solve(md,TransientSolutionEnum()); -
issm/trunk-jpl/test/NightlyRun/test1601.m
r13670 r13971 3 3 md=parameterize(md,'../Par/SquareShelf.par'); 4 4 md=setflowequation(md,'macayeal','all'); 5 md.diagnostic.spcvx(find(md.mesh.y>0 ))=NaN;6 md.initialization.vx(:)=0 ;7 md.initialization.vy(:)=0 ;8 md.initialization.vel(:)=0 ;5 md.diagnostic.spcvx(find(md.mesh.y>0.))=NaN; 6 md.initialization.vx(:)=0.; 7 md.initialization.vy(:)=0.; 8 md.initialization.vel(:)=0.; 9 9 10 md.cluster=generic('name',oshostname ,'np',2);10 md.cluster=generic('name',oshostname(),'np',2); 11 11 md=solve(md,DiagnosticSolutionEnum()); 12 12 vel0=md.results.DiagnosticSolution.Vel; 13 13 14 theta=30 *pi/180;14 theta=30.*pi/180.; 15 15 x=md.mesh.x; 16 16 y=md.mesh.y; … … 27 27 28 28 %Now, put CS back to normal except on the side where the spc are applied 29 pos=find(x==0 | x==1000000);29 pos=find(x==0. | x==1000000.); 30 30 md.diagnostic.referential(:)=NaN; 31 31 md.diagnostic.referential(pos,1:3)=repmat([cos(theta),sin(theta),0],size(pos,1),1); -
issm/trunk-jpl/test/NightlyRun/test1602.m
r13671 r13971 4 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);11 md.cluster=generic('name',oshostname(),'np',3); 12 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;
Note:
See TracChangeset
for help on using the changeset viewer.