Changeset 8518


Ignore:
Timestamp:
Aug 16, 2012, 8:57:29 AM (13 years ago)
Author:
steve
Message:

set minimum_storable_height transferred to sub_domains

File:
1 edited

Legend:

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

    r8496 r8518  
    6767        domain_dir = domain.get_datadir()
    6868        domain_store = domain.get_store()
     69        domain_minimum_storable_height = domain.minimum_storable_height
    6970        georef = domain.geo_reference
    7071        number_of_global_triangles = domain.number_of_triangles
     
    7475
    7576        for p in range(1, numprocs):
    76             send((domain_name, domain_dir, domain_store, georef, \
     77            send((domain_name, domain_dir, domain_store, \
     78                  domain_minimum_storable_height, georef, \
    7779                  number_of_global_triangles, number_of_global_nodes), p)
    7880    else:
    7981        if verbose: print 'P%d: Receiving domain attributes' %(myid)
    8082
    81         domain_name, domain_dir, domain_store, georef, \
    82                   number_of_global_triangles, number_of_global_nodes = receive(0)
     83        domain_name, domain_dir, domain_store, \
     84                  domain_minimum_storable_height, \
     85                  georef, number_of_global_triangles, \
     86                  number_of_global_nodes = receive(0)
    8387
    8488
     
    196200    domain.set_datadir(domain_dir)
    197201    domain.set_store(domain_store)
     202    domain.set_minimum_storable_height(domain_minimum_storable_height)
    198203    domain.geo_reference = georef   
    199204
Note: See TracChangeset for help on using the changeset viewer.