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/test230.py

    r19049 r19527  
    2525smb=numpy.hstack((smb,smb*-1.))
    2626
    27 md.surfaceforcings.mass_balance=numpy.vstack((smb,[1.5,3.]))
     27md.smb.mass_balance=numpy.vstack((smb,[1.5,3.]))
    2828md.transient.isthermal=False
    2929
     
    3131
    3232#Fields and tolerances to track changes
    33 field_names     =['Vx1','Vy1','Vz1','Vel1','Pressure1','Bed1','Surface1','Thickness1','SurfaceforcingsMassBalance1', \
    34         'Vx2','Vy2','Vz2','Vel2','Pressure2','Bed2','Surface2','Thickness2','SurfaceforcingsMassBalance2', \
    35         'Vx3','Vy3','Vz3','Vel3','Pressure3','Bed3','Surface3','Thickness3','SurfaceforcingsMassBalance3', \
    36         'Vx4','Vy4','Vz4','Vel4','Pressure4','Bed4','Surface4','Thickness4','SurfaceforcingsMassbalance4']
     33field_names     =['Vx1','Vy1','Vz1','Vel1','Pressure1','Bed1','Surface1','Thickness1','SmbMassBalance1', \
     34        'Vx2','Vy2','Vz2','Vel2','Pressure2','Bed2','Surface2','Thickness2','SmbMassBalance2', \
     35        'Vx3','Vy3','Vz3','Vel3','Pressure3','Bed3','Surface3','Thickness3','SmbMassBalance3', \
     36        'Vx4','Vy4','Vz4','Vel4','Pressure4','Bed4','Surface4','Thickness4','SmbMassbalance4']
    3737field_tolerances=[1e-13,1e-13,1e-13,1e-13,1e-13,1e-13,1e-13,1e-13,1e-13,\
    3838        1e-13,1e-13,1e-13,1e-13,1e-13,1e-13,1e-13,1e-13,1e-13,\
     
    4848        md.results.TransientSolution[0].Surface,\
    4949        md.results.TransientSolution[0].Thickness,\
    50         md.results.TransientSolution[0].SurfaceforcingsMassBalance,\
     50        md.results.TransientSolution[0].SmbMassBalance,\
    5151        md.results.TransientSolution[1].Vx,\
    5252        md.results.TransientSolution[1].Vy,\
     
    5757        md.results.TransientSolution[1].Surface,\
    5858        md.results.TransientSolution[1].Thickness,\
    59         md.results.TransientSolution[1].SurfaceforcingsMassBalance,\
     59        md.results.TransientSolution[1].SmbMassBalance,\
    6060        md.results.TransientSolution[2].Vx,\
    6161        md.results.TransientSolution[2].Vy,\
     
    6666        md.results.TransientSolution[2].Surface,\
    6767        md.results.TransientSolution[2].Thickness,\
    68         md.results.TransientSolution[2].SurfaceforcingsMassBalance,\
     68        md.results.TransientSolution[2].SmbMassBalance,\
    6969        md.results.TransientSolution[3].Vx,\
    7070        md.results.TransientSolution[3].Vy,\
     
    7575        md.results.TransientSolution[3].Surface,\
    7676        md.results.TransientSolution[3].Thickness,\
    77         md.results.TransientSolution[3].SurfaceforcingsMassBalance,\
     77        md.results.TransientSolution[3].SmbMassBalance,\
    7878        ]
Note: See TracChangeset for help on using the changeset viewer.