Changeset 7396
- Timestamp:
- Aug 20, 2009, 5:15:20 PM (15 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
anuga_core/source/anuga_parallel/test_distribute_mesh.py
r7395 r7396 16 16 from anuga_parallel.build_commun import extract_hostmesh, rec_submesh, send_submesh 17 17 18 #import numpy as num19 import Numeric as num18 import numpy as num 19 #import Numeric as num 20 20 21 21 def topography(x,y): … … 562 562 assert num.allclose(true_submesh['ghost_triangles'][i],submesh['ghost_triangles'][i]) 563 563 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 564 566 assert true_submesh['full_commun'] == submesh['full_commun'] 565 assert true_submesh['ghost_commun'] == submesh['ghost_commun'] 566 567 568 567 569 # Order the quantities information to be the same as the triangle 568 570 # information … … 570 572 submesh = submesh_quantities(submesh, quantities, \ 571 573 triangles_per_proc) 574 575 572 576 573 577 submesh["boundary_polygon"] = boundary_polygon
Note: See TracChangeset
for help on using the changeset viewer.