Changeset 4454


Ignore:
Timestamp:
May 16, 2007, 3:00:39 PM (17 years ago)
Author:
duncan
Message:

Maybe unstable

File:
1 edited

Legend:

Unmodified
Added
Removed
  • anuga_core/source/anuga/shallow_water/shallow_water_domain.py

    r4438 r4454  
    107107class Domain(Generic_Domain):
    108108
     109    conserved_quantities = ['stage', 'xmomentum', 'ymomentum']
     110    other_quantities = ['elevation', 'friction']
     111   
    109112    def __init__(self,
    110113                 coordinates=None,
     
    125128
    126129
    127         conserved_quantities = ['stage', 'xmomentum', 'ymomentum']
    128130        other_quantities = ['elevation', 'friction']
    129131        Generic_Domain.__init__(self,
     
    131133                                vertices,
    132134                                boundary,
    133                                 conserved_quantities,
    134                                 other_quantities,
     135                                Domain.conserved_quantities,
     136                                Domain.other_quantities,
    135137                                tagged_elements,
    136138                                geo_reference,
Note: See TracChangeset for help on using the changeset viewer.