Changeset 3033


Ignore:
Timestamp:
May 31, 2006, 3:45:38 PM (18 years ago)
Author:
linda
Message:

Further testing on time calculation in parallel computation

Location:
inundation/parallel
Files:
3 added
3 edited

Legend:

Unmodified
Added
Removed
  • inundation/parallel/documentation/report.tex

    r2808 r3033  
    6363\include{parallel}
    6464\include{results}
    65 \include{visualisation}
    6665\include{code}
    6766
  • inundation/parallel/parallel_shallow_water.py

    r2813 r3033  
    114114        """Calculate local timestep
    115115        """
    116 
    117 
     116       
    118117        #Compute minimal timestep on local process
    119118        Domain.update_timestep(self, yieldstep, finaltime)
     
    149148
    150149
    151 
    152 
    153150        self.communication_reduce_time += time.time()-t0
    154 
    155 
    156151
    157152
  • inundation/parallel/run_parallel_merimbula_test.py

    r2909 r3033  
    8383    # read in the test files
    8484
    85 #    filename = 'test-100.tsh'
    86     filename = 'merimbula_10785.tsh'
     85    filename = 'test-100.tsh'
     86#    filename = 'merimbula_10785.tsh'
    8787    nx = numprocs
    8888    ny = 1
     
    9191
    9292    domain_full = pmesh_to_domain_instance(filename, Advection_Domain)
    93 #    domain_full.set_quantity('stage', Set_Stage(200.0,300.0,1.0))
    94     domain_full.set_quantity('stage', Set_Stage(756000.0,756500.0,4.0))
     93    domain_full.set_quantity('stage', Set_Stage(200.0,300.0,1.0))
     94#    domain_full.set_quantity('stage', Set_Stage(756000.0,756500.0,4.0))
    9595
    9696    nodes, triangles, boundary, triangles_per_proc, quantities  =\
     
    151151
    152152try:
    153     domain.initialise_visualiser(rect=rect)
     153   # domain.initialise_visualiser(rect=rect)
    154154    #domain.visualiser.coloring['stage'] = True
    155155    #domain.visualiser.scale_z['stage'] = 0.2
     
    160160from norms import linf_norm
    161161
    162 #yieldstep = 1
    163 #finaltime = 4000
     162yieldstep = 1
     163finaltime = 200
    164164
    165 yieldstep = 1000
    166 finaltime = 50000
     165#yieldstep = 1000
     166#finaltime = 50000
    167167
    168168for t in domain.evolve(yieldstep = yieldstep, finaltime = finaltime):
Note: See TracChangeset for help on using the changeset viewer.