Changeset 14190
- Timestamp:
- 12/18/12 11:19:22 (12 years ago)
- Location:
- issm/trunk-jpl/test/NightlyRun
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
issm/trunk-jpl/test/NightlyRun/test328.py
r13967 r14190 15 15 md=setflowequation(md,'macayeal','all') 16 16 md.surfaceforcings.issmbgradients=1 17 md.surfaceforcings.smb_pos_max=5000. - 0.00005*md.mesh.x + 0.0001*md.mesh.y18 md.surfaceforcings.smb_pos_min=1250. + 0.00005*md.mesh.x -0.0001*md.mesh.y19 md.surfaceforcings.a_pos=15000. - 0.000051*md.mesh.x + 0.00011*md.mesh.y20 17 md.surfaceforcings.b_pos=-100. + 0.00005*md.mesh.x - 0.0001*md.mesh.y 21 md.surfaceforcings.a_neg=-20000. - 0.00005*md.mesh.x + 0.0001*md.mesh.y22 18 md.surfaceforcings.b_neg=250. + 0.000051*md.mesh.x - 0.00011*md.mesh.y 23 md.surfaceforcings.hc=(md.surfaceforcings.a_pos-md.surfaceforcings.a_neg)/(md.surfaceforcings.b_neg-md.surfaceforcings.b_pos)24 19 md.transient.requested_outputs=TotalSmbEnum() 25 20 md.surfaceforcings.href=copy.deepcopy(md.geometry.surface).reshape(-1) 26 smbref=numpy.empty_like(md.surfaceforcings.hc) 27 for i in xrange(numpy.size(md.surfaceforcings.hc,axis=0)): 28 if md.geometry.surface[i]<md.surfaceforcings.hc[i]: 29 smbref[i]=md.surfaceforcings.a_neg[i]+md.surfaceforcings.b_neg[i]*md.geometry.surface[i] 30 else: 31 smbref[i]=md.surfaceforcings.a_pos[i]+md.surfaceforcings.b_pos[i]*md.geometry.surface[i] 32 md.surfaceforcings.smbref=smbref 21 md.surfaceforcings.smbref= 1000 - 0.001*md.mesh.x - 0.005*md.mesh.y; 33 22 md.cluster=generic('name',oshostname(),'np',3) 34 23 md=solve(md,TransientSolutionEnum()) -
issm/trunk-jpl/test/NightlyRun/test329.py
r13967 r14190 16 16 md=setflowequation(md,'pattyn','all') 17 17 md.surfaceforcings.issmbgradients=1 18 md.surfaceforcings.smb_pos_max=5000. - 0.00005*md.mesh.x + 0.0001*md.mesh.y19 md.surfaceforcings.smb_pos_min=1250. + 0.00005*md.mesh.x -0.0001*md.mesh.y20 md.surfaceforcings.a_pos=15000. - 0.000051*md.mesh.x + 0.00011*md.mesh.y21 18 md.surfaceforcings.b_pos=-100. + 0.00005*md.mesh.x - 0.0001*md.mesh.y 22 md.surfaceforcings.a_neg=-20000. - 0.00005*md.mesh.x + 0.0001*md.mesh.y23 19 md.surfaceforcings.b_neg=250. + 0.000051*md.mesh.x - 0.00011*md.mesh.y 24 md.surfaceforcings.hc=(md.surfaceforcings.a_pos-md.surfaceforcings.a_neg)/(md.surfaceforcings.b_neg-md.surfaceforcings.b_pos)25 20 md.surfaceforcings.href=copy.deepcopy(md.geometry.surface).reshape(-1) 26 smbref=numpy.empty_like(md.surfaceforcings.hc) 27 for i in xrange(numpy.size(md.surfaceforcings.hc,axis=0)): 28 if md.geometry.surface[i]<md.surfaceforcings.hc[i]: 29 smbref[i]=md.surfaceforcings.a_neg[i]+md.surfaceforcings.b_neg[i]*md.geometry.surface[i] 30 else: 31 smbref[i]=md.surfaceforcings.a_pos[i]+md.surfaceforcings.b_pos[i]*md.geometry.surface[i] 32 md.surfaceforcings.smbref=smbref 21 md.surfaceforcings.smbref= 1000 - 0.001*md.mesh.x - 0.005*md.mesh.y; 33 22 md.transient.requested_outputs=TotalSmbEnum() 34 23 md.cluster=generic('name',oshostname(),'np',3) … … 36 25 37 26 #Fields and tolerances to track changes 38 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']27 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'] 39 28 field_tolerances=[1e-09,1e-09,1e-09,1e-09,1e-10,1e-10,1e-10,1e-10,1e-10,1e-10,\ 40 29 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.