Changeset 2193


Ignore:
Timestamp:
Jan 10, 2006, 3:51:52 PM (19 years ago)
Author:
jack
Message:

Corrected potential error in pmesh_divide when examining pmesh_divide_metis
run_parallel_sw_rectangle was asking the visualiser to colour the stage, but was not specifying a colour. It now colours the stage at (0.0, 0.0, 0.8)

Location:
inundation/parallel
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • inundation/parallel/pmesh_divide.py

    r2130 r2193  
    325325       
    326326        edgecut, epart, npart = partMeshNodal(n_tri, n_vert, t_list, 1, n_procs)
    327         del edgecut
    328         del npart
    329327        # print edgecut
    330328        # print npart
    331329        # print epart
     330        del edgecut
     331        del npart
    332332        # Assign triangles to processes, according to what metis told us.
    333333       
  • inundation/parallel/run_parallel_sw_rectangle.py

    r2152 r2193  
    6767    domain.initialise_visualiser(rect=rect)
    6868    domain.visualiser.coloring['stage'] = True
     69    domain.visualiser.qcolor['stage'] = (0.0, 0.0, 0.8)
    6970    domain.visualiser.scale_z['stage'] = 1.0
    7071    domain.visualiser.scale_z['elevation'] = 0.05
Note: See TracChangeset for help on using the changeset viewer.