source: issm/oecreview/Archive/18296-19100/ISSM-18790-18791.diff@ 19102

Last change on this file since 19102 was 19102, checked in by Mathieu Morlighem, 10 years ago

NEW: added 18296-19100

File size: 707 bytes
  • ../trunk-jpl/test/NightlyRun/test806.py

     
    77from EnumDefinitions import *
    88from solve import *
    99from MatlabFuncs import *
     10from numpy import *
    1011
    1112md=triangle(model(),'../Exp/Square.exp',50000.)
    1213md=setmask(md,'','')
     
    1920xmax = max(x)
    2021Lx = (xmax-xmin)
    2122alpha = 2./3.
    22 md.mask.ice_levelset = ((x - alpha*Lx)>0) - ((x - alpha*Lx)<0)
     23md.mask.ice_levelset = numpy.float_((x - alpha*Lx)>0) - numpy.float_((x - alpha*Lx)<0)
    2324
    2425md.timestepping.time_step=10
    2526md.timestepping.final_time=30
Note: See TracBrowser for help on using the repository browser.