Changeset 3106


Ignore:
Timestamp:
Jun 6, 2006, 5:20:01 PM (19 years ago)
Author:
ole
Message:

More work on parallel wollongong example

Location:
inundation
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • inundation/parallel/build_commun.py

    r3096 r3106  
    4848def send_submesh(submesh, triangles_per_proc, p):
    4949
    50     print "pypar sending submesh to processor ",p
     50    myid = pypar.rank()
     51    print 'process %d sending submesh to process %d' %(myid, p)
    5152   
    5253    # build and send the tagmap for the boundary conditions
     
    155156    submesh_cell = {}
    156157   
    157     print "pypar receiving submesh from processor ",p
     158    print 'process %d receiving submesh from process %d' %(myid, p)
    158159
    159160    # receive the tagmap for the boundary conditions
  • inundation/pyvolution/general_mesh.py

    r3089 r3106  
    9494        self.number_of_elements = N = self.triangles.shape[0]
    9595
    96         #FIXME: Maybe move to statistics?
    97 
     96        # FIXME: Maybe move to statistics?
     97        # Or use with get_extent
    9898        xy_extent = [ min(self.coordinates[:,0]), min(self.coordinates[:,1]) ,
    9999                      max(self.coordinates[:,0]), max(self.coordinates[:,1]) ]
Note: See TracChangeset for help on using the changeset viewer.