Changeset 8811
- Timestamp:
- Apr 5, 2013, 5:19:26 PM (12 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/anuga_core/source/anuga_validation_tests/Case_studies/Okushiri/run_okushiri.py
r8810 r8811 59 59 # Set simulation parameters 60 60 #------------------------- 61 domain.set_name(project.output_filename) # Name of output sww file 62 domain.set_default_order(2) # Apply second order scheme 61 domain.set_name(project.output_filename) # Name of output sww file 63 62 domain.set_minimum_storable_height(0.001) # Don't store w < 0.001m 64 63 #domain.set_quantities_to_be_monitored('stage') … … 69 68 # or override manually yourself 70 69 #------------------------------------------------------------------------------ 71 #from anuga.utilities.argparsing import parse_standard_args 72 #alg, cfl = parse_standard_args() 73 alg = '1_5' 74 cfl = 1.0 70 from anuga.utilities.argparsing import parse_standard_args 71 alg, cfl = parse_standard_args() 75 72 domain.set_flow_algorithm(alg) 76 73 domain.set_CFL(cfl) 77 74 78 75 79 domain.set_store( False)76 domain.set_store(True) 80 77 81 78 … … 110 107 t0 = time.time() 111 108 112 for t in domain.evolve(yieldstep = 0.01, finaltime = 4.0): 113 print 80*"=" 109 for t in domain.evolve(yieldstep = 0.05, finaltime = 22.5): 114 110 domain.write_time() 115 import objgraph 116 #objgraph.show_most_common_types() 117 #print objgraph.typestats(objgraph.get_leaking_objects()) 118 objgraph.show_growth() 119 #print domain.quantity_statistics(precision='%.12f') 111 120 112 121 113 print 'That took %.2f seconds' %(time.time()-t0)
Note: See TracChangeset
for help on using the changeset viewer.