Changeset 714 for inundation/ga/storm_surge
- Timestamp:
- Dec 22, 2004, 2:17:36 PM (20 years ago)
- Location:
- inundation/ga/storm_surge/pmesh
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
inundation/ga/storm_surge/pmesh/mesh.py
r702 r714 27 27 28 28 # 1st and third values must be the same 29 #initialconversions = ['internal', 'external','internal']30 29 # FIXME: maybe make this a switch that the user can change? - DSG 31 initialconversions = ['', 'exter nal','']30 initialconversions = ['', 'exterior',''] 32 31 33 32 #from os import sep … … 477 476 478 477 #print "meshDict['segmentmarkerlist']", meshDict['segmentmarkerlist'] 479 #initialconversions = ['internal boundary', 'external boundary','internal boundary']480 478 [meshDict['segmentmarkerlist'], 481 479 segconverter] = segment_strings2ints(meshDict['segmentmarkerlist'], -
inundation/ga/storm_surge/pmesh/meshHarness.py
r702 r714 453 453 454 454 seg = m.getMeshSegments() 455 self.failUnless(seg[0].marker == "exter nal" and456 seg[1].marker == "exter nal" and457 seg[2].marker == "exter nal" and455 self.failUnless(seg[0].marker == "exterior" and 456 seg[1].marker == "exterior" and 457 seg[2].marker == "exterior" and 458 458 seg[3].marker == "" and 459 seg[4].marker == "exter nal",459 seg[4].marker == "exterior", 460 460 '2nd seg markers are wrong') 461 461 … … 513 513 514 514 self.failUnless(lFile[12] == "5 # <segment #> <vertex #> <vertex #> [boundary marker] ...Triangulation Segments..." and 515 lFile[13] == "0 0 1 exter nal" and516 lFile[14] == "1 1 4 exter nal" and517 lFile[15] == "2 2 0 exter nal" and515 lFile[13] == "0 0 1 exterior" and 516 lFile[14] == "1 1 4 exterior" and 517 lFile[15] == "2 2 0 exterior" and 518 518 lFile[16] == "3 0 3 " and 519 lFile[17] == "4 4 2 exter nal" ,519 lFile[17] == "4 4 2 exterior" , 520 520 'Ascii file is wrong, segment') 521 521 … … 593 593 594 594 self.failUnless(lFile[12] == "5 # <segment #> <vertex #> <vertex #> [boundary marker] ...Triangulation Segments..." and 595 lFile[13] == "0 0 1 exter nal" and596 lFile[14] == "1 1 4 exter nal" and597 lFile[15] == "2 2 0 exter nal" and595 lFile[13] == "0 0 1 exterior" and 596 lFile[14] == "1 1 4 exterior" and 597 lFile[15] == "2 2 0 exterior" and 598 598 lFile[16] == "3 0 3 " and 599 lFile[17] == "4 4 2 exter nal" ,599 lFile[17] == "4 4 2 exterior" , 600 600 'Ascii file is wrong, segment') 601 601
Note: See TracChangeset
for help on using the changeset viewer.