Changeset 5317


Ignore:
Timestamp:
May 14, 2008, 9:28:49 AM (16 years ago)
Author:
kristy
Message:

update of circular.py.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • anuga_validation/circular_island/simple_circular/circular.py

    r5289 r5317  
    77# Import necessary modules
    88#------------------------------------------------------------------------------
    9 #from anuga.abstract_2d_finite_volumes.mesh_factory import rectangular_cross
     9from anuga.abstract_2d_finite_volumes.mesh_factory import rectangular_cross
    1010from anuga.shallow_water import Domain
    1111from anuga.shallow_water import Reflective_boundary
     
    2323Cx = 12.96                  # centre of island on the x axis
    2424Cy = 13.8                   # centre of island on the y axis
    25 dx = dy = 1     # Resolution: Length of subdivisions on both axes
    26 water_depth = 0.32
     25dx = dy = 1                 # Resolution: Length of subdivisions on both axes
     26water_depth = 0.32          # Can be 0.32 or 0.42
    2727
    2828#boundary
     
    3030meshname = 'test.msh'
    3131
     32# exporting asc grid
     33xmin = 0
     34xmax = length   
     35ymin = 0
     36ymax = width
    3237
    3338#Create interior region
     
    4752                         filename=meshname,
    4853                         interior_regions = interior_dome,
    49                          use_cache=True,
     54                         use_cache=False,
    5055                         verbose=True)
    5156
    52 domain = Domain(meshname, use_cache=True, verbose = True)
     57domain = Domain(meshname, use_cache=False, verbose = True)
    5358domain.set_name('circular')                  # Output name
    5459print domain.statistics()
Note: See TracChangeset for help on using the changeset viewer.