Changeset 22864
- Timestamp:
- 06/22/18 01:02:47 (7 years ago)
- Location:
- issm/trunk-jpl/test/NightlyRun
- Files:
-
- 11 edited
Legend:
- Unmodified
- Added
- Removed
-
issm/trunk-jpl/test/NightlyRun/test236.py
r21408 r22864 40 40 41 41 # creating initialization and spc temperatures initialization and spc 42 md.thermal.spctemperature=np.mean(md.smb.temperatures_lgm[0:md.mesh.numberofvertices,:],axis=1) .reshape(-1,1)#-10*ones(md.mesh.numberofvertices,1)43 md.thermal.spctemperature=np.tile(md.thermal.spctemperature,( 1,md.timestepping.final_time/md.timestepping.time_step))42 md.thermal.spctemperature=np.mean(md.smb.temperatures_lgm[0:md.mesh.numberofvertices,:],axis=1) #-10*ones(md.mesh.numberofvertices,1) 43 md.thermal.spctemperature=np.tile(md.thermal.spctemperature,(int(md.timestepping.final_time/md.timestepping.time_step),1)).T 44 44 itemp=np.arange(0,md.timestepping.final_time,md.timestepping.time_step) 45 md.thermal.spctemperature=np.vstack((md.thermal.spctemperature,itemp .reshape(1,-1)))45 md.thermal.spctemperature=np.vstack((md.thermal.spctemperature,itemp)) 46 46 47 47 md.initialization.temperature=md.smb.temperatures_lgm[0:md.mesh.numberofvertices,0] #*ones(md.mesh.numberofvertices,1) … … 52 52 md.smb.precipitations_lgm=np.zeros((md.mesh.numberofvertices+1,12)) 53 53 for imonth in xrange(0,12): 54 55 56 57 54 md.smb.precipitations_presentday[0:md.mesh.numberofvertices,imonth]=-0.4*10**(-6)*md.mesh.y+0.5 55 md.smb.precipitations_presentday[md.mesh.numberofvertices,imonth]=((float(imonth)+1.)/12.) 56 md.smb.precipitations_lgm[0:md.mesh.numberofvertices,imonth]=-0.4*10**(-6)*md.mesh.y+0.5 57 md.smb.precipitations_lgm[md.mesh.numberofvertices,imonth]=((float(imonth)+1.)/12.) 58 58 59 59 # Interpolation factors 60 md.smb.Tdiff=0.5*np.ones((2, md.timestepping.final_time))61 md.smb.sealev=0.5*np.ones((2, md.timestepping.final_time))60 md.smb.Tdiff=0.5*np.ones((2,int(md.timestepping.final_time))) 61 md.smb.sealev=0.5*np.ones((2,int(md.timestepping.final_time))) 62 62 # Year of each data point 63 md.smb.Tdiff[1,1: md.timestepping.final_time]=np.arange(1.,md.timestepping.final_time)64 md.smb.sealev[1,1: md.timestepping.final_time]=np.arange(1.,md.timestepping.final_time)63 md.smb.Tdiff[1,1:int(md.timestepping.final_time)]=np.arange(1.,int(md.timestepping.final_time)) 64 md.smb.sealev[1,1:int(md.timestepping.final_time)]=np.arange(1.,int(md.timestepping.final_time)) 65 65 66 66 # time steps and resolution … … 69 69 70 70 71 # 71 # 72 72 md.transient.requested_outputs=['default','SmbMonthlytemperatures'] 73 73 md=setflowequation(md,'SSA','all') … … 76 76 77 77 #Fields and tolerances to track changes 78 field_names =['Vx1','Vy1','Vel1','Pressure1','Bed1','Surface1','Thickness1','SmbMonthlytemperatures1','SmbMassBalance1',\ 79 'Vx2','Vy2','Vel2','Pressure2','Bed2','Surface2','Thickness2','SmbMonthlytemperatures2','SmbMassBalance2',\ 80 'Vx3','Vy3','Vel3','Pressure3','Bed3','Surface3','Thickness3','SmbMonthlytemperatures3','SmbMassBalance3'] 81 field_tolerances=[1e-13,1e-13,1e-13,1e-13,1e-13,1e-13,1e-13,1e-13,1e-13,\ 82 1e-13,1e-13,1e-13,1e-13,1e-13,1e-13,1e-13,1e-13,1e-13,\ 83 1e-13,1e-13,1e-13,1e-13,1e-13,1e-13,1e-13,1e-13,1e-13] 84 field_values=[\ 85 md.results.TransientSolution[0].Vx,\ 86 md.results.TransientSolution[0].Vy,\ 87 md.results.TransientSolution[0].Vel,\ 88 md.results.TransientSolution[0].Pressure,\ 89 md.results.TransientSolution[0].Base,\ 90 md.results.TransientSolution[0].Surface,\ 91 md.results.TransientSolution[0].Thickness,\ 92 md.results.TransientSolution[0].SmbMonthlytemperatures,\ 93 md.results.TransientSolution[0].SmbMassBalance,\ 94 md.results.TransientSolution[1].Vx,\ 95 md.results.TransientSolution[1].Vy,\ 96 md.results.TransientSolution[1].Vel,\ 97 md.results.TransientSolution[1].Pressure,\ 98 md.results.TransientSolution[1].Base,\ 99 md.results.TransientSolution[1].Surface,\ 100 md.results.TransientSolution[1].Thickness,\ 101 md.results.TransientSolution[1].SmbMonthlytemperatures,\ 102 md.results.TransientSolution[1].SmbMassBalance,\ 103 md.results.TransientSolution[2].Vx,\ 104 md.results.TransientSolution[2].Vy,\ 105 md.results.TransientSolution[2].Vel,\ 106 md.results.TransientSolution[2].Pressure,\ 107 md.results.TransientSolution[2].Base,\ 108 md.results.TransientSolution[2].Surface,\ 109 md.results.TransientSolution[2].Thickness,\ 110 md.results.TransientSolution[2].SmbMonthlytemperatures,\ 111 md.results.TransientSolution[2].SmbMassBalance,\ 112 ] 78 field_names =['Vx1','Vy1','Vel1','Pressure1','Bed1','Surface1','Thickness1','SmbMonthlytemperatures1','SmbMassBalance1', 79 'Vx2','Vy2','Vel2','Pressure2','Bed2','Surface2','Thickness2','SmbMonthlytemperatures2','SmbMassBalance2', 80 'Vx3','Vy3','Vel3','Pressure3','Bed3','Surface3','Thickness3','SmbMonthlytemperatures3','SmbMassBalance3'] 81 field_tolerances=[1e-13,1e-13,1e-13,1e-13,1e-13,1e-13,1e-13,1e-13,1e-13, 82 1e-13,1e-13,1e-13,1e-13,1e-13,1e-13,1e-13,1e-13,1e-13, 83 1e-13,1e-13,1e-13,1e-13,1e-13,1e-13,1e-13,1e-13,1e-13] 84 field_values=[md.results.TransientSolution[0].Vx, 85 md.results.TransientSolution[0].Vy, 86 md.results.TransientSolution[0].Vel, 87 md.results.TransientSolution[0].Pressure, 88 md.results.TransientSolution[0].Base, 89 md.results.TransientSolution[0].Surface, 90 md.results.TransientSolution[0].Thickness, 91 md.results.TransientSolution[0].SmbMonthlytemperatures, 92 md.results.TransientSolution[0].SmbMassBalance, 93 md.results.TransientSolution[1].Vx, 94 md.results.TransientSolution[1].Vy, 95 md.results.TransientSolution[1].Vel, 96 md.results.TransientSolution[1].Pressure, 97 md.results.TransientSolution[1].Base, 98 md.results.TransientSolution[1].Surface, 99 md.results.TransientSolution[1].Thickness, 100 md.results.TransientSolution[1].SmbMonthlytemperatures, 101 md.results.TransientSolution[1].SmbMassBalance, 102 md.results.TransientSolution[2].Vx, 103 md.results.TransientSolution[2].Vy, 104 md.results.TransientSolution[2].Vel, 105 md.results.TransientSolution[2].Pressure, 106 md.results.TransientSolution[2].Base, 107 md.results.TransientSolution[2].Surface, 108 md.results.TransientSolution[2].Thickness, 109 md.results.TransientSolution[2].SmbMonthlytemperatures, 110 md.results.TransientSolution[2].SmbMassBalance] -
issm/trunk-jpl/test/NightlyRun/test237.py
r21408 r22864 38 38 39 39 # creating initialization and spc temperatures initialization and spc 40 md.thermal.spctemperature=np.mean(md.smb.temperatures_lgm[0:md.mesh.numberofvertices,:],axis=1) .reshape(-1,1)#-10*ones(md.mesh.numberofvertices,1)41 md.thermal.spctemperature=np.tile(md.thermal.spctemperature,( 1,md.timestepping.final_time/md.timestepping.time_step))40 md.thermal.spctemperature=np.mean(md.smb.temperatures_lgm[0:md.mesh.numberofvertices,:],axis=1) #-10*ones(md.mesh.numberofvertices,1) 41 md.thermal.spctemperature=np.tile(md.thermal.spctemperature,(int(md.timestepping.final_time/md.timestepping.time_step),1)).T 42 42 itemp=np.arange(0,md.timestepping.final_time,md.timestepping.time_step) 43 md.thermal.spctemperature=np.vstack((md.thermal.spctemperature,itemp .reshape(1,-1)))43 md.thermal.spctemperature=np.vstack((md.thermal.spctemperature,itemp)) 44 44 45 md.initialization.temperature=md.smb.temperatures_lgm[0:md.mesh.numberofvertices,0] .reshape(-1,1)#*ones(md.mesh.numberofvertices,1)45 md.initialization.temperature=md.smb.temperatures_lgm[0:md.mesh.numberofvertices,0] #*ones(md.mesh.numberofvertices,1) 46 46 md.smb.initialize(md) 47 47 -
issm/trunk-jpl/test/NightlyRun/test292.py
r22341 r22864 24 24 # Fields and tolerances to track changes 25 25 26 field_names =['Vx1','Vy1','Vel1','Pressure1','Base1','Surface1','Thickness1','Vx2','Vy2','Vel2','Pressure2','Base2','Surface2','Thickness2','Vx3','Vy3','Vel3','Pressure3','Base3','Surface3','Thickness3'] 27 field_tolerances=[1e-13,1e-13,1e-13,1e-13,1e-13,1e-13,1e-13,1e-13,1e-13,1e-13,1e-13,1e-13,1e-13,1e-13,1e-13,1e-13,1e-13,1e-13,1e-13,1e-13,1e-13] 28 field_values=[\ 29 md.results.TransientSolution[0].Vx,\ 30 md.results.TransientSolution[0].Vy,\ 31 md.results.TransientSolution[0].Vel,\ 32 md.results.TransientSolution[0].Pressure,\ 33 md.results.TransientSolution[0].Base,\ 34 md.results.TransientSolution[0].Surface,\ 35 md.results.TransientSolution[0].Thickness,\ 36 md.results.TransientSolution[1].Vx,\ 37 md.results.TransientSolution[1].Vy,\ 38 md.results.TransientSolution[1].Vel,\ 39 md.results.TransientSolution[1].Pressure,\ 40 md.results.TransientSolution[1].Base,\ 41 md.results.TransientSolution[1].Surface,\ 42 md.results.TransientSolution[1].Thickness,\ 43 md.results.TransientSolution[2].Vx,\ 44 md.results.TransientSolution[2].Vy,\ 45 md.results.TransientSolution[2].Vel,\ 46 md.results.TransientSolution[2].Pressure,\ 47 md.results.TransientSolution[2].Base,\ 48 md.results.TransientSolution[2].Surface,\ 49 md.results.TransientSolution[2].Thickness,\ 50 ] 26 field_names =['Vx1','Vy1','Vel1','Pressure1','Base1','Surface1','Thickness1', 27 'Vx2','Vy2','Vel2','Pressure2','Base2','Surface2','Thickness2', 28 'Vx3','Vy3','Vel3','Pressure3','Base3','Surface3','Thickness3'] 29 field_tolerances=[1e-13,1e-13,1e-13,1e-13,1e-13,1e-13,1e-13, 30 1e-13,1e-13,1e-13,1e-13,1e-13,1e-13,1e-13, 31 1e-13,1e-13,1e-13,1e-13,1e-13,1e-13,1e-13] 32 field_values=[md.results.TransientSolution[0].Vx, 33 md.results.TransientSolution[0].Vy, 34 md.results.TransientSolution[0].Vel, 35 md.results.TransientSolution[0].Pressure, 36 md.results.TransientSolution[0].Base, 37 md.results.TransientSolution[0].Surface, 38 md.results.TransientSolution[0].Thickness, 39 md.results.TransientSolution[1].Vx, 40 md.results.TransientSolution[1].Vy, 41 md.results.TransientSolution[1].Vel, 42 md.results.TransientSolution[1].Pressure, 43 md.results.TransientSolution[1].Base, 44 md.results.TransientSolution[1].Surface, 45 md.results.TransientSolution[1].Thickness, 46 md.results.TransientSolution[2].Vx, 47 md.results.TransientSolution[2].Vy, 48 md.results.TransientSolution[2].Vel, 49 md.results.TransientSolution[2].Pressure, 50 md.results.TransientSolution[2].Base, 51 md.results.TransientSolution[2].Surface, 52 md.results.TransientSolution[2].Thickness] -
issm/trunk-jpl/test/NightlyRun/test501.py
r21408 r22864 19 19 field_names =['Vx','Vy','Vel','Pressure'] 20 20 field_tolerances=[1e-12,2e-12,2e-12,1e-13] 21 field_values=[\ 22 md.results.StressbalanceSolution.Vx,\ 23 md.results.StressbalanceSolution.Vy,\ 24 md.results.StressbalanceSolution.Vel,\ 25 md.results.StressbalanceSolution.Pressure,\ 26 ] 21 field_values=[md.results.StressbalanceSolution.Vx, 22 md.results.StressbalanceSolution.Vy, 23 md.results.StressbalanceSolution.Vel, 24 md.results.StressbalanceSolution.Pressure] -
issm/trunk-jpl/test/NightlyRun/test514.py
r22216 r22864 46 46 47 47 #refine existing mesh 4 48 md2=bamg(copy.deepcopy(md),'field',md.inversion.vy_obs,'hmin',1000.,'hmax',20000.,'gradation',3.,'Hessiantype',0,'err',np.array([ [1.]]))48 md2=bamg(copy.deepcopy(md),'field',md.inversion.vy_obs,'hmin',1000.,'hmax',20000.,'gradation',3.,'Hessiantype',0,'err',np.array([1.])) 49 49 x6=md2.mesh.x 50 50 y6=md2.mesh.y 51 51 52 52 #refine existing mesh 5 53 md2=bamg(copy.deepcopy(md),'field',np. hstack((md.inversion.vy_obs,md.geometry.thickness)),'hmin',1000.,'hmax',20000.,'gradation',3.,'Hessiantype',1,'err',np.array([[10.,100.]]))53 md2=bamg(copy.deepcopy(md),'field',np.vstack((md.inversion.vy_obs,md.geometry.thickness)).T,'hmin',1000.,'hmax',20000.,'gradation',3.,'Hessiantype',1,'err',np.array([[10.,100.]])) 54 54 x7=md2.mesh.x 55 55 y7=md2.mesh.y -
issm/trunk-jpl/test/NightlyRun/test515.py
r21408 r22864 24 24 25 25 # Fields and tolerances to track changes 26 field_names =['Temperature1','BasalforcingsGroundediceMeltingRate1', \27 26 field_names =['Temperature1','BasalforcingsGroundediceMeltingRate1', 27 'Temperature2','BasalforcingsGroundediceMeltingRate2'] 28 28 field_tolerances=[1e-13,1e-8,1e-13,5e-8] 29 field_values=[\ 30 md.results.TransientSolution[0].Temperature,\ 31 md.results.TransientSolution[0].BasalforcingsGroundediceMeltingRate,\ 32 md.results.TransientSolution[1].Temperature,\ 33 md.results.TransientSolution[1].BasalforcingsGroundediceMeltingRate,\ 34 ] 29 field_values=[md.results.TransientSolution[0].Temperature, 30 md.results.TransientSolution[0].BasalforcingsGroundediceMeltingRate, 31 md.results.TransientSolution[1].Temperature, 32 md.results.TransientSolution[1].BasalforcingsGroundediceMeltingRate] -
issm/trunk-jpl/test/NightlyRun/test601.py
r21408 r22864 19 19 field_names =['Thickness'] 20 20 field_tolerances=[1e-13] 21 field_values=[\ 22 md.results.MasstransportSolution.Thickness,\ 23 ] 21 field_values=[md.results.MasstransportSolution.Thickness] -
issm/trunk-jpl/test/NightlyRun/test611.py
r21408 r22864 35 35 field_names =['Gradient','Misfits','BalancethicknessThickeningRate','Thickness'] 36 36 field_tolerances=[1e-12,1e-12,1e-12,1e-12,1e-12,1e-12] 37 field_values=[\ 38 md.results.BalancethicknessSolution.Gradient1,\ 39 md.results.BalancethicknessSolution.J,\ 40 md.results.BalancethicknessSolution.BalancethicknessThickeningRate,\ 41 md.results.BalancethicknessSolution.Thickness 42 ] 37 field_values=[md.results.BalancethicknessSolution.Gradient1, 38 md.results.BalancethicknessSolution.J, 39 md.results.BalancethicknessSolution.BalancethicknessThickeningRate, 40 md.results.BalancethicknessSolution.Thickness] -
issm/trunk-jpl/test/NightlyRun/test701.py
r22268 r22864 36 36 37 37 #Boundary conditions 38 md.stressbalance.referential = float('NaN')*np.ones((md.mesh.numberofvertices,6))38 md.stressbalance.referential = np.nan*np.ones((md.mesh.numberofvertices,6)) 39 39 md.stressbalance.loadingforce = 0. * np.ones((md.mesh.numberofvertices,3)) 40 md.stressbalance.spcvx = float('NaN')* np.ones((md.mesh.numberofvertices,))41 md.stressbalance.spcvy = float('NaN')* np.ones((md.mesh.numberofvertices,))42 md.stressbalance.spcvz = float('NaN')* np.ones((md.mesh.numberofvertices,))40 md.stressbalance.spcvx = np.nan * np.ones((md.mesh.numberofvertices,)) 41 md.stressbalance.spcvy = np.nan * np.ones((md.mesh.numberofvertices,)) 42 md.stressbalance.spcvz = np.nan * np.ones((md.mesh.numberofvertices,)) 43 43 md.stressbalance.spcvx[np.where(md.mesh.vertexflags(4))] = 0. 44 44 md.stressbalance.spcvy[np.where(md.mesh.vertexflags(4))] = 0. … … 46 46 #Misc 47 47 md = setflowequation(md,'FS','all') 48 md.stressbalance.abstol = float('NaN')48 md.stressbalance.abstol = np.nan 49 49 #md.stressbalance.reltol = 10**-16 50 50 md.stressbalance.FSreconditioning = 1. … … 67 67 field_names = field_names + [['Vx'+i],['Vy'+i],['Vel'+i],['Pressure'+i]] 68 68 field_tolerances = field_tolerances + [9e-5,9e-5,9e-5,1e-10] 69 field_values = field_values + [ 70 md.results.StressbalanceSolution.Vx, 71 md.results.StressbalanceSolution.Vy, 72 md.results.StressbalanceSolution.Vel, 73 md.results.StressbalanceSolution.Pressure 74 ] 69 field_values = field_values + [md.results.StressbalanceSolution.Vx, 70 md.results.StressbalanceSolution.Vy, 71 md.results.StressbalanceSolution.Vel, 72 md.results.StressbalanceSolution.Pressure] -
issm/trunk-jpl/test/NightlyRun/test703.py
r22857 r22864 32 32 #mesh domain 33 33 md = bamgflowband(model(),x,b+h,b,'hmax',150.) 34 print md.mesh.numberofvertices35 34 36 35 #geometry … … 40 39 41 40 #mask 42 md.mask.ice_levelset = -np.ones((md.mesh.numberofvertices ,))41 md.mask.ice_levelset = -np.ones((md.mesh.numberofvertices)) 43 42 md.mask.ice_levelset[np.where(md.mesh.vertexflags(2))] = 0 44 md.mask.groundedice_levelset = np.zeros((md.mesh.numberofvertices,)) - 0.5 43 md.mask.groundedice_levelset = -0.5*np.ones((md.mesh.numberofvertices)) 44 md.mask.groundedice_levelset[np.where(md.mesh.x<0)]=0.5 45 45 46 46 #materials 47 md.initialization.temperature = (273. - 20.) * np.ones((md.mesh.numberofvertices ,))47 md.initialization.temperature = (273. - 20.) * np.ones((md.mesh.numberofvertices)) 48 48 md.materials.rheology_B = paterson(md.initialization.temperature) 49 md.materials.rheology_n = 3 * np.ones((md.mesh.numberofelements ,))49 md.materials.rheology_n = 3 * np.ones((md.mesh.numberofelements)) 50 50 51 51 #friction 52 md.friction.coefficient = np.zeros((md.mesh.numberofvertices ,))52 md.friction.coefficient = np.zeros((md.mesh.numberofvertices)) 53 53 md.friction.coefficient[np.where(md.mesh.vertexflags(1))] = 20 54 md.friction.p = np.ones((md.mesh.numberofelements ,))55 md.friction.q = np.ones((md.mesh.numberofelements ,))54 md.friction.p = np.ones((md.mesh.numberofelements)) 55 md.friction.q = np.ones((md.mesh.numberofelements)) 56 56 57 57 #boundary conditions 58 md.stressbalance.spcvx = np.nan * np.ones((md.mesh.numberofvertices ,))59 md.stressbalance.spcvy = np.nan * np.ones((md.mesh.numberofvertices ,))60 md.stressbalance.spcvz = np.nan * np.ones((md.mesh.numberofvertices ,))58 md.stressbalance.spcvx = np.nan * np.ones((md.mesh.numberofvertices)) 59 md.stressbalance.spcvy = np.nan * np.ones((md.mesh.numberofvertices)) 60 md.stressbalance.spcvz = np.nan * np.ones((md.mesh.numberofvertices)) 61 61 md.stressbalance.referential = np.nan * np.ones((md.mesh.numberofvertices,6)) 62 62 md.stressbalance.loadingforce = 0 * np.ones((md.mesh.numberofvertices,3)) 63 63 md.stressbalance.spcvx[np.where(md.mesh.vertexflags(4))] = 800. 64 64 md.stressbalance.spcvy[np.where(md.mesh.vertexflags(4))] = 0. 65 66 #print md.stressbalance.referential67 #print md.stressbalance.loadingforce68 #print md.stressbalance.spcvx69 #print md.stressbalance.spcvy70 #print md.stressbalance.spcvz71 #print np.shape(md.stressbalance.referential)72 #print np.shape(md.stressbalance.loadingforce)73 #print np.shape(md.stressbalance.spcvx)74 #print np.shape(md.stressbalance.spcvy)75 #print np.shape(md.stressbalance.spcvz)76 65 77 66 #Misc … … 103 92 md.cluster = generic('np',3) 104 93 md.stressbalance.shelf_dampening = 1 105 md1 = solve(md,'Transient') 94 md1=copy.deepcopy(md) 95 md1 = solve(md1,'Transient') 106 96 107 97 md.stressbalance.shelf_dampening = 0 … … 109 99 110 100 #Fields and tolerances to track changes 111 field_names = [ 112 'Vx1','Vy1','Vel1','Pressure1','Bed1','Surface1','Thickness1', 113 'Vx2','Vy2','Vel2','Pressure2','Bed2','Surface2','Thickness2', 114 'Vx3','Vy3','Vel3','Pressure3','Bed3','Surface3','Thickness3', 115 'Vx1_damp','Vy1_damp','Vel1_damp','Pressure1_damp','Bed1_damp','Surface1_damp','Thickness1_damp', 116 'Vx2_damp','Vy2_damp','Vel2_damp','Pressure2_damp','Bed2_damp','Surface2_damp','Thickness2_damp', 117 'Vx3_damp','Vy3_damp','Vel3_damp','Pressure3_damp','Bed3_damp','Surface3_damp','Thickness3_damp'] 118 field_tolerances = [ 119 2e-08,2e-08,2e-08,1e-08,1e-10,1e-10,1e-10, 120 2e-08,2e-08,2e-08,1e-08,1e-10,1e-10,1e-10, 121 2e-08,2e-08,2e-08,1e-08,1e-10,1e-10,1e-10, 122 5e-08,5e-08,5e-08,1e-08,1e-10,1e-10,1e-10, 123 5e-08,5e-08,5e-08,1e-08,1e-10,1e-10,1e-10, 124 5e-08,5e-08,5e-08,1e-08,1e-10,1e-10,1e-10] 125 field_values = [ 126 md.results.TransientSolution[0].Vx, 127 md.results.TransientSolution[0].Vy, 128 md.results.TransientSolution[0].Vel, 129 md.results.TransientSolution[0].Pressure, 130 md.results.TransientSolution[0].Base, 131 md.results.TransientSolution[0].Surface, 132 md.results.TransientSolution[0].Thickness, 133 md.results.TransientSolution[1].Vx, 134 md.results.TransientSolution[1].Vy, 135 md.results.TransientSolution[1].Vel, 136 md.results.TransientSolution[1].Pressure, 137 md.results.TransientSolution[1].Base, 138 md.results.TransientSolution[1].Surface, 139 md.results.TransientSolution[1].Thickness, 140 md.results.TransientSolution[2].Vx, 141 md.results.TransientSolution[2].Vy, 142 md.results.TransientSolution[2].Vel, 143 md.results.TransientSolution[2].Pressure, 144 md.results.TransientSolution[2].Base, 145 md.results.TransientSolution[2].Surface, 146 md.results.TransientSolution[2].Thickness, 147 md1.results.TransientSolution[0].Vx, 148 md1.results.TransientSolution[0].Vy, 149 md1.results.TransientSolution[0].Vel, 150 md1.results.TransientSolution[0].Pressure, 151 md1.results.TransientSolution[0].Base, 152 md1.results.TransientSolution[0].Surface, 153 md1.results.TransientSolution[0].Thickness, 154 md1.results.TransientSolution[1].Vx, 155 md1.results.TransientSolution[1].Vy, 156 md1.results.TransientSolution[1].Vel, 157 md1.results.TransientSolution[1].Pressure, 158 md1.results.TransientSolution[1].Base, 159 md1.results.TransientSolution[1].Surface, 160 md1.results.TransientSolution[1].Thickness, 161 md1.results.TransientSolution[2].Vx, 162 md1.results.TransientSolution[2].Vy, 163 md1.results.TransientSolution[2].Vel, 164 md1.results.TransientSolution[2].Pressure, 165 md1.results.TransientSolution[2].Base, 166 md1.results.TransientSolution[2].Surface, 167 md1.results.TransientSolution[2].Thickness, 168 ] 101 field_names = ['Vx1','Vy1','Vel1','Pressure1','Bed1','Surface1','Thickness1', 102 'Vx2','Vy2','Vel2','Pressure2','Bed2','Surface2','Thickness2', 103 'Vx3','Vy3','Vel3','Pressure3','Bed3','Surface3','Thickness3', 104 'Vx1_damp','Vy1_damp','Vel1_damp','Pressure1_damp','Bed1_damp','Surface1_damp','Thickness1_damp', 105 'Vx2_damp','Vy2_damp','Vel2_damp','Pressure2_damp','Bed2_damp','Surface2_damp','Thickness2_damp', 106 'Vx3_damp','Vy3_damp','Vel3_damp','Pressure3_damp','Bed3_damp','Surface3_damp','Thickness3_damp'] 107 field_tolerances = [2e-08,2e-08,2e-08,1e-08,1e-10,1e-10,1e-10, 108 2e-08,2e-08,2e-08,1e-08,1e-10,1e-10,1e-10, 109 2e-08,2e-08,2e-08,1e-08,1e-10,1e-10,1e-10, 110 5e-08,5e-08,5e-08,1e-08,1e-10,1e-10,1e-10, 111 5e-08,5e-08,5e-08,1e-08,1e-10,1e-10,1e-10, 112 5e-08,5e-08,5e-08,1e-08,1e-10,1e-10,1e-10] 113 field_values = [md.results.TransientSolution[0].Vx, 114 md.results.TransientSolution[0].Vy, 115 md.results.TransientSolution[0].Vel, 116 md.results.TransientSolution[0].Pressure, 117 md.results.TransientSolution[0].Base, 118 md.results.TransientSolution[0].Surface, 119 md.results.TransientSolution[0].Thickness, 120 md.results.TransientSolution[1].Vx, 121 md.results.TransientSolution[1].Vy, 122 md.results.TransientSolution[1].Vel, 123 md.results.TransientSolution[1].Pressure, 124 md.results.TransientSolution[1].Base, 125 md.results.TransientSolution[1].Surface, 126 md.results.TransientSolution[1].Thickness, 127 md.results.TransientSolution[2].Vx, 128 md.results.TransientSolution[2].Vy, 129 md.results.TransientSolution[2].Vel, 130 md.results.TransientSolution[2].Pressure, 131 md.results.TransientSolution[2].Base, 132 md.results.TransientSolution[2].Surface, 133 md.results.TransientSolution[2].Thickness, 134 md1.results.TransientSolution[0].Vx, 135 md1.results.TransientSolution[0].Vy, 136 md1.results.TransientSolution[0].Vel, 137 md1.results.TransientSolution[0].Pressure, 138 md1.results.TransientSolution[0].Base, 139 md1.results.TransientSolution[0].Surface, 140 md1.results.TransientSolution[0].Thickness, 141 md1.results.TransientSolution[1].Vx, 142 md1.results.TransientSolution[1].Vy, 143 md1.results.TransientSolution[1].Vel, 144 md1.results.TransientSolution[1].Pressure, 145 md1.results.TransientSolution[1].Base, 146 md1.results.TransientSolution[1].Surface, 147 md1.results.TransientSolution[1].Thickness, 148 md1.results.TransientSolution[2].Vx, 149 md1.results.TransientSolution[2].Vy, 150 md1.results.TransientSolution[2].Vel, 151 md1.results.TransientSolution[2].Pressure, 152 md1.results.TransientSolution[2].Base, 153 md1.results.TransientSolution[2].Surface, 154 md1.results.TransientSolution[2].Thickness] -
issm/trunk-jpl/test/NightlyRun/test808.py
r22267 r22864 44 44 45 45 #Fields and tolerances to track changes 46 field_names = [ 47 'Vx1','Vy1','Vel1','Pressure1','Thickness1','Surface1','MaskIceLevelset1' 48 'Vx2','Vy2','Vel2','Pressure2','Thickness2','Surface2','MaskIceLevelset2' 49 'Vx3','Vy3','Vel3','Pressure3','Thickness3','Surface3','MaskIceLevelset3'] 50 field_tolerances = [ 51 1e-8,1e-8,1e-8,1e-9,1e-9,1e-9,3e-9, 52 1e-8,1e-8,1e-8,1e-9,1e-9,1e-9,3e-9, 53 1e-8,1e-8,1e-8,1e-9,1e-9,1e-9,3e-9] 54 field_values = [ 55 md.results.TransientSolution[0].Vx, 56 md.results.TransientSolution[0].Vy, 57 md.results.TransientSolution[0].Vel, 58 md.results.TransientSolution[0].Pressure, 59 md.results.TransientSolution[0].Thickness, 60 md.results.TransientSolution[0].Surface, 61 md.results.TransientSolution[0].MaskIceLevelset, 62 md.results.TransientSolution[1].Vx, 63 md.results.TransientSolution[1].Vy, 64 md.results.TransientSolution[1].Vel, 65 md.results.TransientSolution[1].Pressure, 66 md.results.TransientSolution[1].Thickness, 67 md.results.TransientSolution[1].Surface, 68 md.results.TransientSolution[1].MaskIceLevelset, 69 md.results.TransientSolution[2].Vx, 70 md.results.TransientSolution[2].Vy, 71 md.results.TransientSolution[2].Vel, 72 md.results.TransientSolution[2].Pressure, 73 md.results.TransientSolution[2].Thickness, 74 md.results.TransientSolution[2].Surface, 75 md.results.TransientSolution[2].MaskIceLevelset 76 ] 46 field_names = [ 'Vx1','Vy1','Vel1','Pressure1','Thickness1','Surface1','MaskIceLevelset1' 47 'Vx2','Vy2','Vel2','Pressure2','Thickness2','Surface2','MaskIceLevelset2' 48 'Vx3','Vy3','Vel3','Pressure3','Thickness3','Surface3','MaskIceLevelset3'] 49 field_tolerances = [1e-8,1e-8,1e-8,1e-9,1e-9,1e-9,3e-9, 50 1e-8,1e-8,1e-8,1e-9,1e-9,1e-9,3e-9, 51 1e-8,1e-8,1e-8,1e-9,1e-9,1e-9,3e-9] 52 field_values = [md.results.TransientSolution[0].Vx, 53 md.results.TransientSolution[0].Vy, 54 md.results.TransientSolution[0].Vel, 55 md.results.TransientSolution[0].Pressure, 56 md.results.TransientSolution[0].Thickness, 57 md.results.TransientSolution[0].Surface, 58 md.results.TransientSolution[0].MaskIceLevelset, 59 md.results.TransientSolution[1].Vx, 60 md.results.TransientSolution[1].Vy, 61 md.results.TransientSolution[1].Vel, 62 md.results.TransientSolution[1].Pressure, 63 md.results.TransientSolution[1].Thickness, 64 md.results.TransientSolution[1].Surface, 65 md.results.TransientSolution[1].MaskIceLevelset, 66 md.results.TransientSolution[2].Vx, 67 md.results.TransientSolution[2].Vy, 68 md.results.TransientSolution[2].Vel, 69 md.results.TransientSolution[2].Pressure, 70 md.results.TransientSolution[2].Thickness, 71 md.results.TransientSolution[2].Surface, 72 md.results.TransientSolution[2].MaskIceLevelset]
Note:
See TracChangeset
for help on using the changeset viewer.