Changeset 8179
- Timestamp:
- May 16, 2011, 10:49:13 PM (13 years ago)
- Location:
- trunk/anuga_core/source/anuga
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/anuga_core/source/anuga/__init__.py
r8154 r8179 334 334 except: 335 335 import os 336 import sys 336 337 if os.name == 'posix' and os.uname()[4] in ['x86_64', 'ia64']: 337 338 pass 338 339 # Psyco isn't supported on 64 bit systems, but it doesn't matter 340 elif sys.version[:3] == '2.7' : 341 pass 342 # Psyco isn't available for python 2.7 (16/05/2011) 339 343 else: 340 344 log.critical('WARNING: psyco (speedup) could not be imported, ' -
trunk/anuga_core/source/anuga/operators/run_dam_break.py
r8167 r8179 43 43 44 44 # structured mesh 45 points, vertices, boundary = anuga.rectangular_cross(int(L/dx), int(W/dy), L, W, (0.0, -W/2)) 46 47 domain = anuga.Domain(points, vertices, boundary) 45 domain = anuga.rectangular_cross_domain(int(L/dx), int(W/dy), L, W, (0.0, -W/2)) 48 46 49 47 domain.set_name(output_file)
Note: See TracChangeset
for help on using the changeset viewer.