Changeset 3106
- Timestamp:
- Jun 6, 2006, 5:20:01 PM (19 years ago)
- Location:
- inundation
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
inundation/parallel/build_commun.py
r3096 r3106 48 48 def send_submesh(submesh, triangles_per_proc, p): 49 49 50 print "pypar sending submesh to processor ",p 50 myid = pypar.rank() 51 print 'process %d sending submesh to process %d' %(myid, p) 51 52 52 53 # build and send the tagmap for the boundary conditions … … 155 156 submesh_cell = {} 156 157 157 print "pypar receiving submesh from processor ",p158 print 'process %d receiving submesh from process %d' %(myid, p) 158 159 159 160 # receive the tagmap for the boundary conditions -
inundation/pyvolution/general_mesh.py
r3089 r3106 94 94 self.number_of_elements = N = self.triangles.shape[0] 95 95 96 # FIXME: Maybe move to statistics?97 96 # FIXME: Maybe move to statistics? 97 # Or use with get_extent 98 98 xy_extent = [ min(self.coordinates[:,0]), min(self.coordinates[:,1]) , 99 99 max(self.coordinates[:,0]), max(self.coordinates[:,1]) ]
Note: See TracChangeset
for help on using the changeset viewer.