Changeset 3653
- Timestamp:
- Sep 22, 2006, 2:32:05 PM (17 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
anuga_validation/analytical solutions/Analytical_solution_oblique_shock.py
r2229 r3653 18 18 # import visualise2_chris as visualise 19 19 # import Image, ImageGrab 20 import sys21 from os import sep22 sys.path.append('..'+sep+'pyvolution')20 #import sys 21 #from os import sep 22 #sys.path.append('..'+sep+'pyvolution') 23 23 24 from shallow_water import Domain, Constant_height25 from shallow_water import Transmissive_boundary, Reflective_boundary,\24 from anuga.shallow_water import Domain #, Constant_height 25 from anuga.shallow_water import Transmissive_boundary, Reflective_boundary,\ 26 26 Dirichlet_boundary 27 27 from math import sqrt, cos, sin, pi … … 74 74 # Initial condition 75 75 h = 0.5 76 domain.set_quantity(' level', Constant_height(x_slope, h))76 domain.set_quantity('stage', expression='elevation + %f' %h) 77 77 78 78 #----------------------------------------------------------
Note: See TracChangeset
for help on using the changeset viewer.