Ignore:
Timestamp:
Oct 17, 2006, 6:07:21 PM (17 years ago)
Author:
ole
Message:

Work on parallel test and attempt to get TRUE bounding polygon for each submesh

File:
1 edited

Legend:

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

    r3776 r3818  
    3939    """ Distribute the domain to all processes
    4040    """
     41
     42
     43    # FIXME: Dummy assignment (until boundaries are refactored to
     44    # 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)
     51
     52
     53
    4154
    4255    if not pypar_available: return domain # Bypass
     
    142155           pmesh_divide_metis(domain, numprocs)
    143156
     157
    144158    # Build the mesh that should be assigned to each processor,
    145     # this includes ghost nodes and the communicaiton pattern
     159    # this includes ghost nodes and the communication pattern
    146160    print 'Build submeshes'   
    147161    submesh = build_submesh(nodes, triangles, boundary,\
Note: See TracChangeset for help on using the changeset viewer.