Ignore:
Timestamp:
Dec 22, 2004, 2:17:36 PM (20 years ago)
Author:
duncan
Message:

changed default external boundary from external to exterior

Location:
inundation/ga/storm_surge/pmesh
Files:
2 edited

Legend:

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

    r702 r714  
    2727
    2828# 1st and third values must be the same
    29 #initialconversions = ['internal', 'external','internal']
    3029# FIXME: maybe make this a switch that the user can change? - DSG
    31 initialconversions = ['', 'external','']
     30initialconversions = ['', 'exterior','']
    3231
    3332#from os import sep
     
    477476
    478477        #print "meshDict['segmentmarkerlist']", meshDict['segmentmarkerlist']
    479         #initialconversions = ['internal boundary', 'external boundary','internal boundary']
    480478        [meshDict['segmentmarkerlist'],
    481479         segconverter] =  segment_strings2ints(meshDict['segmentmarkerlist'],
  • inundation/ga/storm_surge/pmesh/meshHarness.py

    r702 r714  
    453453
    454454        seg = m.getMeshSegments()
    455         self.failUnless(seg[0].marker == "external" and
    456                         seg[1].marker == "external" and
    457                         seg[2].marker == "external" and
     455        self.failUnless(seg[0].marker == "exterior" and
     456                        seg[1].marker == "exterior" and
     457                        seg[2].marker == "exterior" and
    458458                        seg[3].marker == "" and
    459                         seg[4].marker == "external",
     459                        seg[4].marker == "exterior",
    460460                        '2nd seg markers are wrong')
    461461
     
    513513
    514514        self.failUnless(lFile[12] == "5 # <segment #> <vertex #>  <vertex #> [boundary marker] ...Triangulation Segments..." and
    515                         lFile[13] == "0 0 1 external" and
    516                         lFile[14] == "1 1 4 external" and
    517                         lFile[15] == "2 2 0 external" and
     515                        lFile[13] == "0 0 1 exterior" and
     516                        lFile[14] == "1 1 4 exterior" and
     517                        lFile[15] == "2 2 0 exterior" and
    518518                        lFile[16] == "3 0 3 " and
    519                         lFile[17] == "4 4 2 external" ,
     519                        lFile[17] == "4 4 2 exterior" ,
    520520                        'Ascii file is wrong, segment')
    521521       
     
    593593
    594594        self.failUnless(lFile[12] == "5 # <segment #> <vertex #>  <vertex #> [boundary marker] ...Triangulation Segments..." and
    595                         lFile[13] == "0 0 1 external" and
    596                         lFile[14] == "1 1 4 external" and
    597                         lFile[15] == "2 2 0 external" and
     595                        lFile[13] == "0 0 1 exterior" and
     596                        lFile[14] == "1 1 4 exterior" and
     597                        lFile[15] == "2 2 0 exterior" and
    598598                        lFile[16] == "3 0 3 " and
    599                         lFile[17] == "4 4 2 external" ,
     599                        lFile[17] == "4 4 2 exterior" ,
    600600                        'Ascii file is wrong, segment')
    601601       
Note: See TracChangeset for help on using the changeset viewer.