Ignore:
Timestamp:
Sep 18, 2012, 3:42:23 PM (13 years ago)
Author:
steve
Message:

Moved Gareth's tsunami algorithm over to main trunk

File:
1 edited

Legend:

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

    r8553 r8582  
    6868        domain_store = domain.get_store()
    6969        domain_minimum_storable_height = domain.minimum_storable_height
     70        domain_flow_algorithm = domain.get_flow_algorithm()
     71        domain_minimum_allowed_height = domain.get_minimum_allowed_height()
    7072        georef = domain.geo_reference
    7173        number_of_global_triangles = domain.number_of_triangles
     
    7779            # FIXME SR: Creates cPickle dump
    7880            send((domain_name, domain_dir, domain_store, \
    79                   domain_minimum_storable_height, georef, \
     81                  domain_minimum_storable_height, domain_flow_algorithm, \
     82                  domain_minimum_allowed_height, georef, \
    8083                  number_of_global_triangles, number_of_global_nodes), p)
    8184    else:
     
    8386
    8487        domain_name, domain_dir, domain_store, \
    85                   domain_minimum_storable_height, \
    86                   georef, number_of_global_triangles, \
     88                  domain_minimum_storable_height, domain_flow_algorithm, \
     89                  domain_minimum_allowed_height, georef, number_of_global_triangles, \
    8790                  number_of_global_nodes = receive(0)
    8891
     
    236239    domain.set_store(domain_store)
    237240    domain.set_minimum_storable_height(domain_minimum_storable_height)
     241    domain.set_minimum_allowed_height(domain_minimum_allowed_height)
     242    domain.set_flow_algorithm(domain_flow_algorithm)
    238243    domain.geo_reference = georef   
    239244
Note: See TracChangeset for help on using the changeset viewer.