Changeset 7447 for anuga_core/source/anuga_parallel/parallel_meshes.py
- Timestamp:
- Aug 28, 2009, 2:34:39 PM (14 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
anuga_core/source/anuga_parallel/parallel_meshes.py
r7400 r7447 43 43 numproc = pypar.size() 44 44 45 print 'numproc',numproc46 print 'processor ',processor45 #print 'numproc',numproc 46 #print 'processor ',processor 47 47 48 48 m_low, m_high = pypar.balance(m_g, numproc, processor) … … 52 52 m_high = m_high+1 53 53 54 print 'm_low, m_high', m_low, m_high54 #print 'm_low, m_high', m_low, m_high 55 55 m = m_high - m_low 56 56 … … 168 168 Idgr.extend(Idgl) 169 169 170 print Idfl171 print Idgr170 #print Idfl 171 #print Idgr 172 172 173 173 Idfl = num.array(Idfl,num.int) 174 174 Idgr = num.array(Idgr,num.int) 175 175 176 print Idfl177 print Idgr176 #print Idfl 177 #print Idgr 178 178 179 179 full_send_dict[processor] = [Idfl, Idfl] 180 180 ghost_recv_dict[processor] = [Idgr, Idgr] 181 181 182 print full_send_dict[processor]183 print ghost_recv_dict[processor]182 #print full_send_dict[processor] 183 #print ghost_recv_dict[processor] 184 184 elif numproc == 2: 185 185 Idfl.extend(Idfr) … … 203 203 204 204 205 print full_send_dict206 print ghost_recv_dict205 #print full_send_dict 206 #print ghost_recv_dict 207 207 208 208 return points, elements, boundary, full_send_dict, ghost_recv_dict
Note: See TracChangeset
for help on using the changeset viewer.