Changeset 559
 Timestamp:
 Nov 16, 2004, 3:11:13 PM (19 years ago)
 File:

 1 edited
Legend:
 Unmodified
 Added
 Removed

inundation/ga/storm_surge/analytical solutions/Analytical_solution_Sampson_import_mesh.py
r558 r559 23 23 sys.path.append('..'+sep+'pyvolution') 24 24 25 from shallow_water import Domain, Dirichlet_boundary 25 from shallow_water import Domain, Dirichlet_boundary, gravity, linear_friction 26 26 from math import sqrt, cos, sin, pi, exp 27 27 from mesh_factory import strang_mesh … … 42 42 43 43 domain.quantities['linear_friction'] = Quantity(domain) 44 domain. set_quantity('friction', 0.0)45 #del domain.quantities['friction'] 44 domain.forcing_terms.append(linear_friction) 45 del domain.forcing_terms[1] #Get rid of manning friction 46 46 47 #domain.forcing_terms = [] 48 #domain.forcing_terms.append(gravity) 49 #domain.forcing_terms.append(linear_friction) 50 51 print domain.forcing_terms 47 52 48 53 # Provide file name for storing output
Note: See TracChangeset
for help on using the changeset viewer.