Changeset 14179
- Timestamp:
- 12/17/12 17:10:53 (12 years ago)
- Location:
- issm/trunk-jpl/test/NightlyRun
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
issm/trunk-jpl/test/NightlyRun/runme.m
r13982 r14179 79 79 strncmp(fliplr(flist(i).name),fliplr('.m'),2)&... %File name must end by '.m' 80 80 ~strcmp(flist(i).name,'test.m')) %File name must be different than 'test.m' 81 list_ids(end+1)=eval(flist(i).name(5:end-2)); %Keep test id only (skip 'test' and '.m') 81 id=str2num(flist(i).name(5:end-2)); 82 if isempty(id), 83 disp(['WARNING: ignore file ' flist(i).name ]); 84 else 85 list_ids(end+1)=eval(flist(i).name(5:end-2)); %Keep test id only (skip 'test' and '.m') 86 end 82 87 end 83 88 end -
issm/trunk-jpl/test/NightlyRun/test328.m
r13670 r14179 4 4 md=setflowequation(md,'macayeal','all'); 5 5 md.surfaceforcings.issmbgradients=1; 6 md.surfaceforcings.smb_pos_max=5000. - 0.00005*md.mesh.x + 0.0001*md.mesh.y;7 md.surfaceforcings.smb_pos_min=1250. + 0.00005*md.mesh.x -0.0001*md.mesh.y;8 md.surfaceforcings.a_pos=15000. - 0.000051*md.mesh.x + 0.00011*md.mesh.y;9 6 md.surfaceforcings.b_pos=-100. + 0.00005*md.mesh.x - 0.0001*md.mesh.y; 10 md.surfaceforcings.a_neg=-20000. - 0.00005*md.mesh.x + 0.0001*md.mesh.y;11 7 md.surfaceforcings.b_neg=250. + 0.000051*md.mesh.x - 0.00011*md.mesh.y; 12 md.surfaceforcings.hc=(md.surfaceforcings.a_pos-md.surfaceforcings.a_neg)./(md.surfaceforcings.b_neg-md.surfaceforcings.b_pos); 8 md.surfaceforcings.href=md.geometry.surface; 9 md.surfaceforcings.smbref= 1000 - 0.001*md.mesh.x - 0.005*md.mesh.y; 13 10 md.transient.requested_outputs=TotalSmbEnum(); 14 md.surfaceforcings.href=md.geometry.surface;15 for i=1:size(md.surfaceforcings.hc),16 if md.geometry.surface(i)<md.surfaceforcings.hc(i)17 smbref(i)=md.surfaceforcings.a_neg(i)+md.surfaceforcings.b_neg(i)*md.geometry.surface(i);18 else19 smbref(i)=md.surfaceforcings.a_pos(i)+md.surfaceforcings.b_pos(i)*md.geometry.surface(i);20 end21 end22 md.surfaceforcings.smbref=smbref';23 11 md.cluster=generic('name',oshostname(),'np',3); 24 12 md=solve(md,TransientSolutionEnum()); -
issm/trunk-jpl/test/NightlyRun/test329.m
r13688 r14179 5 5 md=setflowequation(md,'pattyn','all'); 6 6 md.surfaceforcings.issmbgradients=1; 7 md.surfaceforcings.smb_pos_max=5000. - 0.00005*md.mesh.x + 0.0001*md.mesh.y;8 md.surfaceforcings.smb_pos_min=1250. + 0.00005*md.mesh.x -0.0001*md.mesh.y;9 md.surfaceforcings.a_pos=15000. - 0.000051*md.mesh.x + 0.00011*md.mesh.y;10 7 md.surfaceforcings.b_pos=-100. + 0.00005*md.mesh.x - 0.0001*md.mesh.y; 11 md.surfaceforcings.a_neg=-20000. - 0.00005*md.mesh.x + 0.0001*md.mesh.y;12 8 md.surfaceforcings.b_neg=250. + 0.000051*md.mesh.x - 0.00011*md.mesh.y; 13 md.surfaceforcings.hc=(md.surfaceforcings.a_pos-md.surfaceforcings.a_neg)./(md.surfaceforcings.b_neg-md.surfaceforcings.b_pos);14 9 md.surfaceforcings.href=md.geometry.surface; 15 for i=1:size(md.surfaceforcings.hc), 16 if md.geometry.surface(i)<md.surfaceforcings.hc(i) 17 smbref(i)=md.surfaceforcings.a_neg(i)+md.surfaceforcings.b_neg(i)*md.geometry.surface(i); 18 else 19 smbref(i)=md.surfaceforcings.a_pos(i)+md.surfaceforcings.b_pos(i)*md.geometry.surface(i); 20 end 21 end 22 md.surfaceforcings.smbref=smbref'; 10 md.surfaceforcings.smbref= 1000 - 0.001*md.mesh.x - 0.005*md.mesh.y; 23 11 md.transient.requested_outputs=TotalSmbEnum(); 24 12 md.cluster=generic('name',oshostname(),'np',3); … … 26 14 27 15 %Fields and tolerances to track changes 28 field_names ={'Vx1','Vy1','Vz1','Vel1','Bed1','Surface1','Thickness1','Temperature1','SMB1','TotalSmb1','Vx2','Vy2','Vz2','Vel2','Bed2','Surface2','Thickness2','Temperature2','SMB2','TotalSmb 1','Vx3','Vy3','Vz3','Vel3','Bed3','Surface3','Thickness3','Temperature3','SMB3','TotalSmb1'};16 field_names ={'Vx1','Vy1','Vz1','Vel1','Bed1','Surface1','Thickness1','Temperature1','SMB1','TotalSmb1','Vx2','Vy2','Vz2','Vel2','Bed2','Surface2','Thickness2','Temperature2','SMB2','TotalSmb2','Vx3','Vy3','Vz3','Vel3','Bed3','Surface3','Thickness3','Temperature3','SMB3','TotalSmb3'}; 29 17 field_tolerances={1e-09,1e-09,1e-09,1e-09,1e-10,1e-10,1e-10,1e-10,1e-10,1e-10,... 30 18 1e-09,1e-09,1e-10,1e-09,1e-10,1e-10,1e-10,1e-10,1e-10,1e-10,...
Note:
See TracChangeset
for help on using the changeset viewer.