Ignore:
Timestamp:
Apr 4, 2006, 10:15:01 AM (19 years ago)
Author:
linda
Message:

Added routines to print domain stats in parallel

File:
1 edited

Legend:

Unmodified
Added
Removed
  • inundation/parallel/run_parallel_sw_rectangle.py

    r2625 r2654  
    2525# pmesh
    2626
    27 #from shallow_water import Domain
     27from print_stats import print_test_stats, build_full_flag
    2828
    2929from shallow_water import Domain
     
    5757                         full_send_dict  = full_send_dict,
    5858                         ghost_recv_dict = ghost_recv_dict)
     59
     60# Make a notes of which triangles are full and which are ghost
     61
     62tri_full_flag = build_full_flag(domain, ghost_recv_dict)
    5963
    6064print 'number of triangles = ', domain.number_of_elements
     
    112116    if myid == 0:
    113117        domain.write_time()
     118    print_test_stats(domain, tri_full_flag)
    114119
    115120if myid == 0:
Note: See TracChangeset for help on using the changeset viewer.