Changeset 7922 for trunk/anuga_work/development/sudi/sw_1d/periodic_waves/cg/generic_boundary_conditions.py
 Timestamp:
 Aug 5, 2010, 8:20:47 PM (14 years ago)
 File:

 1 edited
Legend:
 Unmodified
 Added
 Removed

trunk/anuga_work/development/sudi/sw_1d/periodic_waves/cg/generic_boundary_conditions.py
r7837 r7922 43 43 self.velocity = domain.quantities['velocity'].vertex_values 44 44 45 from Numeric import zeros, Float 45 from Numeric import Float 46 from numpy import zeros 46 47 self.evolved_quantities = zeros(5, Float) 47 48 … … 103 104 raise msg 104 105 105 from Numeric import array, Float 106 from Numeric import Float 107 from numpy import array 106 108 self.conserved_quantities=array(conserved_quantities).astype(Float) 107 109 … … 132 134 133 135 134 from Numeric import array, Float 136 from Numeric import Float 137 from numpy import array 135 138 try: 136 139 q = array(q).astype(Float) … … 173 176 def __init__(self, filename, domain): 174 177 import time 175 from Numericimport array178 from numpy import array 176 179 from config import time_format 177 180 from util import File_function … … 223 226 def __init__(self, filename, domain, verbose = False): 224 227 import time 225 from Numeric import array, zeros, Float 228 from Numeric import Float 229 from numpy import array, zeros 226 230 from config import time_format 227 231 from util import file_function … … 421 425 def __init__(self, domain = None, filename = None): 422 426 import time 423 from Numericimport array427 from numpy import array 424 428 from config import time_format 425 429 … … 479 483 480 484 def read_time_boundary(self): 481 from Numeric import zeros, Float, alltrue 485 from Numeric import Float 486 from numpy import zeros, alltrue 482 487 from config import time_format 483 488 import time
Note: See TracChangeset
for help on using the changeset viewer.