Ignore:
Timestamp:
Jun 16, 2010, 8:23:42 AM (13 years ago)
Author:
hudson
Message:

Fixed failing validations

File:
1 edited

Legend:

Unmodified
Added
Removed
  • anuga_validation/performance_tests/run_profile.py

    r7276 r7846  
    66######################
    77# Module imports
    8 from anuga.shallow_water import Domain, Reflective_boundary
    9 from mesh_factory import rectangular
    10 #import numpy as num     # not used?
    11 
     8import anuga
    129
    1310######################
     
    2118print 'Creating domain'
    2219#Create basic mesh
    23 points, vertices, boundary = rectangular(N, N)
     20points, vertices, boundary = anuga.rectangular(N, N)
    2421
    2522#Create shallow water domain
    26 domain = Domain(points, vertices, boundary)
     23domain = anuga.Domain(points, vertices, boundary)
    2724domain.set_default_order(2)       
    2825domain.set_quantities_to_be_stored(None)
     
    4138
    4239print 'Setting boundary conditions'
    43 Br = Reflective_boundary(domain)
     40Br = anuga.Reflective_boundary(domain)
    4441domain.set_boundary({'left': Br, 'right': Br, 'bottom': Br, 'top': Br})
    4542
Note: See TracChangeset for help on using the changeset viewer.