Ignore:
Timestamp:
Aug 8, 2009, 2:19:58 AM (16 years ago)
Author:
ole
Message:

More refactoring in preparation for ticket:191
These are mostly simplifications of sww file creation

File:
1 edited

Legend:

Unmodified
Added
Removed
  • anuga_core/source/anuga/damage_modelling/test_inundation_damage.py

    r7276 r7340  
    1515from anuga.shallow_water import Domain, Transmissive_boundary
    1616from anuga.utilities.numerical_tools import mean
    17 from anuga.shallow_water.data_manager import get_dataobject
     17from anuga.shallow_water.data_manager import SWW_file
    1818
    1919import numpy as num
     
    112112        self.domain.reduction = mean
    113113
    114         sww = get_dataobject(self.domain)
     114        sww = SWW_file(self.domain)
    115115        sww.store_connectivity()
    116116        sww.store_timestep(['stage', 'xmomentum', 'ymomentum'])
     
    182182        domain.reduction = mean
    183183
    184         sww = get_dataobject(domain)
     184        sww = SWW_file(domain)
    185185        sww.store_connectivity()
    186186        sww.store_timestep(['stage', 'xmomentum', 'ymomentum'])
     
    282282        domain.reduction = mean
    283283
    284         sww = get_dataobject(domain)
     284        sww = SWW_file(domain)
    285285        sww.store_connectivity()
    286286        sww.store_timestep(['stage', 'xmomentum', 'ymomentum'])
     
    354354        domain.reduction = mean
    355355
    356         sww = get_dataobject(domain)
     356        sww = SWW_file(domain)
    357357        sww.store_connectivity()
    358358        sww.store_timestep(['stage', 'xmomentum', 'ymomentum'])
Note: See TracChangeset for help on using the changeset viewer.