Changeset 407
- Timestamp:
- Oct 15, 2004, 12:14:48 PM (19 years ago)
- Location:
- inundation/ga/storm_surge/pmesh
- Files:
-
- 5 edited
Legend:
- Unmodified
- Added
- Removed
-
inundation/ga/storm_surge/pmesh/documentation/issues.txt
r392 r407 22 22 Using a 100 * 100 domain, a max triangle area of 0.01 produced 23 23 1,048,576 triangles. 24 25 Issue: The default region button cannot be selected after loading a file.26 Reason: Unknown.27 Importance: Low28 24 29 25 Issue: The mesh produced by triangle isn't of high quality near a low … … 117 113 CLOSED - issues that have beeen resolved 118 114 ************ 115 116 Issue: The default region button cannot be selected after loading a file. 117 Reason: Unknown. 118 Importance: Low 119 119 120 Issue: The vertices were being sorted when loading .xya files 120 121 Time to complete : 5hrs -
inundation/ga/storm_surge/pmesh/mesh.py
r404 r407 962 962 #segment marker list: [S1Marker, S2Marker, ...] (list of ints) 963 963 """ 964 965 print "@#@#@#"966 print outlineDict967 print "@#@#@#"968 964 969 965 localUserVertices = [] -
inundation/ga/storm_surge/pmesh/meshHarness.py
r406 r407 840 840 841 841 842 def test_ removeDuplicatedVertices(self):842 def test_ungenerateFileLoading(self): 843 843 844 844 fileName = tempfile.mktemp(".txt") … … 873 873 m = Mesh(userVertices=[a,b,c,d], userSegments=[s1,s2,s3,s4]) 874 874 dict = importUngenerateFile(fileName) 875 876 tag = "DSG" 877 Segment.set_default_tag(tag) 875 878 m.addVertsSegs(dict) 879 880 # have to reset this , since it's a class attribute 881 Segment.set_default_tag("") 876 882 877 883 self.failUnless(len(m.userSegments) ==11, 878 ' Segments not deleted.')884 'Wrong segment list length.') 879 885 self.failUnless(len(m.userVertices) == 11, 880 ' Vertex deleted, instead of segment.')886 'Wrong vertex list length.') 881 887 self.failUnless(m.userSegments[10].vertices[0] == m.userVertices[10], 882 ' Vertex deleted, instead ofsegment.')888 'bad vertex on segment.') 883 889 self.failUnless(m.userSegments[10].vertices[1] == m.userVertices[8], 884 'Vertex deleted, instead of segment.') 890 'Bad segment.') 891 self.failUnless(m.userSegments[10].marker == tag, 892 'wrong tag.') 885 893 886 894 #------------------------------------------------------------- -
inundation/ga/storm_surge/pmesh/pmesh.py
r404 r407 5 5 import mesh 6 6 from Tkinter import FALSE,TRUE, Frame,X, LEFT,YES,BOTH,ALL,Widget,CURRENT, Label,W, Entry, E, StringVar, END 7 from cursornames import TLC,TRC, BLC, BRC, TS, RS, LS, BS7 #from cursornames import TLC,TRC, BLC, BRC, TS, RS, LS, BS 8 8 from tkMessageBox import showerror, _show, QUESTION,YESNOCANCEL 9 9 import types … … 154 154 statushelp='') 155 155 t.cycle("DrawMode") 156 if key == 'pointer': #FIXME - this is specified in line 925 as well 156 if key == 'pointer': #FIXME- this is specified in line 1062 as well 157 # self.selectFunc('pointer') 157 158 self.curFunc = self.drawVertex 158 159 t.setInitialSunkenButton("DrawMode") … … 885 886 self.currentFilePathName = ofile 886 887 self.clearMesh() 887 self.initData()888 888 self.mesh = newmesh 889 889 self.visualiseMesh(self.mesh) … … 1001 1001 Initialise various lists and flags 1002 1002 """ 1003 self.curModeClass= None #mesh.Vertex?1004 1003 self.serial = 1000 1005 1004 self.currentFilePathName = 'untitled' -
inundation/ga/storm_surge/pmesh/visualmesh.py
r349 r407 68 68 return VMesh([self,other]) 69 69 70 def __repr__(self): 71 return str(self.__class__) 70 72 71 73 class vPoints(vAbstract):
Note: See TracChangeset
for help on using the changeset viewer.