Ignore:
Timestamp:
Jul 2, 2014, 10:16:31 AM (10 years ago)
Author:
davies
Message:

Adjustment to riverwall implementation which seems to give better stability

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/anuga_work/development/gareth/tests/levee2/runup.py

    r9121 r9232  
    1717higherResPolygon=[ [40., 40.], [40., 60.], [60., 60.], [60., 40.]]
    1818# Riverwall = list of lists, each with a set of x,y,z (and optional QFactor) values
    19 riverWall={ 'centralWall':
     19riverWall={ 'leftWall':
    2020                [ [50., 0.0, -0.0],
    21                   [50., 45., -0.0],
    22                   [50., 46., -0.2],
    23                   [50., 54., -0.2],
    24                   [50., 55., -0.0],
     21                  [50., 45.5, -0.0]],
     22             'centralWall':
     23                [[50., 45.5, -0.2],
     24                 [50., 54.5, -0.2]],
     25             'rightWall':
     26                [ [50., 54.5, -0.0],
    2527                  [50., 100.0, -0.0]]
    2628          }
     
    5961domain.set_datadir('.')                         
    6062domain.set_flow_algorithm('DE1')
    61 domain.set_store_vertices_uniquely()
     63domain.set_store_vertices_uniquely(True)
    6264domain.riverwallData.create_riverwalls(riverWall, riverWall_Par)
    6365
Note: See TracChangeset for help on using the changeset viewer.