Ignore:
Timestamp:
Nov 7, 2006, 10:57:58 AM (17 years ago)
Author:
ole
Message:

First step towards keeping track of full nodes and triangles in
parallel domains.

File:
1 edited

Legend:

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

    r3460 r3926  
    270270        submesh_cell["ghost_quan"][qkeys[i]][:] = tmp[:]
    271271   
    272     return submesh_cell, triangles_per_proc
     272    return submesh_cell, triangles_per_proc,\
     273           no_full_nodes, no_full_triangles
    273274
    274275
     
    296297    myid = pypar.rank()
    297298
    298     [submesh_cell, triangles_per_proc] = rec_submesh_flat(p)
     299    [submesh_cell, triangles_per_proc,\
     300     number_of_full_nodes, number_of_full_triangles] = rec_submesh_flat(p)
    299301   
    300302    # find the full triangles assigned to this processor
     
    312314                               numproc)
    313315   
    314     return GAnodes, GAtriangles, boundary, quantities, ghost_rec, full_send
     316    return GAnodes, GAtriangles, boundary, quantities,\
     317           ghost_rec, full_send,\
     318           number_of_full_nodes, number_of_full_triangles
     319
    315320
    316321#########################################################
Note: See TracChangeset for help on using the changeset viewer.