Ignore:
Timestamp:
08/29/15 11:55:39 (10 years ago)
Author:
Eric.Larour
Message:

CHG: moved md.surfaceforcings to md.smb.
By doing so, had to rename the SMB class to SMBforcing class (it's just that, a mass_balance forcing inside
a SMB class, hence the name).
We also now have an smb_core solution, taken out of the mass transport core. Makes more sense long term.
Synced all enums according to the new changes, and operated the adjustments in all the test decks.

In addition, progressing in terms of GEMB integration into ISSM, specifically at the SMBgemb level (which
is spurring all the changes described above). Brought the class up to the level of the GEMB.m call in Alex's
code. Starting the C integration now.

File:
1 edited

Legend:

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

    r19246 r19527  
    2626smb=numpy.hstack((smb,smb*-1.))
    2727
    28 md.surfaceforcings.mass_balance=numpy.vstack((smb,[1.5,3.]))
     28md.smb.mass_balance=numpy.vstack((smb,[1.5,3.]))
    2929md.transient.isthermal=False
    3030
     
    3232
    3333#Fields and tolerances to track changes
    34 field_names     =['Vx1','Vy1','Vz1','Vel1','Pressure1','Bed1','Surface1','Thickness1','SurfaceforcingsMassBalance1', \
    35         'Vx2','Vy2','Vz2','Vel2','Pressure2','Bed2','Surface2','Thickness2','SurfaceforcingsMassBalance2', \
    36         'Vx3','Vy3','Vz3','Vel3','Pressure3','Bed3','Surface3','Thickness3','SurfaceforcingsMassBalance3', \
    37         'Vx4','Vy4','Vz4','Vel4','Pressure4','Bed4','Surface4','Thickness4','SurfaceforcingsMassbalance4']
     34field_names     =['Vx1','Vy1','Vz1','Vel1','Pressure1','Bed1','Surface1','Thickness1','SmbMassBalance1', \
     35        'Vx2','Vy2','Vz2','Vel2','Pressure2','Bed2','Surface2','Thickness2','SmbMassBalance2', \
     36        'Vx3','Vy3','Vz3','Vel3','Pressure3','Bed3','Surface3','Thickness3','SmbMassBalance3', \
     37        'Vx4','Vy4','Vz4','Vel4','Pressure4','Bed4','Surface4','Thickness4','SmbMassbalance4']
    3838field_tolerances=[\
    3939                1e-09,1e-09,1e-09,1e-09,1e-10,1e-10,1e-10,1e-10,1e-13,\
     
    5050        md.results.TransientSolution[0].Surface,\
    5151        md.results.TransientSolution[0].Thickness,\
    52         md.results.TransientSolution[0].SurfaceforcingsMassBalance,\
     52        md.results.TransientSolution[0].SmbMassBalance,\
    5353        md.results.TransientSolution[1].Vx,\
    5454        md.results.TransientSolution[1].Vy,\
     
    5959        md.results.TransientSolution[1].Surface,\
    6060        md.results.TransientSolution[1].Thickness,\
    61         md.results.TransientSolution[1].SurfaceforcingsMassBalance,\
     61        md.results.TransientSolution[1].SmbMassBalance,\
    6262        md.results.TransientSolution[2].Vx,\
    6363        md.results.TransientSolution[2].Vy,\
     
    6868        md.results.TransientSolution[2].Surface,\
    6969        md.results.TransientSolution[2].Thickness,\
    70         md.results.TransientSolution[2].SurfaceforcingsMassBalance,\
     70        md.results.TransientSolution[2].SmbMassBalance,\
    7171        md.results.TransientSolution[3].Vx,\
    7272        md.results.TransientSolution[3].Vy,\
     
    7777        md.results.TransientSolution[3].Surface,\
    7878        md.results.TransientSolution[3].Thickness,\
    79         md.results.TransientSolution[3].SurfaceforcingsMassBalance,\
     79        md.results.TransientSolution[3].SmbMassBalance,\
    8080        ]
Note: See TracChangeset for help on using the changeset viewer.