source: issm/oecreview/Archive/24684-25833/ISSM-24757-24758.diff

Last change on this file was 25834, checked in by Mathieu Morlighem, 4 years ago

CHG: added 24684-25833

File size: 1.1 KB
  • ../trunk-jpl/test/NightlyRun/test2002.py

     
    88from gmtmask import *
    99from paterson import *
    1010from love_numbers import *
     11from materials import *
    1112
    1213#mesh earth:
    1314md = model()
     
    6566
    6667md.slr.ocean_area_scaling = 0
    6768
    68 #geometry
    69 di = md.materials.rho_ice / md.materials.rho_water
     69#geometry for the bed, arbitrary
    7070md.geometry.thickness = np.ones((md.mesh.numberofvertices))
    71 md.geometry.surface = (1 - di) * np.zeros((md.mesh.numberofvertices))
     71md.geometry.surface = np.zeros((md.mesh.numberofvertices))
    7272md.geometry.base = md.geometry.surface - md.geometry.thickness
    7373md.geometry.bed = md.geometry.base
    7474
    7575#materials
    76 md.initialization.temperature = 273.25 * np.ones((md.mesh.numberofvertices))
    77 md.materials.rheology_B = paterson(md.initialization.temperature)
    78 md.materials.rheology_n = 3 * np.ones((md.mesh.numberofelements))
     76md.materials=materials('hydro')
    7977
    8078#New stuff
    8179md.slr.spcthickness = np.nan * np.ones((md.mesh.numberofvertices, ))
Note: See TracBrowser for help on using the repository browser.