Changeset 8726 for trunk/anuga_core/source/anuga/file/sww.py
- Timestamp:
- Mar 5, 2013, 2:40:28 PM (12 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/anuga_core/source/anuga/file/sww.py
r8662 r8726 300 300 # 301 301 # In this branch it is assumed that elevation 302 # is also available as a quantity 302 # is also available as a quantity 303 304 305 # Smoothing for the get_vertex_values will be obtained 306 # from the smooth setting in domain 303 307 304 308 Q = domain.quantities['stage'] … … 543 547 # dimension definitions 544 548 outfile.createDimension('number_of_volumes', number_of_volumes) 549 outfile.createDimension('number_of_triangle_vertices', number_of_points) 545 550 outfile.createDimension('number_of_vertices', 3) 546 551 outfile.createDimension('numbers_in_range', 2) … … 708 713 # variable definitions 709 714 outfile.createVariable('tri_l2g', netcdf_int, ('number_of_volumes',)) 710 outfile.createVariable('node_l2g', netcdf_int, ('number_of_ points',))715 outfile.createVariable('node_l2g', netcdf_int, ('number_of_triangle_vertices',)) 711 716 outfile.createVariable('tri_full_flag', netcdf_int, ('number_of_volumes',)) 712 717 … … 717 722 outfile.variables['tri_l2g'][:] = tri_l2g.astype(num.int32) 718 723 719 #print node_l2g.shape724 print node_l2g.shape 720 725 #print node_l2g 721 #print outfile.variables['node_l2g'].shape726 print outfile.variables['node_l2g'].shape 722 727 723 728 outfile.variables['node_l2g'][:] = node_l2g.astype(num.int32)
Note: See TracChangeset
for help on using the changeset viewer.