- Timestamp:
- Jun 10, 2008, 4:05:44 PM (15 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
anuga_work/development/convergence_okushiri_2008/run_okushiri_truescale.py
r5343 r5396 40 40 print domain.statistics() 41 41 42 z = domain.get_vertex_coordinates() 42 43 44 # Write vertex coordinates to file 45 filename='okushiri_mesh_vertex_coordinates_truescale.txt' 46 fid=open(filename,'w') 47 fid.write('x (m), y (m)\n') 48 for i in range(len(z)): 49 pt=z[i] 50 x=pt[0] 51 y=pt[1] 52 fid.write('%.6f, %.6f\n' %(x, y)) 53 43 54 #------------------------- 44 55 # Initial Conditions … … 57 68 #------------------------- 58 69 domain.set_name(project_truescale.output_filename) # Name of output sww file 70 domain.set_datadir(project_truescale.output_dir) 59 71 domain.set_default_order(2) # Apply second order scheme 60 72 domain.set_all_limiters(0.9) # Max second order scheme (old lim)
Note: See TracChangeset
for help on using the changeset viewer.