Changeset 560


Ignore:
Timestamp:
Nov 16, 2004, 3:13:03 PM (20 years ago)
Author:
ole
Message:

Better way of setting up linear friction

File:
1 edited

Legend:

Unmodified
Added
Removed
  • inundation/ga/storm_surge/analytical solutions/Analytical_solution_Sampson_import_mesh.py

    r559 r560  
    4242
    4343domain.quantities['linear_friction'] = Quantity(domain)
     44
     45#Reconstruct forcing terms with linear friction instead og manning friction
     46domain.forcing_terms = []
     47domain.forcing_terms.append(gravity)
    4448domain.forcing_terms.append(linear_friction)
    45 del domain.forcing_terms[1] #Get rid of manning friction
    46 
    47 #domain.forcing_terms = []
    48 #domain.forcing_terms.append(gravity)
    49 #domain.forcing_terms.append(linear_friction)
    5049
    5150print domain.forcing_terms
Note: See TracChangeset for help on using the changeset viewer.