Ignore:
Timestamp:
Oct 18, 2008, 9:13:18 PM (16 years ago)
Author:
steve
Message:

Changed parallel_api so that global mesh only needs to
be constructed on processor 0

File:
1 edited

Legend:

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

    r3928 r5847  
    4343    # FIXME: Dummy assignment (until boundaries are refactored to
    4444    # be independent of domains until they are applied)
    45     bdmap = {}
    46     for tag in domain.get_boundary_tags():
    47         bdmap[tag] = None
    48    
    49    
    50     domain.set_boundary(bdmap)
     45    if myid == 0:
     46        bdmap = {}
     47        for tag in domain.get_boundary_tags():
     48            bdmap[tag] = None
     49   
     50   
     51        domain.set_boundary(bdmap)
    5152
    5253
Note: See TracChangeset for help on using the changeset viewer.