Ignore:
Timestamp:
11/18/17 15:19:15 (7 years ago)
Author:
kruegern
Message:

ADD: added python versions and dependecies for tests: 243,260,261,293,340,342,343,344,350,430,435,436,437,438,439,441,442,460,461,462,463,464,465,540,701,808,2424,2425

File:
1 edited

Legend:

Unmodified
Added
Removed
  • issm/trunk-jpl/test/Par/SquareThermal.py

    r21409 r22267  
    2626print "      creating temperatures"
    2727md.initialization.temperature=(273.-20.)*numpy.ones((md.mesh.numberofvertices))
     28md.initialization.pressure=numpy.zeros((md.mesh.numberofvertices,))
     29md.initialization.waterfraction=numpy.zeros((md.mesh.numberofvertices,))
     30md.initialization.watercolumn=numpy.zeros((md.mesh.numberofvertices,))
    2831
    2932print "      creating flow law parameter"
     
    3336print "      creating surface mass balance"
    3437md.smb.mass_balance=numpy.ones((md.mesh.numberofvertices))/md.constants.yts    #1m/a
    35 md.basalforcings.melting_rate=0.*numpy.ones((md.mesh.numberofvertices))/md.constants.yts    #1m/a
     38#md.basalforcings.melting_rate=0.*numpy.ones((md.mesh.numberofvertices))/md.constants.yts    #1m/a
     39md.basalforcings.groundedice_melting_rate=0.*numpy.ones((md.mesh.numberofvertices))/md.constants.yts    #1m/a
     40md.basalforcings.floatingice_melting_rate=0.*numpy.ones((md.mesh.numberofvertices))/md.constants.yts    #1m/a
    3641
    3742#Deal with boundary conditions:
     
    4146
    4247print "      boundary conditions for thermal model"
    43 md.thermal.spctemperature=md.initialization.temperature
     48md.thermal.spctemperature[:]=md.initialization.temperature
    4449md.basalforcings.geothermalflux=numpy.zeros((md.mesh.numberofvertices))
    4550md.basalforcings.geothermalflux[numpy.nonzero(md.mask.groundedice_levelset>0.)[0]]=1.*10**-3    #1 mW/m^2
Note: See TracChangeset for help on using the changeset viewer.