Changeset 3818 for anuga_core/source/anuga_parallel/parallel_api.py
- Timestamp:
- Oct 17, 2006, 6:07:21 PM (17 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
anuga_core/source/anuga_parallel/parallel_api.py
r3776 r3818 39 39 """ Distribute the domain to all processes 40 40 """ 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 41 54 42 55 if not pypar_available: return domain # Bypass … … 142 155 pmesh_divide_metis(domain, numprocs) 143 156 157 144 158 # Build the mesh that should be assigned to each processor, 145 # this includes ghost nodes and the communica iton pattern159 # this includes ghost nodes and the communication pattern 146 160 print 'Build submeshes' 147 161 submesh = build_submesh(nodes, triangles, boundary,\
Note: See TracChangeset
for help on using the changeset viewer.