Changeset 24758


Ignore:
Timestamp:
04/28/20 16:40:09 (5 years ago)
Author:
jdquinn
Message:

CHG: Arbitrary geometry

File:
1 edited

Legend:

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

    r24482 r24758  
    99from paterson import *
    1010from love_numbers import *
     11from materials import *
    1112
    1213#mesh earth:
     
    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
Note: See TracChangeset for help on using the changeset viewer.