Rev | Line | |
---|
[19102] | 1 | Index: ../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.