Ignore:
Timestamp:
Aug 28, 2009, 2:34:39 PM (14 years ago)
Author:
steve
Message:

Concentrating code

File:
1 edited

Legend:

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

    r7400 r7447  
    4343    numproc   = pypar.size()
    4444
    45     print 'numproc',numproc
    46     print 'processor ',processor
     45    #print 'numproc',numproc
     46    #print 'processor ',processor
    4747
    4848    m_low, m_high = pypar.balance(m_g, numproc, processor)
     
    5252    m_high = m_high+1
    5353
    54     print 'm_low, m_high', m_low, m_high
     54    #print 'm_low, m_high', m_low, m_high
    5555    m = m_high - m_low
    5656
     
    168168        Idgr.extend(Idgl)
    169169
    170         print Idfl
    171         print Idgr
     170        #print Idfl
     171        #print Idgr
    172172       
    173173        Idfl = num.array(Idfl,num.int)
    174174        Idgr = num.array(Idgr,num.int)
    175175
    176         print Idfl
    177         print Idgr
     176        #print Idfl
     177        #print Idgr
    178178       
    179179        full_send_dict[processor]  = [Idfl, Idfl]
    180180        ghost_recv_dict[processor] = [Idgr, Idgr]
    181181
    182         print  full_send_dict[processor]
    183         print ghost_recv_dict[processor]
     182        #print  full_send_dict[processor]
     183        #print ghost_recv_dict[processor]
    184184    elif numproc == 2:
    185185        Idfl.extend(Idfr)
     
    203203
    204204
    205     print full_send_dict
    206     print ghost_recv_dict       
     205    #print full_send_dict
     206    #print ghost_recv_dict       
    207207   
    208208    return  points, elements, boundary, full_send_dict, ghost_recv_dict
Note: See TracChangeset for help on using the changeset viewer.