Changeset 8993


Ignore:
Timestamp:
Sep 27, 2013, 8:05:46 AM (11 years ago)
Author:
steve
Message:

Slight cleanup of run_parallel_boyd_box_op.py

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/anuga_core/source/anuga_parallel/run_parallel_boyd_box_op.py

    r8984 r8993  
    6767
    6868    domain = anuga.Domain(points, vertices, boundary)   
    69     domain.set_name('run_parallel_frac_pp')                 # Output name
    70     domain.set_default_order(2)
     69    domain.set_name()                 # Output name output_script_name.sww
     70    domain.set_flow_algorithm('1_5')
    7171else:
    7272    domain = None
     
    100100line0 = [[10.0, 10.0], [30.0, 10.0]]
    101101#line0 = [[29.0, 10.0], [30.0, 10.0]]
    102 line1 = [[0.0, 10.0], [0.0, 15.0]]
     102poly1 = [[0.0, 10.0], [0.0, 15.0], [5.0, 15.0], [5.0, 10.0]]
    103103Q0 = anuga.file_function('test_hydrograph.tms', quantities=['hydrograph'])
    104104Q1 = 5.0
     
    112112
    113113inlet0 = Inlet_operator(domain, line0, Q0, logging=True, description='inlet0', verbose = False)
    114 inlet1 = Inlet_operator(domain, line1, Q1, logging=True, description='inlet1', verbose = False)
     114inlet1 = Inlet_operator(domain, poly1, Q1, logging=True, description='inlet1', verbose = False)
    115115
    116116# Enquiry point [ 19.    2.5] is contained in two domains in 4 proc case
Note: See TracChangeset for help on using the changeset viewer.