Changeset 304
- Timestamp:
- Sep 15, 2004, 2:23:04 PM (20 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
inundation/ga/storm_surge/pyvolution/least_squares.py
r303 r304 75 75 76 76 77 #Check that this tri nagle contains data point77 #Check that this triangle contains data point 78 78 if sigma0 >= 0 and sigma1 >= 0 and sigma2 >= 0: 79 79 80 80 #Assign values to matrix 81 v_id = self.vertices[k,0]82 self.matrix[i, v_id] = sigma081 j = self.vertices[k,0] #Global vertex id 82 self.matrix[i, j] = sigma0 83 83 84 v_id = self.vertices[k,1]85 self.matrix[i, v_id] = sigma184 j = self.vertices[k,1] #Global vertex id 85 self.matrix[i, j] = sigma1 86 86 87 v_id = self.vertices[k,2]88 self.matrix[i, v_id] = sigma287 j = self.vertices[k,2] #Global vertex id 88 self.matrix[i, j] = sigma2 89 89 90 90
Note: See TracChangeset
for help on using the changeset viewer.