- Timestamp:
- Nov 21, 2006, 8:36:47 PM (18 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
anuga_core/source/anuga/shallow_water/test_data_manager.py
r4024 r4026 2775 2775 domain.geo_reference = Geo_reference(56,11,11) 2776 2776 domain.smooth = False 2777 domain.visualise = False2778 2777 domain.store = True 2779 2778 domain.set_name('bedslope') … … 2837 2836 #Now evolve them both, just to be sure 2838 2837 ######################################x 2839 visualise = False2840 #visualise = True2841 domain.visualise = visualise2842 2838 domain.time = 0. 2843 2839 from time import sleep … … 2850 2846 2851 2847 for t in domain.evolve(yieldstep = yiel, finaltime = final): 2852 if visualise: sleep(1.)2853 2848 #domain.write_time() 2854 2849 pass … … 2859 2854 2860 2855 domain2.smooth = False 2861 domain2.visualise = visualise2862 2856 domain2.store = False 2863 2857 domain2.default_order=2 … … 2875 2869 2876 2870 for t in domain2.evolve(yieldstep = yiel, finaltime = final): 2877 if visualise: sleep(1.)2878 2871 #domain2.write_time() 2879 2872 pass … … 2916 2909 domain = Domain(points, vertices, boundary) 2917 2910 domain.smooth = False 2918 domain.visualise = False2919 2911 domain.store = True 2920 2912 domain.set_name('test_file') … … 3025 3017 domain.geo_reference = Geo_reference(56,11,11) 3026 3018 domain.smooth = True 3027 domain.visualise = False3028 3019 domain.store = True 3029 3020 domain.set_name('bedslope') … … 3093 3084 #Now evolve them both, just to be sure 3094 3085 ######################################x 3095 visualise = False3096 visualise = True3097 domain.visualise = visualise3098 3086 domain.time = 0. 3099 3087 from time import sleep … … 3105 3093 3106 3094 for t in domain.evolve(yieldstep = yiel, finaltime = final): 3107 if visualise: sleep(.03)3108 3095 #domain.write_time() 3109 3096 pass 3110 3097 3111 3098 domain2.smooth = True 3112 domain2.visualise = visualise3113 3099 domain2.store = False 3114 3100 domain2.default_order=2 … … 3128 3114 3129 3115 for t in domain2.evolve(yieldstep = yiel, finaltime = final): 3130 if visualise: sleep(.03)3131 3116 #domain2.write_time() 3132 3117 pass
Note: See TracChangeset
for help on using the changeset viewer.