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
RevLine 
[19102]1Index: ../trunk-jpl/test/NightlyRun/test806.py
2===================================================================
3--- ../trunk-jpl/test/NightlyRun/test806.py (revision 18790)
4+++ ../trunk-jpl/test/NightlyRun/test806.py (revision 18791)
5@@ -7,6 +7,7 @@
6 from EnumDefinitions import *
7 from solve import *
8 from MatlabFuncs import *
9+from numpy import *
10
11 md=triangle(model(),'../Exp/Square.exp',50000.)
12 md=setmask(md,'','')
13@@ -19,7 +20,7 @@
14 xmax = max(x)
15 Lx = (xmax-xmin)
16 alpha = 2./3.
17-md.mask.ice_levelset = ((x - alpha*Lx)>0) - ((x - alpha*Lx)<0)
18+md.mask.ice_levelset = numpy.float_((x - alpha*Lx)>0) - numpy.float_((x - alpha*Lx)<0)
19
20 md.timestepping.time_step=10
21 md.timestepping.final_time=30
Note: See TracBrowser for help on using the repository browser.