Changeset 405 for inundation/ga/storm_surge/pyvolution/least_squares.py
- Timestamp:
- Oct 15, 2004, 9:12:12 AM (20 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
inundation/ga/storm_surge/pyvolution/least_squares.py
r399 r405 64 64 65 65 # load in the .xya file 66 print point_file,mesh_file,alpha67 68 66 69 67 point_dict = load_xya_file(point_file) … … 178 176 """Build final coefficient matrix 179 177 """ 180 181 self.build_smoothing_matrix_D() 178 if self.alpha <> 0: 179 self.build_smoothing_matrix_D() 180 182 181 183 182 if point_coordinates: 184 183 self.build_interpolation_matrix_A(point_coordinates) 185 184 AtA = dot(self.At, self.A) 186 self.B = AtA + self.alpha*self.D 185 186 if self.alpha <> 0: 187 self.B = AtA + self.alpha*self.D 188 else: 189 self.B = AtA 187 190 188 191
Note: See TracChangeset
for help on using the changeset viewer.