Changeset 1629 for inundation
- Timestamp:
- Jul 22, 2005, 3:18:23 PM (19 years ago)
- Location:
- inundation/ga/storm_surge
- Files:
-
- 2 added
- 7 edited
Legend:
- Unmodified
- Added
- Removed
-
inundation/ga/storm_surge/parallel
- Property svn:externals
-
old new 1 pypar https://datamining.anu.edu.au/svn/ga/pypar1 pypar-src https://datamining.anu.edu.au/svn/ga/pypar
-
- Property svn:externals
-
inundation/ga/storm_surge/parallel/run_parallel_merimbula.py
r1580 r1629 54 54 #from shallow_water import Domain 55 55 56 from pmesh2domain import pmesh_to_domain_instance 56 57 from advection import Domain as Advection_Domain 57 58 from parallel_advection import Parallel_Domain … … 77 78 def __call__(self, x, y): 78 79 return self.h*((x>self.x0)&(x<self.x1)) 79 80 80 81 # read in the processor information 81 82 … … 93 94 # read in the test files 94 95 95 #filename = 'test-100.tsh'96 filename = 'merimbula_10785.tsh'97 nx = 296 filename = 'test-100.tsh' 97 # filename = 'merimbula_10785.tsh' 98 nx = numprocs 98 99 ny = 1 99 100 if nx*ny != numprocs: … … 101 102 102 103 domain_full = pmesh_to_domain_instance(filename, Domain) 103 #domain_full.set_quantity('stage', Set_Stage(200.0,300.0,1.0))104 domain.set_quantity('stage', Set_Stage(756000.0,756500.0,4.0))105 104 domain_full.set_quantity('stage', Set_Stage(200.0,300.0,1.0)) 105 # domain.set_quantity('stage', Set_Stage(756000.0,756500.0,4.0)) 106 106 107 nodes, triangles, boundary, triangles_per_proc, quantities =\ 107 108 pmesh_divide(domain_full, nx, ny) -
inundation/ga/storm_surge/parallel/run_parallel_sw_merimbula.py
r1607 r1629 92 92 # read in the test files 93 93 94 #filename = 'test-100.tsh'95 filename = 'merimbula_10785_1.tsh'94 filename = 'test-100.tsh' 95 # filename = 'merimbula_10785_1.tsh' 96 96 nx = numprocs 97 97 ny = 1 … … 101 101 domain_full = pmesh_to_domain_instance(filename, Domain) 102 102 103 #domain_full.set_quantity('stage', Set_Stage(200.0,300.0,1.0))104 domain_full.set_quantity('stage', Set_Stage(756000.0,756500.0,2.0))103 domain_full.set_quantity('stage', Set_Stage(200.0,300.0,1.0)) 104 # domain_full.set_quantity('stage', Set_Stage(756000.0,756500.0,2.0)) 105 105 106 106 nodes, triangles, boundary, triangles_per_proc, quantities = \ … … 148 148 try: 149 149 domain.initialise_visualiser(rect=rect) 150 domain.visualiser.coloring['stage'] = True150 #domain.visualiser.coloring['stage'] = True 151 151 domain.visualiser.scale_z['stage'] = 0.2 152 152 domain.visualiser.scale_z['elevation'] = 0.05 … … 176 176 177 177 print 'Processor %d on %s: No of elements %d'%(domain.processor,processor_name,domain.number_of_elements) 178 yieldstep = 10.0178 yieldstep = 0.05 179 179 finaltime = 500.0 180 180 -
inundation/ga/storm_surge/pyvolution/run_profile.py
r1627 r1629 6 6 7 7 ###################### 8 # Module imports 8 # Module imports 9 9 # 10 10 from shallow_water import Domain, Reflective_boundary, Dirichlet_boundary,\ … … 14 14 from mesh_factory import rectangular 15 15 from Numeric import array 16 16 17 17 18 18 ###################### … … 35 35 def slope(x, y): 36 36 return -x 37 37 38 38 domain.set_quantity('elevation', slope) 39 39 domain.set_quantity('friction', 0.3) … … 51 51 52 52 domain.check_integrity() 53 53 54 54 55 55 ###################### … … 67 67 68 68 profile.run(s, FN) 69 69 70 70 print 'That took %.2f seconds' %(time.time()-t0) 71 71 -
inundation/ga/storm_surge/zeus/anuga-workspace.zwi
r1597 r1629 2 2 <workspace name="anuga-workspace"> 3 3 <mode>Debug</mode> 4 <active>p yvolution</active>4 <active>parallel</active> 5 5 <project name="Merimbula">Merimbula.zpi</project> 6 6 <project name="parallel">parallel.zpi</project> -
inundation/ga/storm_surge/zeus/parallel.zpi
r1558 r1629 86 86 <file>..\parallel\run_parallel_mesh.py</file> 87 87 <file>..\parallel\run_parallel_sw_merimbula.py</file> 88 <file>..\parallel\run_sw_lost_mass.py</file> 88 89 <folder name="Header Files" /> 89 90 <folder name="Resource Files" />
Note: See TracChangeset
for help on using the changeset viewer.