 Timestamp:
 Aug 5, 2010, 8:20:47 PM (13 years ago)
 File:

 1 edited
Legend:
 Unmodified
 Added
 Removed

trunk/anuga_work/development/sudi/sw_1d/periodic_waves/cg/domain.py
r7837 r7922 24 24 """ 25 25 26 from Numeric import array, zeros,Float, Int27 26 from Numeric import Float, Int 27 from numpy import array, zeros 28 28 from config import timestepping_method 29 29 from config import CFL … … 175 175 self.vertexlist is built 176 176 """ 177 from Numericimport array177 from numpy import array 178 178 179 179 vertexlist = [None]*len(self.coordinates) … … 322 322 self.element_tag is defined 323 323 """ 324 from Numeric import array, Int 324 from Numeric import Int 325 from numpy import array 325 326 326 327 if tagged_elements is None: … … 393 394 394 395 if obj is True: 395 from Numericimport concatenate, reshape396 from numpy import concatenate, reshape 396 397 V = self.vertices 397 398 N = V.shape[0] … … 412 413 """ 413 414 414 from Numeric import zeros, Float 415 from Numeric import Float 416 from numpy import zeros 415 417 q = zeros( len(self.conserved_quantities), Float) 416 418 for i, name in enumerate(self.conserved_quantities): … … 436 438 """ 437 439 438 from Numeric import zeros, Float 440 from Numeric import Float 441 from numpy import zeros 439 442 q = zeros( len(self.evolved_quantities), Float) 440 443 … … 1078 1081 """ 1079 1082 import copy 1080 from Numeric import zeros,Float 1083 from Numeric import Float 1084 from numpy import zeros 1081 1085 1082 1086 N = self.number_of_elements … … 1136 1140 """ 1137 1141 import copy 1138 from Numeric import zeros,Float 1142 from Numeric import Float 1143 from numpy import zeros 1139 1144 1140 1145 N = self.number_of_elements … … 1354 1359 """ 1355 1360 1356 from Numeric import ones, sum, equal, Float 1361 from Numeric import Float 1362 from numpy import ones, sum, equal 1357 1363 1358 1364 N = self.number_of_elements
Note: See TracChangeset
for help on using the changeset viewer.