Changeset 234 for inundation/ga/storm_surge/pyvolution/quantity.py
- Timestamp:
- Aug 27, 2004, 4:33:24 PM (21 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
inundation/ga/storm_surge/pyvolution/quantity.py
r229 r234 183 183 x2, y2 = self.domain.centroids[k2] #V2 centroid 184 184 185 #if k < 4:186 # print 'k, k0, k1, k2 = %d, %d, %d, %d' %(k, k0, k1, k2)187 # #print 'k = %d: (%f, %f), (%f, %f), (%f, %f)'\188 # # %(k, x0, y0, x1, y1, x2, y2)189 # print 'k = %d: (%f, %f, %f)' %(k, q0, q1, q2)190 191 185 #Gradient 192 186 a[k], b[k] = gradient(x0, y0, x1, y1, x2, y2, q0, q1, q2) … … 220 214 dq[:,i] = qv[:,i] - qc 221 215 222 #Find min and max at this and neighbour's centroids216 #Find min and max of this and neighbour's centroid values 223 217 qmax = zeros(qc.shape, Float) 224 218 qmin = zeros(qc.shape, Float) … … 275 269 276 270 a, b = self.compute_gradients() 277 ##for k in range(4):278 ## print 'Gradients %d: %16.12f, %16.12f' %(k, a[k], b[k])279 271 280 272 V = self.domain.get_vertex_coordinates()
Note: See TracChangeset
for help on using the changeset viewer.