Changeset 7396


Ignore:
Timestamp:
Aug 20, 2009, 5:15:20 PM (11 years ago)
Author:
steve
Message:
 
File:
1 edited

Legend:

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

    r7395 r7396  
    1616from anuga_parallel.build_commun import extract_hostmesh, rec_submesh, send_submesh
    1717
    18 #import numpy as num
    19 import Numeric as num
     18import numpy as num
     19#import Numeric as num
    2020
    2121def topography(x,y):
     
    562562            assert num.allclose(true_submesh['ghost_triangles'][i],submesh['ghost_triangles'][i])
    563563            assert num.allclose(true_submesh['ghost_nodes'][i],submesh['ghost_nodes'][i])
     564            assert num.allclose(true_submesh['ghost_commun'][i],submesh['ghost_commun'][i])
     565
    564566        assert true_submesh['full_commun'] == submesh['full_commun']
    565         assert true_submesh['ghost_commun'] == submesh['ghost_commun']
    566        
     567
     568
    567569        # Order the quantities information to be the same as the triangle
    568570        # information
     
    570572        submesh = submesh_quantities(submesh, quantities, \
    571573                                 triangles_per_proc)
     574
     575
    572576
    573577        submesh["boundary_polygon"] = boundary_polygon
Note: See TracChangeset for help on using the changeset viewer.