Changeset 1069


Ignore:
Timestamp:
Mar 14, 2005, 9:34:53 AM (20 years ago)
Author:
duncan
Message:

minor changes

File:
1 edited

Legend:

Unmodified
Added
Removed
  • inundation/ga/storm_surge/pmesh/mesh.py

    r1039 r1069  
    128128    def __init__(self,X,Y, attributes = None):
    129129        __slots__ = ['x','y','attributes']
    130         assert (type(X) == types.FloatType)
     130       
     131        assert (type(X) == types.FloatType or type(X) == types.IntType)
     132        assert (type(Y) == types.FloatType or type(Y) == types.IntType)
    131133        self.x=X
    132134        self.y=Y       
     
    537539        PreCondition: maxArea is a double
    538540        """
     541        print "mode ",mode
    539542        if mode == None:
    540543            self.mode = ""
     
    16711674        load_mesh.loadASCII.export_mesh_file(ofile,dict)
    16721675
    1673      #      not used
     1676    # is this function obsolete?
    16741677    def writeASCIImesh(self,
    16751678                       fd,
Note: See TracChangeset for help on using the changeset viewer.