Changeset 274 for inundation/ga/storm_surge/pyvolution/domain.py
- Timestamp:
- Sep 6, 2004, 1:57:41 PM (21 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
inundation/ga/storm_surge/pyvolution/domain.py
r272 r274 219 219 220 220 221 def get_name(self): 222 return self.filename 223 221 224 222 225 … … 316 319 317 320 def evolve_to_end(self, finaltime = 1.0): 318 """Iterate evolve generatorall the way to the end321 """Iterate evolve all the way to the end 319 322 """ 320 323 … … 393 396 def compute_forcing_terms(self): 394 397 """If there are any forcing functions driving the system 395 they should be defined in Domain subclass 398 they should be defined in Domain subclass and appended to 399 the list self.forcing_terms 396 400 """ 397 401 … … 421 425 422 426 #Clean up 427 #Note that Q.explicit_update is reset by compute_fluxes 423 428 Q.semi_implicit_update[:] = 0.0 424 Q.explicit_update[:] = 0.0 #Unnecessary as fluxes will set it 429 425 430 426 431 … … 449 454 ############################################## 450 455 #Initialise module 451 452 #C-extensions453 #import compile454 #if compile.can_use_C_extension('domain_ext.c'):455 # compute_fluxes = compute_fluxes_c456 #distribute_to_vertices_and_edges = distribute_to_vertices_and_edges_c457 #update_conserved_quantities = update_conserved_quantities_c458 #else:459 # from shallow_water import compute_fluxes460 #from python_versions import distribute_to_vertices_and_edges461 #from python_versions import update_conserved_quantities462 463 456 464 457 #Optimisation with psyco
Note: See TracChangeset
for help on using the changeset viewer.