Changeset 4033
- Timestamp:
- Nov 24, 2006, 5:02:14 PM (18 years ago)
- Location:
- anuga_work/development/dam_2006
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
anuga_work/development/dam_2006/create_mesh.py
r4008 r4033 55 55 dam.setTag("dam") 56 56 57 if is_co urse:57 if is_coarse: 58 58 m.generate_mesh(maximum_triangle_area=0.01) 59 59 else: -
anuga_work/development/dam_2006/project.py
r4007 r4033 10 10 copy_code_files 11 11 12 from anuga.utilities.system_tools import get_user_name 12 13 13 14 #swollen/ all data output 14 15 basename = 'source' 15 16 17 user = get_user_name() 16 18 if sys.platform == 'win32': 17 19 try: 18 home = environ['INUNDATIONHOME'] 19 user = getenv('USERPROFILE') 20 home = environ['INUNDATIONHOME'] 20 21 except: 21 22 home = '.' 22 user = getenv('LOGNAME')23 23 else: 24 24 home = getenv('INUNDATIONHOME', sep+'d'+sep+'cit'+sep+'1'+sep+'cit'+sep+'risk_assessment_methods_project'+sep+'inundation') 25 25 26 27 26 if not access(home, F_OK): 28 27 home = '.' 29 28 30 29 # Create the structure of where the output will go 31 30 create_scenario_dir = ['data','flumes','dam_2006'] -
anuga_work/development/dam_2006/run_dam.py
r4008 r4033 78 78 domain.set_quantities_to_be_stored(['stage', 'xmomentum', 'ymomentum']) 79 79 domain.set_minimum_storable_height(0.01) 80 domain.set_store_vertices_uniquely(True) # for writting to sww80 #domain.set_store_vertices_uniquely(True) # for writting to sww 81 81 82 82 #-------------------------------------------------------------------------
Note: See TracChangeset
for help on using the changeset viewer.