Ignore:
Timestamp:
Apr 17, 2007, 2:23:21 PM (18 years ago)
Author:
duncan
Message:

new UA friction scenario - elevation calculated by a function, initial stage of 0.06

File:
1 edited

Legend:

Unmodified
Added
Removed
  • anuga_work/development/friction_UA_flume_2006/create_mesh.py

    r4351 r4386  
    77
    88
    9 def generate(mesh_filename, is_coarse = False):
     9def generate(mesh_filename, maximum_triangle_area=0.01):
    1010    """
    1111    Generate mesh for University of Aberbeen dam break flume.
     
    6868    # this is the location of the slope region.
    6969    slope.setTag("slope")
     70    #slope.setTag("dam")
    7071   
    71     if is_coarse:
    72         m.generate_mesh(maximum_triangle_area=0.01)
    73     else:
    74         m.generate_mesh(maximum_triangle_area=0.0001)
     72    m.generate_mesh(maximum_triangle_area=maximum_triangle_area)
    7573
    7674    m.export_mesh_file(mesh_filename)
Note: See TracChangeset for help on using the changeset viewer.