Ignore:
Timestamp:
Mar 5, 2013, 2:40:28 PM (12 years ago)
Author:
steve
Message:

Moving the documentation to a higher level

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/anuga_core/source/anuga/file/sww.py

    r8662 r8726  
    300300                #
    301301                # 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
    303307           
    304308                Q = domain.quantities['stage']
     
    543547        # dimension definitions
    544548        outfile.createDimension('number_of_volumes', number_of_volumes)
     549        outfile.createDimension('number_of_triangle_vertices', number_of_points)
    545550        outfile.createDimension('number_of_vertices', 3)
    546551        outfile.createDimension('numbers_in_range', 2)
     
    708713        # variable definitions
    709714        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',))
    711716        outfile.createVariable('tri_full_flag', netcdf_int, ('number_of_volumes',))
    712717
     
    717722        outfile.variables['tri_l2g'][:] = tri_l2g.astype(num.int32)
    718723
    719         #print node_l2g.shape
     724        print node_l2g.shape
    720725        #print node_l2g
    721         #print outfile.variables['node_l2g'].shape
     726        print outfile.variables['node_l2g'].shape
    722727
    723728        outfile.variables['node_l2g'][:] = node_l2g.astype(num.int32)
Note: See TracChangeset for help on using the changeset viewer.