Changeset 905


Ignore:
Timestamp:
Feb 17, 2005, 11:51:58 AM (20 years ago)
Author:
duncan
Message:

comments

File:
1 edited

Legend:

Unmodified
Added
Removed
  • inundation/ga/storm_surge/pyvolution/pmesh2domain.py

    r773 r905  
    3333    #(when I get around to it) so it should be removed from here. 
    3434   
     35    # This doesn't work on the domain instance.
     36    # This is still needed so -ve elevations don't cuase 'lakes'
     37    # The fixme we discussed was to only create a quantity when its values are set.
     38    # I think that's the way to go still
     39   
    3540    # set the water stage to be the elevation
    36     # This doesn't work on the domain instance.
    3741    if vertex_quantity_dict.has_key('elevation') and not vertex_quantity_dict.has_key('stage'):
    3842        vertex_quantity_dict['stage'] = vertex_quantity_dict['elevation']
     43       
    3944    domain.set_quantity_vertices_dict(vertex_quantity_dict)
    4045    #print "vertex_quantity_dict",vertex_quantity_dict
     
    102107#instead of having to be created here?
    103108
     109#This information is pyvolution focused, not mesh generation focused.
     110#This is an appropriate place for the info to be created. -DSG
     111
    104112#FIXME: Another issue is that the tsh file stores consecutive
    105113#indices explicitly. This is really redundant.
    106114#Suggest looking at obj and our own sww format and also consider
    107115#using netCDF.
     116
     117# It is redundant.  It was the format originally decided on.
     118# I'm happy for it to change. -DSG
    108119
    109120def pmesh_dict_to_marker_dict(mesh_dict):
Note: See TracChangeset for help on using the changeset viewer.