Changeset 21304


Ignore:
Timestamp:
10/21/16 09:04:36 (8 years ago)
Author:
bdef
Message:

CHG: change to comply to new shape requirement

Location:
issm/trunk-jpl/test/NightlyRun
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • issm/trunk-jpl/test/NightlyRun/test232.py

    r21060 r21304  
    1515md=setflowequation(md,'SSA','all')
    1616md.cluster=generic('name',oshostname(),'np',3)
    17 md.thermal.spctemperature=numpy.vstack((numpy.hstack((md.thermal.spctemperature, md.thermal.spctemperature+5., md.thermal.spctemperature+10., md.thermal.spctemperature+15.)), [1.5,2.5,3.5,4.]))
     17md.thermal.spctemperature=numpy.vstack((numpy.vstack((md.thermal.spctemperature, md.thermal.spctemperature+5., md.thermal.spctemperature+10., md.thermal.spctemperature+15.)).T, [1.5,2.5,3.5,4.]))
    1818md.timestepping.time_step=1.
    1919md.timestepping.final_time=4.
     
    2626
    2727#Fields and tolerances to track changes
    28 field_names     =['Temperature1','BasalforcingsGroundediceMeltingRate1','Temperature2','BasalforcingsGroundediceMeltingRate2','Temperature3','BasalforcingsGroundediceMeltingRate3','Temperature4','BasalforcingsGroundediceMeltingRate4']
     28field_names     =['Temperature1','BasalforcingsGroundediceMeltingRate1',
     29                                                                        'Temperature2','BasalforcingsGroundediceMeltingRate2',
     30                                                                        'Temperature3','BasalforcingsGroundediceMeltingRate3',
     31                                                                        'Temperature4','BasalforcingsGroundediceMeltingRate4']
    2932field_tolerances=[1e-13,1e-6,1e-13,1e-6,1e-13,1e-6,1e-13,1e-6]
    30 field_values=[\
    31         md.results.TransientSolution[0].Temperature,\
    32         md.results.TransientSolution[0].BasalforcingsGroundediceMeltingRate,\
    33         md.results.TransientSolution[1].Temperature,\
    34         md.results.TransientSolution[1].BasalforcingsGroundediceMeltingRate,\
    35         md.results.TransientSolution[2].Temperature,\
    36         md.results.TransientSolution[2].BasalforcingsGroundediceMeltingRate,\
    37         md.results.TransientSolution[3].Temperature,\
    38         md.results.TransientSolution[3].BasalforcingsGroundediceMeltingRate,\
    39         ]
     33field_values=[md.results.TransientSolution[0].Temperature,
     34                                                        md.results.TransientSolution[0].BasalforcingsGroundediceMeltingRate,
     35                                                        md.results.TransientSolution[1].Temperature,
     36                                                        md.results.TransientSolution[1].BasalforcingsGroundediceMeltingRate,
     37                                                        md.results.TransientSolution[2].Temperature,
     38                                                        md.results.TransientSolution[2].BasalforcingsGroundediceMeltingRate,
     39                                                        md.results.TransientSolution[3].Temperature,
     40                                                        md.results.TransientSolution[3].BasalforcingsGroundediceMeltingRate]
  • issm/trunk-jpl/test/NightlyRun/test233.py

    r21060 r21304  
    1515md=setflowequation(md,'HO','all')
    1616md.cluster=generic('name',oshostname(),'np',3)
    17 md.thermal.spctemperature=numpy.vstack((numpy.hstack((md.thermal.spctemperature, md.thermal.spctemperature+5.)), [1.,2.]))
     17md.thermal.spctemperature=numpy.vstack((numpy.vstack((md.thermal.spctemperature, md.thermal.spctemperature+5.)).T, [1.,2.]))
    1818md.timestepping.time_step=0.5
    1919md.timestepping.final_time=2.
     
    2121
    2222#Fields and tolerances to track changes
    23 field_names     =['Vx1','Vy1','Vz1','Vel1','Pressure1','Bed1','Surface1','Thickness1','Temperature1','BasalforcingsGroundediceMeltingRate1', \
    24         'Vx2','Vy2','Vz2','Vel2','Pressure2','Bed2','Surface2','Thickness2','Temperature2','BasalforcingsGroundediceMeltingRate2', \
    25         'Vx3','Vy3','Vz3','Vel3','Pressure3','Bed3','Surface3','Thickness3','Temperature3','BasalforcingsGroundediceMeltingRate3', \
    26         'Vx4','Vy4','Vz4','Vel4','Pressure4','Bed4','Surface4','Thickness4','Temperature4','BasalforcingsGroundediceMeltingRate4']
    27 field_tolerances=[1e-09,1e-09,1e-09,1e-09,1e-09,1e-09,1e-09,1e-09,1e-09,1e-09, \
    28         1e-09,1e-09,1e-08,1e-09,1e-09,1e-09,1e-09,1e-09,1e-09,1e-06, \
    29         1e-08,1e-09,1e-08,1e-09,1e-09,1e-09,1e-09,1e-09,1e-09,1e-06, \
    30         1e-09,1e-09,1e-08,1e-09,1e-09,1e-09,1e-09,1e-09,1e-09,1e-06]
    31 field_values=[\
    32         md.results.TransientSolution[0].Vx,\
    33         md.results.TransientSolution[0].Vy,\
    34         md.results.TransientSolution[0].Vz,\
    35         md.results.TransientSolution[0].Vel,\
    36         md.results.TransientSolution[0].Pressure,\
    37         md.results.TransientSolution[0].Base,\
    38         md.results.TransientSolution[0].Surface,\
    39         md.results.TransientSolution[0].Thickness,\
    40         md.results.TransientSolution[0].Temperature,\
    41         md.results.TransientSolution[0].BasalforcingsGroundediceMeltingRate,\
    42         md.results.TransientSolution[1].Vx,\
    43         md.results.TransientSolution[1].Vy,\
    44         md.results.TransientSolution[1].Vz,\
    45         md.results.TransientSolution[1].Vel,\
    46         md.results.TransientSolution[1].Pressure,\
    47         md.results.TransientSolution[1].Base,\
    48         md.results.TransientSolution[1].Surface,\
    49         md.results.TransientSolution[1].Thickness,\
    50         md.results.TransientSolution[1].Temperature,\
    51         md.results.TransientSolution[1].BasalforcingsGroundediceMeltingRate,\
    52         md.results.TransientSolution[2].Vx,\
    53         md.results.TransientSolution[2].Vy,\
    54         md.results.TransientSolution[2].Vz,\
    55         md.results.TransientSolution[2].Vel,\
    56         md.results.TransientSolution[2].Pressure,\
    57         md.results.TransientSolution[2].Base,\
    58         md.results.TransientSolution[2].Surface,\
    59         md.results.TransientSolution[2].Thickness,\
    60         md.results.TransientSolution[2].Temperature,\
    61         md.results.TransientSolution[2].BasalforcingsGroundediceMeltingRate,\
    62         md.results.TransientSolution[3].Vx,\
    63         md.results.TransientSolution[3].Vy,\
    64         md.results.TransientSolution[3].Vz,\
    65         md.results.TransientSolution[3].Vel,\
    66         md.results.TransientSolution[3].Pressure,\
    67         md.results.TransientSolution[3].Base,\
    68         md.results.TransientSolution[3].Surface,\
    69         md.results.TransientSolution[3].Thickness,\
    70         md.results.TransientSolution[3].Temperature,\
    71         md.results.TransientSolution[3].BasalforcingsGroundediceMeltingRate,\
    72         ]
     23field_names     =['Vx1','Vy1','Vz1','Vel1','Pressure1','Bed1','Surface1','Thickness1','Temperature1','BasalforcingsGroundediceMeltingRate1',
     24                                                                        'Vx2','Vy2','Vz2','Vel2','Pressure2','Bed2','Surface2','Thickness2','Temperature2','BasalforcingsGroundediceMeltingRate2',
     25                                                                        'Vx3','Vy3','Vz3','Vel3','Pressure3','Bed3','Surface3','Thickness3','Temperature3','BasalforcingsGroundediceMeltingRate3',
     26                                                                        'Vx4','Vy4','Vz4','Vel4','Pressure4','Bed4','Surface4','Thickness4','Temperature4','BasalforcingsGroundediceMeltingRate4']
     27field_tolerances=[1e-09,1e-09,1e-09,1e-09,1e-09,1e-09,1e-09,1e-09,1e-09,1e-09,
     28                                                                        1e-09,1e-09,1e-08,1e-09,1e-09,1e-09,1e-09,1e-09,1e-09,1e-06,
     29                                                                        1e-08,1e-09,1e-08,1e-09,1e-09,1e-09,1e-09,1e-09,1e-09,1e-06,
     30                                                                        1e-09,1e-09,1e-08,1e-09,1e-09,1e-09,1e-09,1e-09,1e-09,1e-06]
     31field_values=[md.results.TransientSolution[0].Vx,
     32                                                        md.results.TransientSolution[0].Vy,
     33                                                        md.results.TransientSolution[0].Vz,
     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[0].Temperature,
     40                                                        md.results.TransientSolution[0].BasalforcingsGroundediceMeltingRate,
     41                                                        md.results.TransientSolution[1].Vx,
     42                                                        md.results.TransientSolution[1].Vy,
     43                                                        md.results.TransientSolution[1].Vz,
     44                                                        md.results.TransientSolution[1].Vel,
     45                                                        md.results.TransientSolution[1].Pressure,
     46                                                        md.results.TransientSolution[1].Base,
     47                                                        md.results.TransientSolution[1].Surface,
     48                                                        md.results.TransientSolution[1].Thickness,
     49                                                        md.results.TransientSolution[1].Temperature,
     50                                                        md.results.TransientSolution[1].BasalforcingsGroundediceMeltingRate,
     51                                                        md.results.TransientSolution[2].Vx,
     52                                                        md.results.TransientSolution[2].Vy,
     53                                                        md.results.TransientSolution[2].Vz,
     54                                                        md.results.TransientSolution[2].Vel,
     55                                                        md.results.TransientSolution[2].Pressure,
     56                                                        md.results.TransientSolution[2].Base,
     57                                                        md.results.TransientSolution[2].Surface,
     58                                                        md.results.TransientSolution[2].Thickness,
     59                                                        md.results.TransientSolution[2].Temperature,
     60                                                        md.results.TransientSolution[2].BasalforcingsGroundediceMeltingRate,
     61                                                        md.results.TransientSolution[3].Vx,
     62                                                        md.results.TransientSolution[3].Vy,
     63                                                        md.results.TransientSolution[3].Vz,
     64                                                        md.results.TransientSolution[3].Vel,
     65                                                        md.results.TransientSolution[3].Pressure,
     66                                                        md.results.TransientSolution[3].Base,
     67                                                        md.results.TransientSolution[3].Surface,
     68                                                        md.results.TransientSolution[3].Thickness,
     69                                                        md.results.TransientSolution[3].Temperature,
     70                                                        md.results.TransientSolution[3].BasalforcingsGroundediceMeltingRate]
Note: See TracChangeset for help on using the changeset viewer.