Changeset 3653


Ignore:
Timestamp:
Sep 22, 2006, 2:32:05 PM (18 years ago)
Author:
ole
Message:

Migrated to new structure

File:
1 edited

Legend:

Unmodified
Added
Removed
  • anuga_validation/analytical solutions/Analytical_solution_oblique_shock.py

    r2229 r3653  
    1818# import visualise2_chris as visualise
    1919# import Image, ImageGrab
    20 import sys
    21 from os import sep
    22 sys.path.append('..'+sep+'pyvolution')
     20#import sys
     21#from os import sep
     22#sys.path.append('..'+sep+'pyvolution')
    2323
    24 from shallow_water import Domain, Constant_height
    25 from shallow_water import Transmissive_boundary, Reflective_boundary,\
     24from anuga.shallow_water import Domain #, Constant_height
     25from anuga.shallow_water import Transmissive_boundary, Reflective_boundary,\
    2626     Dirichlet_boundary
    2727from math import sqrt, cos, sin, pi
     
    7474# Initial condition
    7575h = 0.5
    76 domain.set_quantity('level', Constant_height(x_slope, h) )
     76domain.set_quantity('stage', expression='elevation + %f' %h)
    7777
    7878#----------------------------------------------------------
Note: See TracChangeset for help on using the changeset viewer.